Tell me more ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I have the 3d global positions of a set of joints as they move over time and the ik skeleton structure which relates them. I am currently writing some code to convert this information in .bvh file. I understand the .bvh structure, but what I need to do for each frame is convert the global coordinates into a series of local matrices which represent the transformation to "move" from parent to child for each node.

What I don't know how to do is calculate the local matrix for the transformation for instance to go from

rootNode = (Rx,Ry,Rz) and lets presume that initial orientation is in line with the global axes

to

child1 = (Cx,Cy,Cz)

and so on.

Any help much appreciated.

share|improve this question
I don't understand what you're asking for. What is the input and what is the desired output? Can you give some examples? Do I need to know what an IK skeleton is to answer this question? – Qiaochu Yuan Jun 15 '12 at 14:45

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.