Jump to content
  • Advertisement
Sign in to follow this  
chibitotoro0_0

In game animations

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

Hi everyone, this is a pretty general question, but in games engines, are animations produced using a sequence of pre-outputted objs or are the skeletal rigs actually exported using an exporter and inputted into the engine? I wrote some mesh deformation code using an XSI to collada XML export, but with all the joints and the vertices, there are alot of calculations to be made at every frame even with the transformation matrices saved. Is there another way to do this? or is my deformation code just too inefficient? I'm asking this because in certain games when a character is idling, it may bob up and down on the spot. If it's just an idle motion would it be feesible to do the matrix multiplications with all the things going on in the scene?

Share this post


Link to post
Share on other sites
Advertisement
Those animations are predefined using an external tool (Maya, 3DS, etc) and imported to the game.

Share this post


Link to post
Share on other sites
Hmm I've been wondering a similar thing myself.

I think the X format supports bones for animation.

I'm not entirely sure how it works as I haven't done any animations yet...

So I was wondering how it stores an animation?

If not using bones (just using vertices) does it just store the positions of the vertices for each frame?

Wouldn't that be really inefficient?

And for bones, does it just store the position of the bones for each frame?

Or does it store something like a motion tween (in Flash lol) where you just store the start point, and the end point, and it interpolates the points in-between?

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!