Polygon Stipple

Is there any way to draw the front face of a polygon solid and the back face stippled? Or to draw the front face one color and the back face a different color? I don’t want to draw the front face filled and the back face with just lines because it might make it look like I have missing elements in my mesh. I just want a good way to visually identify if an element is facing the wrong direction in my model.

Hi !

You can use:
glMaterialfv( GL_FRONT, …); and
glMaterialfv( GL_BACK, …);

To have different materials on front and back facing triangles.


[This message has been edited by mikael_aronsson (edited 10-25-2003).]