gluQuadricDrawStyle

specify the draw style desired for quadrics

Signature

gluQuadricDrawStyle( GLUquadric* ( quad ) , GLenum ( draw ) )-> void
gluQuadricDrawStyle( quad , draw )
gluQuadricDrawStyle( POINTER(GLUquadric)(quad), GLenum(draw) ) -> None

Parameters

VariablesDescription
quad
Specifies the quadrics object (created with gluNewQuadric ).
draw
Specifies the desired draw style. Valid values are GLU_FILL , GLU_LINE , GLU_SILHOUETTE , and GLU_POINT .

Description

gluQuadricDrawStyle specifies the draw style for quadrics rendered with quad . The legal values are as follows:
GLU_FILL
Quadrics are rendered with polygon primitives. The polygons are drawn in a counterclockwise fashion with respect to their normals (as defined with gluQuadricOrientation ).
GLU_LINE
Quadrics are rendered as a set of lines.
GLU_SILHOUETTE
Quadrics are rendered as a set of lines, except that edges separating coplanar faces will not be drawn.
GLU_POINT
Quadrics are rendered as a set of points.

See Also

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

gluQuadricDrawStyle