Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


X File - transforming a skinned mesh

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

Alright, a skinned mesh in an x file has matrices in 3 different nodes, the Frame, SkinWeights, and AnimationKey. Could someone tell me the multiplication order for these matrices if I were to render each mesh subset manually. I''m not interested in using the provided mesh APIs since I''m trying to convert the x file data to my own format. The one that is tripping me up is the AnimationKey. Is each animation key combined with its parent, do they need to be multiplied with the Frame matrix?? I''ve tried just about every combo I can think of and nothing seems to give the right results. I have noticed that rendering with only the SkinWeights transforms the skeleton will match the inital pose of the mesh, and using only the Frame transforms appears to be the first frame of animation (using tiny.x). Thanks in advance, Dave

Share this post

Link to post
Share on other sites

  • 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!