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?

• I can't understand what you are asking about starting with "When I create a list...". From then on is unclear, could you try to clear that up by chance? Dec 1, 2016 at 22:27