Jump to content
  • Advertisement
Sign in to follow this  
bobFritzelpuff

OpenGL Animation

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

In 3d modeling tools like maya and blender, you can make animations. What is the best way of getting these models with animations into openGL? Do you parse the meshes into vertex/texture/normal arrays and keep track of animations as lists of transform/rotate/scale modifications over time? If so, is there a library that parses these animations already, and what format does it parse from/to? Thank you.

Share this post


Link to post
Share on other sites
Advertisement
For mesh animations there are several possibilities:

  • For rigid meshes (e.g. robots) you can use glTranslate/glRotate etc.

  • For soft meshes (e.g. those that can deform) you can either use skeletal animation (use bones, transform them using glRotate, move vertices according to bone influence) or use keyframe animation (store each frame as a separate mesh).

Share this post


Link to post
Share on other sites
A mesh/skeleton file format, reader/writer, and animation system in library form is cal3d (one of the "must be mentioned" in such a thread like this one ;) ).

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!