PDA

View Full Version : MB .bvh files


kflich
07-30-2003, 09:57 PM
iv'e been trying to make motion builder .bvh files usable in blender (since blender has a game engine but not so good animating tools) but ran into some problems. the .bvh files exported from MB have some kind of strange addition to some coordinates like e-014 or e-08 and so on (i.e 0.334 2.55 1.66e-014) thats scew all the bone positions. iv'e made an identical skeleton in blender and used an import script that has prooven to work with other .bvh files ( it works with poser files, all one needs to do is make sure no value has more then 2 decimal places, which i do with a word macro, but thats irellevant). does anyone has a slight understanding of the .bvh structure and knows what this means ? i read several articles about the .bvh file structure on the web, but found no indication for that e-012 thingy ... any insight is welcomed !

/me is not a programmer but tries his best to make sense of these things :shrug:

frigger
07-30-2003, 10:43 PM
The e-08 is scientific number format e.g. 1.66e-014 is 0.00000000000000166 in standrad format. if you are dealing with only 2 decimal places you could round the above number to 0.00.


Hope this helps

FR.

kflich
07-30-2003, 11:10 PM
wow. it was that simple. thanx alot ! i suck at math ... never knew that one. anyways, i'm gonna try it right now, hope for spme good results !

CGTalk Moderation
01-15-2006, 06:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.