GL_TRIANGLE_STRIP and glEdgeFlag()

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?

“…triangle fans and triangle strips do not support edge flags.”

Ok, is there another way to do this? I’m working on making a terrain map, and so I was going to use triangle strips to draw the elevation points. But in the wire frame mode I don’t want things to be triangles, but rather quads. Since the vertices of a quad need to be on the same plane, I can’t use quads. How can I go about this ?