Jump to content
  • Advertisement
Sign in to follow this  
Odiee

OpenGL Question about scene animation.

This topic is 3048 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. I'm using Glut for window/render... management. I'm building a opengl app where I load textures onto 2d surfaces represented as GL_QUADS. My programming logic is to execute threads called scenes animation. Each scene would have 'n' number of models and it's respected translations/rotations/whatnot, which would make up the scene animation. My problem is how to implement this in the "render" callback function. i.e glutDisplayFunc(render); i.e. I need to call specific "SceneAnimation" after some event occurs. Like user presses mouse button or something else. How do I merge this event into "render" callback function.

Share this post


Link to post
Share on other sites
Advertisement
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!