PDA

View Full Version : a boring problem



thunder2001
06-16-2004, 05:22 PM
i have used OpenGL function to draw a picture,such as a SolidSphere,but now i want to draw a new picture such as cube at the same place(just i draw the cube, at the same time can delete the sphere.)i don't know how i should do!so ask for the answer.

CrazyButcher
06-16-2004, 11:04 PM
hm could you describe it a bit more ?

you could just stop drawing the sphere and only draw the cube in your next frame...

ZbuffeR
06-17-2004, 02:40 AM
And put appropriate glClear between the two.