View Full Version : how to remove a quad from the scene?
02-21-2006, 04:58 AM
I've drawn a few quads on the screen with Display List. How can I move out one of them from the screen??
02-21-2006, 05:23 AM
You have to redraw the scene without that quad.
02-21-2006, 07:53 AM
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! :(
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??
For tuts about GL try nehe.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.