Jump to content
  • Advertisement
Sign in to follow this  
metsfan

Trying to understand FBX models

This topic is 2267 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 all, I'm trying to work with an FBX model I downloaded and I'm a bit confused about how animation works with FBX. The file I downloaded also came with a text file describing the animations. This is what it looks like:


005 - 100 Idle
105 - 145 walk
150 - 180 run
185 - 285 alert
290 - 390 converstaion

What do these numbers correspond to? How do I access the different meshes at these animated states? If anyone here has experience working with the FBX SDK, I'd appreciate any help. Thank you.

Share this post


Link to post
Share on other sites
Advertisement
Those are likely frame start/end numbers for your animation.



[background=rgb(250, 251, 252)]How do I access the different meshes at these animated states. [/background]


[/quote]

[background=rgb(250, 251, 252)]The FBX SDK documentation tells you how to do that.[/background]



[background=rgb(250, 251, 252)]The tricky parts (other stuff is pretty self-explanatory from reading the SDK docs)[/background]



[color=#282828][font=helvetica, arial, verdana, tahoma, sans-serif][background=rgb(250, 251, 252)]- concept of a 'skin' maps to a FBX deformer (with type=skin)[/background][/font]



[color=#282828][font=helvetica, arial, verdana, tahoma, sans-serif][background=rgb(250, 251, 252)]- concept of a 'joint' maps to a FBX cluster[/background][/font]



[color=#282828][font=helvetica, arial, verdana, tahoma, sans-serif][background=rgb(250, 251, 252)]- splitting mesh by material destroys the animation data (I vaguely remember getting frustrated over this...)[/background][/font]



[color=#282828][font=helvetica, arial, verdana, tahoma, sans-serif][background=rgb(250, 251, 252)]- to get an object's property at a specific time, use an Evaluator[/background][/font] (scene->GetEvaluator())

Edited by jameszhao00

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!