-
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??
-
Advanced Member
Frequent Contributor
Re: how to remove a quad from the scene?
You have to redraw the scene without that quad.
-
Re: how to remove a quad from the scene?
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??
-
Re: how to remove a quad from the scene?
glClear (GL_COLOR_BUFFER_BIT)
For tuts about GL try nehe.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules