Hello,
I’m trying to get a GL_TRIANGLE_STRIP to be drawn like it were a GL_QUAD_STRIP when glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); is done. Here’s an example:
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
glBegin(GL_TRIANGLE_STRIP);
glVertex3f( V0 );
glVertex3f( V1 );
glVertex3f( V1 );
glVertex3f( V2 );
glVertex3f( V4 );
glVertex3f( V5 );
glEnd();
So what I want is the line connecting V1 and V2 as well as V3 and V4 not be be drawn cause they aren’t “edges”. Can this be done?