How to show an animation?

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.

Hi !

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.


Thax, I think I get the idea!