PDA

View Full Version : Flickering of two polygons in same plane



03-18-2003, 11:34 AM
Hi all, I am rendering one polygon (square)of a particular color in a sub-region of another polygon, in the same plane. I am using a projection perspective and I observe flickering of the sub-polygon when I move the camera. Probably this is due to this polygon being at the same distance from the viewport and the depth buffer being mixed up.
Does anyone know the SIMPLEST way to draw two overlapping polygons in the same 3D plane, and being able to see both of them nicely, all of this being encapsulated?
Thanks guys (and gals)

satan
03-18-2003, 12:11 PM
http://www.google.com/search?q=glPolygonOffset

03-18-2003, 12:44 PM
Thanks Satan, see you in Hell ... ;o)



Originally posted by satan:
http://www.google.com/search?q=glPolygonOffset