View Full Version : glRotatef,glTranslatef

01-15-2005, 04:08 AM
I am a new user of opengl. I have learned how todraw figures using opengl and also how to rotate and translate them.
Now I have drawn my object. And Iwant to make some rotations and translations, however after every single movement I want to display it on the screen. Is it a simple way to do this.

01-15-2005, 04:48 PM
Are you using glut? Then you need to use glutPostRedisplay(); in the end of your display function. Also to see changes you need to swap buffers (if you use double buffering) after every frame. Try being a bit more specific, show your code if you have further questions.