Jump to content
  • Advertisement
Sign in to follow this  

bvh auto-retargetting

This topic is 973 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am working on some bvh retargetting task now.
Currently, I am just testing the hips rotation after
mapping the bone from the bvh to my frame hierarchy.

Here are the initial bvh figures

gsrc X:-0.400532 Y:-0.551961 Z:0.428561 W:0.592663
protSrc X:-0 Y:-0 Z:-0 W:1

gsrc is for global rotation of the hips
protSrc is for local rotation of it.
And I get this image after rendering

[attachment=31486:2016-04-11 15_17_14-TestSB.png]
I see it is rotating sideways,
and the original bvh is just standing, just some idling pose
slightly swaying his hands or something, no big motions
So I would think the Quaternion is not correct
I can tell you that the original angle of rotations is as follows:
-71.42 -77.34 11.92
x      y      z
So is it compatible with DirectX?

Edited by lucky6969b

Share this post

Link to post
Share on other sites

How do you calculate the quaternion? Do you have a yaw pitch roll to quaternion function or something? Secondly, are all the other joints parenting the hip rotation? If so, the rotation of the hips shouldn't make the pose twisted as it's the root.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!