What's wrong with BVH?

Discussion about everything. New games, 3d math, development tips...
Post Reply
Nodtveidt
Posts: 67
Joined: Fri Dec 15, 2006 4:41 am
Location: Isabela, PR
Contact:

What's wrong with BVH?

Post by Nodtveidt »

I've seen several instances where forum-dwellers have complained that BVH is an "inferior" format. My question is...why? I'm not for or against using it, I just want to know details on why this isn't a favored format...
We all live in a yellow subroutine.

(\__/)
(='.'=) Copy bunny into your signature to
(")_(") help him gain world domination.
omaremad
Competition winner
Posts: 1027
Joined: Fri Jul 15, 2005 11:30 pm
Location: Cairo,Egypt

Post by omaremad »

Isnt bvh just for animation? wll its mostly captured stuff from real life which isnt good for games unless you hired a studio just for capturing you own game moves.
"Irrlicht is obese"

If you want modern rendering techniques learn how to make them or go to the engine next door =p
Nodtveidt
Posts: 67
Joined: Fri Dec 15, 2006 4:41 am
Location: Isabela, PR
Contact:

Post by Nodtveidt »

Yeah, it's used for model animation. I use the format with a couple of programs. But I'm just wondering why many people consider it to be so "bad", and if there are better alternatives...the first question being more important, though.
We all live in a yellow subroutine.

(\__/)
(='.'=) Copy bunny into your signature to
(")_(") help him gain world domination.
sio2
Competition winner
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Post by sio2 »

Nodtveidt wrote:Yeah, it's used for model animation. I use the format with a couple of programs. But I'm just wondering why many people consider it to be so "bad", and if there are better alternatives...the first question being more important, though.
I wrote the BVH importer for MilkShape so I know a bit about the format. The main issue is that the joint rotations are in Euler angles and can be in any order (the order of rotations is important for Euler angles). This is no problem if the app loading the file supports arbitary rotation order, takes matrices (so you can concatenate the rotations in the correct order and pass the matrix to the app) or takes quaternions. An app like MilkShape only takes Euler angles and has a fixed XYZ rotation order which is why some bvh files don't load correctly.
Post Reply