converting x-y-z position data of body joints to bvh format

568 views
Skip to first unread message

Han

unread,
Mar 30, 2012, 5:09:58 PM3/30/12
to bvhacker
Hi bvh experts,

I am trying to find out if there is a way to convert datasets having
3D positions of body joints to bvh file format (i.e., Euler angles). I
am working on estimating the 3D locations of body joints with videos,
and I am wondering if it is possible to create a bvh file when 3D
locations are computed. I can calculate two Euler angles (e.g., yaw,
pitch) but not the other angle (e.g., roll) with the position
datasets. Could you please let me know if you have any idea?

Thanks,
Han.

Dave Wooldridge

unread,
Mar 31, 2012, 12:36:12 AM3/31/12
to bvha...@googlegroups.com
Your way forward, for best results, I think is to use quaternions - although other members may have a better idea. 

Quats will allow you to mathematically do the conversion you need. But pay attention to rotation orders in your results!

Although it's best to try to understand them as much as possible, you don't need to completely understand quats (nobody can really think in 4 dimensions), just how to use them. Understanding = difficult. Using = easy. Depending on your development environment / language, you may be able to find a simple to use, well documented quaternion math library.

Good luck!

 - Davedub

Devendra Dhaka

unread,
Dec 29, 2018, 2:12:58 AM12/29/18
to bvhacker
Hey Han,

Perhaps this thread is dead, but I was wondering if you have found a way to convert 3d joints to bvh.
Reply all
Reply to author
Forward
0 new messages