Jump to content
  • Advertisement
Sign in to follow this  
StratBoy61

ID3DXAnimationController and animation sets...

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

Hello, I am loading a .X file that contains only one animation set, which is the serie of many different states. It is pretty much split up as shown below : Frame 0 to 14, the character walks Frame 16 to 26, ..runs Frame 28 to 40, ..jumps etc. I am using the D3DXLoadMeshHierarchyFromX() function to load the animations contained in my .X file. I get a valid ID3DXAnimationController, but I have no idea how I could split up the one and only animation set contained in my .X file, and play the keyframes from 16 to 26 for instance... Could you please let me know if it is feasible to do so, when the .X file has only one animation set ? Thanks a lot in advance. Cheers StratBoy61

Share this post


Link to post
Share on other sites
Advertisement
If you use Panda exporter than you can split one animation into animsets on the Animation tab. Use Add and Edit buttons.

Share this post


Link to post
Share on other sites
If you use Panda exporter than you can split one animation into animsets on the Animation tab. Use Add and Edit buttons.

Share this post


Link to post
Share on other sites
Thank you for your answer JokerX,

If I understand, there is no -known- way to deal with it at the code level ? The problem is that I do not have access to the model, as I do not have any editing tool (and I do not know how to use them).
Well, I will try to have my model modified so that each animation is contained in it own animset...
Cheers
StratBoy61

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!