I'm new of the topic, and today, I tried my first OpenGL program. It simply drawa a particular figure to the screen, and allows the user to rotate around it with buttons.
Writing code, I was thinking about rendering. When I create a list with glBeginList
and I rotate, I cancel the figure on the screen and rotate the camera, before redrawing the figure.
Do I have to cancel everything and redraw for animation, or is there another way?