The age old question, it has plagued me.... Since I was just beginning turbo C++ graphics, now venturing into OpenGL graphics... How do you actually make an object... GO AWAY!!!!

Well if you want to look at it in a straightforward way, you can't, you cant make something you've drawn, disappear out of thin air, out of memory, out of everything...

UNLESS

If statements, they are my friend.... Why would you make a cube go away? because this and this and this happens, well...

If this and this and this happens.....
Draw the object!
Else (it doesnt)
Don't draw the object!.......

A big fat function, right in your DrawGLScene, it controls what gets drawn and what doesnt, with ALOT ALOT of if statements...

My only question now is, is this the best way to do it?