i need some way to draw wireframe and shaded at once. I have a list of triangles made up from a couple of hundred thousand points, so it really slows performance down having to draw the list twice in the 2 different modes.

Anybody got any suggestions?

Bob

08-01-2002, 01:07 AM

I'm afraid you will have to use a two pass algorithm here. First draw the wireframe model. Then draw the second model with GL_FILL and use poygon offset to push the fragments into the scene, to minimize Z-fighting.