Sign in to follow this  
endrollex

What is the definition of the position of a bone?

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this