Glut - HELP!!!
Let''s say I have drawn stuff (like cubes and pyramids) in a window. Now, I would like to completely get rid of that stuff and draw something else, without destroying and recreating the window if possible. How can I do that?
Thanks.
DEMONsionX
call
after you render your objects.
[edited by - dede on December 18, 2003 2:54:50 AM]
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glLoadIdentity();
before rendering and glutSwapBuffers();
after you render your objects.
[edited by - dede on December 18, 2003 2:54:50 AM]
~~~~~Screaming Statue Software. | OpenGL FontLibWhy does Data talk to the computer? Surely he's Wi-Fi enabled... - phaseburn
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement