how to remove a quad from the scene?

I’ve drawn a few quads on the screen with Display List. How can I move out one of them from the screen??

You have to redraw the scene without that quad.

But how to clear the screen?? I have tried with ClearColor(), ClearDepth(0 but it’s not working. I’m beginning with OpenGL and I don’t really know how is it working. I also tried to find out how is it working from NeHe but I can’t find it! :frowning:

In my program quads are falling from the top and stopping on the bottom of the screen. Now I want them to go back to the top and disappear. When first quad would dissapear I want second to go to the top and also disappear, etc.

Please HELP!! How to do this??

glClear (GL_COLOR_BUFFER_BIT)

For tuts about GL try nehe.