PDA

View Full Version : Wireframe



Rottbott
06-25-2001, 05:00 AM
Is there a simple command to make an object render as wireframe instead of filled?

Thanks

stim
06-25-2001, 05:24 AM
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE) should do it.
use glPolygonMode(GL_FRONT_AND_BACK, GL_FILL) to go back.

[This message has been edited by stim (edited 06-25-2001).]

Rottbott
06-25-2001, 05:36 AM
Thanks a lot http://www.opengl.org/discussion_boards/ubb/smile.gif