Jump to content
  • Advertisement
Sign in to follow this  
endrollex

What is the definition of the position of a bone?

This topic is 1466 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

Hello,

I am doing export work from Blender to DX.

According a book(Frank Luna DX11) it needs animation data, it wrote: Each key frame stores the time position, the translation vector specifying the position of the bone, the scaling vector specifying the bone scale, and the quaternion specifying the orientation of the bone.

 

What is the definition of the position of a bone?

The book is not say any more about the position. In Blender's data, I found it's bone has head, tail, center position, which one is for the animation data do translation vector work? or arbitrarily?

 

Thanks.

Edited by endrollex

Share this post


Link to post
Share on other sites
Advertisement

Generally the bones translation (the translation you store, lerp) is local/relative to the bones parent bone, if there is no parent bone its local = world. You would transform a bones local transform by its parents world transform to create its world transform, and then use the result for skinning.

As for blenders terminology Im not sure, local = tail? maybe? I find the term bone confusing, it implies two end points, when modeling packages tend to view them as transform nodes with an optional parent node. Nothing says you cant have a single bone-node-transform, attach a model to it and animate it.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!