Jump to content
  • Advertisement
Sign in to follow this  
SoulSharer

3D Skeletal Animation

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

Trying to make my skeletal animation to work I came into the state of confusion and misunderstanding.
I know that this topic is not new and there are plenty of those everywhere, yet they don't answer some of my
questions or sometimes they bring even more confusion. I'm sorry about starting a new though, I hope you
understand.

I'm working on CPU skinning and using Direct3D10 with C++
I know how skinning works, you create a mesh in 3ds max (for example) then u create bones hierarchy and assign
vertices to the bones with weight (which contains influence value). Vertex may have more than one weight.
Knowing that I export skeletal hierarchy with custom plugin from 3ds max, then I export vertices with associated
weight, however I'm not sure how to export bone's (joint's) orientation (quaternion) and translation (vector3) and
how to use them in the game. (then I might need a scale as well I guess)

All I know is that I should export bones with local space tranformation and then in the game I must multiply them
by parent bones with influence (from weight) to get a World tranformation for the bone. Then I use this world
tranformation to move vertices.

But some resources say I must also export bind pose and somehow multiply my bones tranformation by inverse
transformation of this bind pose. So this is what makes me confused, what should I do?

1. What do I need to export from 3ds max in order to get my skeletal animation working?
2. Do I need to export local tranformations of each bone?
3. Do I need to export bind pose? And if so, how would I use it?
4. How would I calculate world matricies of the bones? (in order to use them on my verticies)

So if you could help I would really appreciate that.

Thanks! Edited by SoulSharer

Share this post


Link to post
Share on other sites
Advertisement
Try this post...

http://www.gamedev.net/topic/624013-bones-animation-matrices-and-calculations/page__pid__4939666#entry4939666

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!