• Advertisement

Archived

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

x file and animation

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

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
Advertisement
how do u specify the start of each seperate animation. can u name the keys when creating the x file

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

  • Advertisement