Original Post
I am implemeting simple Silhouette outlines, using PolygonOffset, as a lot of articles mention. But the polygon fills seem to appear over the top of over-lapping polygons.
Example code that I'm using: //Draw Silhouette glEnable( GL_POLYGON_OFFSET_FILL ); glPolygonOffset( -3, -3 ); glPolygonMode( GL_FRONT_AND_BACK, GL_LINE ); glLineWidth( 3.0f ); glColor3f( 0.0f, 0.0f, 0.0f ); glDisable( GL_LIGHTING ); Draw(); //Draw Fill glPolygonMode( GL_FRONT_AND_BACK, GL_FILL ); glEnable( GL_LIGHTING ); glColor3f( 0.0f, 0.0f, 0.0f ); Draw(); //Draw Other glDisable( GL_POLYGON_OFFSET_FILL ); Draw2(); I've tried using a range of values for glPolygonOffset, but it doesn't seem to help, any other ideas that I could try?
Example code that I'm using: //Draw Silhouette glEnable( GL_POLYGON_OFFSET_FILL ); glPolygonOffset( -3, -3 ); glPolygonMode( GL_FRONT_AND_BACK, GL_LINE ); glLineWidth( 3.0f ); glColor3f( 0.0f, 0.0f, 0.0f ); glDisable( GL_LIGHTING ); Draw(); //Draw Fill glPolygonMode( GL_FRONT_AND_BACK, GL_FILL ); glEnable( GL_LIGHTING ); glColor3f( 0.0f, 0.0f, 0.0f ); Draw(); //Draw Other glDisable( GL_POLYGON_OFFSET_FILL ); Draw2(); I've tried using a range of values for glPolygonOffset, but it doesn't seem to help, any other ideas that I could try?

