View Full Version : How to show an animation?
04-19-2004, 04:56 PM
I have a 3ds model like a helicopter and display it in OpenGL with display lists transformed by 3DExploration. Then how can I display the animation of airscrews just like VTree shows? I think it is a difficult question.
04-19-2004, 10:33 PM
OpenGL itself cannot do any kind of animation, that is all up to you and it all depends on you operating system and some other stuff.
If you have geometry in display lists, then you cannot do much with the geometry itself because a display list is static.
What you can do is to transform the geometry in the display lists with glScale,glRotate and glTranslate.
Then you have to use a timer or something else to update the transformation in small steps to get the animation.
Just have a peek at any opengl tutorial on animation.
04-20-2004, 05:35 AM
Thax, I think I get the idea!
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.