   Related Shapes and objects questions
  hey, i've got a few questions regarding drawing polygons and cubes etc.1. Once you set up all the vertices and successfully draw the cube, is there away to give the cube a name as a whole object? The reason being is i want to be able to remove/delete the cube after a certain time which leads to my next question.2. How do I simply delete/remove this cube from my screen. so say i got a moving cube once it hits the wall i want it to disappear.Thanx   
  OpenGL simply draws data, what your talking about is more organizing data, which would be done in code by you. Keep a list of objects containing your draw data, then remove it, or draw or dont, depending on what your trying to do.   ;  hey, not sure what what you mean? "Keep a list of objects containing your draw data, then remove it, or draw or dont, depending on what your trying to do"could you give me a small example of how one would do this?   ;  You need to use conditions, and then test them to see if the drawing code should be executed or not (if its visible yes, not then no). See the wikipedia article here: http://en.wikipedia.org/wiki/Conditional (programming)