wireframe

Hello,

I want to make a simple wireframe model
from an OFFmodel file I just don’t know
how to start and I’ve looked for info on this
topic I know how to initialize a Glut program
and how to draw lines and such, Can anyone
please give me a hint how to deal with this
problem,

OG Regards

PSThe setting is Unix, C, GLUTDS

I don’t know anything about OFF, it’s irrevelant to OpenGL, but switching to wireframe
is very easy:

glPolygonMode( GL_FRONT_AND_BACK, GL_LINE );
glDisable( GL_LIGHTING );
glColor3f( 0.0f, 0.0f, 0.0f ); // draw black lines

You don’t have to change your core routines how the model is drawn, just
change the poly mode.