• Advertisement
Sign in to follow this  

animation keyframes

This topic is 4309 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 reading the keyframes from tiny's standard walk animation. I noticed that each keyframe just contains a transformation matrix. When dealing with animation I should do interpolations on the translation, scaling vectors and rotation quaternion. How do I get this from the transformation matrix supplied in the keyframes?

Share this post


Link to post
Share on other sites
Advertisement
Use the D3DXMatrixDecompose function to extract the SRT values.

Share this post


Link to post
Share on other sites
Ah, thanks a bunch! I knew there probably was some D3DX function for it.

Edit: And now my animation interpolation works like a charm, btw! =)

Share this post


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

  • Advertisement