On Dec 7, 2006, at 3:10 PM, Jeffrey Johnson wrote:
I'm using gluPerspective, and GL_DEPTH_TEST is enabled, because I
need the labels to be z-sorted and stay near their objects.
Depth buffer writing is the problem. You're drawing the labels
before the other content, placing values into the depth buffer. The
pixels from the spheres then fail the depth test.
You should defer all the text rendering until you have drawn the rest
of your content, disable depth writing (glDepthMask(GL_FALSE)), and
then manually depth sort your labels before drawing.
Richard
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden