Depth Test

If I have a shaded object…and lines around (not on) this object, how would I use the depth test features in openGL to show the lines behind the object, but make them dashed instead?

Can you give a code example of how the depth test stuff goes? Thanks!

Bubba

Maybe you should render lines two times - solid with glDepthFunc(GL_LEQUAL)and dashed with glDepthFunc(GL_GREATER) and render them after shaded object.

Randy, http://www.geocities.com/udodenko

Heh, so I have been told, just have no idea how to actual code that