gluNurbsProperty

set a NURBS property

Signature

gluNurbsProperty( GLUnurbs* ( nurb ) , GLenum ( property ) , GLfloat ( value ) )-> void
gluNurbsProperty( nurb , property , value )
gluNurbsProperty( POINTER(GLUnurbs)(nurb), GLenum(property), GLfloat(value) ) -> None

Parameters

VariablesDescription
nurb
Specifies the NURBS object (created with gluNewNurbsRenderer ).
property
Specifies the property to be set. Valid values are GLU_SAMPLING_TOLERANCE , GLU_DISPLAY_MODE , GLU_CULLING , GLU_AUTO_LOAD_MATRIX , GLU_PARAMETRIC_TOLERANCE , GLU_SAMPLING_METHOD , GLU_U_STEP , GLU_V_STEP , or GLU_NURBS_MODE .
value
Specifies the value of the indicated property. It may be a numeric value or one of GLU_OUTLINE_POLYGON , GLU_FILL , GLU_OUTLINE_PATCH , GLU_TRUE , GLU_FALSE , GLU_PATH_LENGTH , GLU_PARAMETRIC_ERROR , GLU_DOMAIN_DISTANCE , GLU_NURBS_RENDERER , or GLU_NURBS_TESSELLATOR .

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.

gluNurbsProperty
OpenGLContext tests/redbook_trim.py Lines: 135, 136
OpenGLContext tests/redbook_surface.py Lines: 96, 97
OpenGLContext tests/redbook_surface_cb.py Lines: 125, 126, 127
OpenGLContext OpenGLContext/scenegraph/nurbs.py Lines: 142, 372, 374, 378, 389, 390, 391
OpenGL-Demo PyOpenGL-Demo/GLUT/molehill.py Lines: 68, 69
OpenGL-Demo PyOpenGL-Demo/proesch/nurbs/nurbs.py Lines: 182, 183