Losing a bone importing bvh mocap

   4092   1   1
User Avatar
Member
306 posts
Joined: July 2005
Offline
Hi guys,

I'm playing around with some .bhv biovision motion capture files and bringing them into houdini. I may be missing something obvious but it seems to be losing the last bone at the end of each heirachy branch…

In the .bvh file it describes a tree of joints listed as:
LeftHip -> LeftKnee -> LeftAnkle -> End site
Each of those joints has an offset which is essentially the bone length.

I run the mcbiovision program over this .bvh and cmdread the generated .cmd file. The script creates the bones that connect the joints as:

Hips_To_LeftHip -> LeftHip_To_LeftKnee -> LeftKnee_To_LeftAnkle

And the correct animation (rotation) channels are read in through the .bclip and exported from chops to these bones. All good. Except, I'd expect another bone called something like LeftAnkle_To_EndSite, which would be the foot. It would have the rotations of LeftAnkle from the .bvh file.

I think I could write a perl script to add an extra bone at the end of each chain in the .bvh file, as well as buffering the channel data lines. But I don't want to go to that hassle if it's a simple bug or I'm using the script incorrectly.

The heirachy the cmdread creates is the same if I use noK, FK or IK.

Anyone else been here?

Beers,
Rangi.
“First things first – but not necessarily in that order”
– The Doctor
User Avatar
Member
412 posts
Joined: July 2005
Offline
hey rangi,

replied to you over at odforce:


http://odforce.net/forum/index.php?showtopic=2654&st=0&p=16997&#entry16997 [odforce.net]
Dave Quirus
  • Quick Links