Archived

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

krazymillz

x file and animation

Recommended Posts

when u create an x file for an animated character (for example), do u put all the different animations into that 1 file or do u need seperate files for each animation (ie walking, jumping, etc) wats the best way to do this

Share this post


Link to post
Share on other sites
Well, ok. The best way to do this is with skinned meshes. In a skinned mesh, each vertex is attached to a "bone" so when the bone moves the vertices attached to it move. X files can store keyframe data which tells you what matrices to transform the bones by. Microsoft gives an example which is rather intimidating. If you look closely though, you will notice it''s basically 5 examples (non-indexed, indexed, software, etc.) in 1. You can cut a lot of code out and still make it work.

Share this post


Link to post
Share on other sites