Jump to content
  • Advertisement
Sign in to follow this  
Hannesnisula

skeletal animation math

This topic is 3494 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 want to know the math behind skeletal animation to create my own animation system and ragdolls. I know it's matrices but i.e. I don't know how to calculate a matrix to move from 1 animation to another, for smooth transitions. Any book or tutorial that would explain this?

Share this post


Link to post
Share on other sites
Advertisement
Do you use quaternions to describe joint rotation?

I might be wrong on this, but It might be easier to interpolate quaternions and turn them into matrices as soon as you need those. As far as i know, this is how skeletal animation is generally implemented.

Maybe this will be usefull:

http://www.gamedev.net/community/forums/topic.asp?topic_id=474656

Share this post


Link to post
Share on other sites
This might get you started. Keep everything as Pos+Quats for as long as possible (i.e. you can't blend matrices unless you convert them back to pos+quats). If you can interpolate between 2 key-frames, you can interpolate between 2 animations....

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!