PDA

View Full Version : Outlines of glucylinder?



billy
03-28-2001, 04:32 AM
Is is possible to obtain the outlines of the polygons that define the cylinder called by glucylinder funcion?
The intention is to increase speed when someone rotates, pans or zooms the object.

Tone
03-28-2001, 03:55 PM
Rendering the wireframe of an object might actually slow down the framerate depending upon what video card you have. The GeForce family of video cards are notorious for this. Anyway, to render the wireframe of a quadric, just call gluQuadricDrawStyle with GL_LINE as the second argument. Hope that helps.

Tone

billy
03-28-2001, 11:04 PM
Thanks a lot for the tip! http://www.opengl.org/discussion_boards/ubb/smile.gif
I will certainly try it.