Flashing problems

I don’t know why the objects keep flashing all the time while i am running my program.
After i disable the GL_DEPTH_TEST,the flashing problem has gone…But some of the objects have gone too…Anyone can help me out?

Are you using double buffers?
Or could be Z-fightng, would have to see how you have set your view.

Without Depth Test you have to draw objects from back to front order, else you draw over objects drawn first, even if they are the closer objects.

Would really have to see your code to see what is going on.

[This message has been edited by nexusone (edited 02-21-2004).]