void gluNurbsProperty( GLUnurbs*nurb, GLenumproperty, GLfloatvalue)

*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**, or**GLU_U_STEP**.**GLU_V_STEP** *value*- Specifies the value of the indicated property. It may be a numeric value,
or one of
,**GLU_PATH_LENGTH**, or**GLU_PARAMETRIC_ERROR**.**GLU_DOMAIN_DISTANCE**

**GLU_SAMPLING_METHOD**- Specifies how a NURBS surface should be tessellated.
may be one of*value*,**GLU_PATH_LENGTH**, or**GLU_PARAMETRIC_ERROR**. When set to**GLU_DOMAIN_DISTANCE**, the surface is rendered so that the maximum length, in pixels, of the edges of the tessellation polygons is no greater than what is specified by**GLU_PATH_LENGTH**. The initial value of**GLU_SAMPLING_TOLERANCE**is**GLU_SAMPLING_METHOD**.**GLU_PATH_LENGTH** **GLU_PARAMETRIC_ERROR**- Specifies that the surface is rendered in such a way that the value
specified by
describes the maximum distance, in pixels, between the tessellation polygons and the surfaces they approximate.**GLU_PARAMETRIC_TOLERANCE** **GLU_DOMAIN_DISTANCE**- Allows users to specify, in parametric coordinates, how many sample points
per unit length are taken in
*u*,*v*direction. **GLU_SAMPLING_TOLERANCE**- Specifies the maximum length, in pixels to use when the sampling method is
set to
. The NURBS code is conservative when rendering a curve or surface, so the actual length can be somewhat shorter. The initial value is 50.0 pixels.**GLU_PATH_LENGTH** **GLU_PARAMETRIC_TOLERANCE**- Specifies the maximum distance, in pixels, to use when the sampling method
is
. The initial value is 0.5.**GLU_PARAMETRIC_ERROR** **GLU_U_STEP**- Specifies the number of sample points per unit length taken along the
*u*axis in parametric coordinates. It is needed whenis set to**GLU_SAMPLING_METHOD**. The initial value is 100.**GLU_DOMAIN_DISTANCE** **GLU_V_STEP**- Specifies the number of sample points per unit length taken along the
*v*axis in parametric coordinate. It is needed whenis set to**GLU_SAMPLING_METHOD**. The initial value is 100.**GLU_DOMAIN_DISTANCE** **GLU_DISPLAY_MODE**defines how a NURBS surface should be rendered.*value*can be set to*value*,**GLU_OUTLINE_POLYGON**, or**GLU_FILL**. When**GLU_OUTLINE_PATCH**is set to*value*, the surface is rendered as a set of polygons. When**GLU_FILL**is set to*value*the NURBS library draws only the outlines of the polygons created by tessellation. When**GLU_OUTLINE_POLYGON**is set to*value*just the outlines of patches and trim curves defined by the user are drawn. The initial value is**GLU_OUTLINE_PATCH**.**GLU_FILL****GLU_CULLING**is a boolean value that, when set to*value*, indicates that a NURBS curve should be discarded prior to tessellation if its control points lie outside the current viewport. The initial value is**GL_TRUE**.**GL_FALSE****GLU_AUTO_LOAD_MATRIX**is a boolean value. When set to*value*, the NURBS code downloads the projection matrix, the modelview matrix, and the viewport from the GL server to compute sampling and culling matrices for each NURBS curve that is rendered. Sampling and culling matrices are required to determine the tesselation of a NURBS surface into line segments or polygons and to cull a NURBS surface if it lies outside the viewport.**GL_TRUE**If this mode is set to

, then the program needs to provide a projection matrix, a modelview matrix, and a viewport for the NURBS renderer to use to construct sampling and culling matrices. This can be done with the**GL_FALSE**`gluLoadSamplingMatrices`function. This mode is initially set to. Changing it from**GL_TRUE**to**GL_TRUE**does not affect the sampling and culling matrices until**GL_FALSE**`gluLoadSamplingMatrices`is called.

A ` property` of

`gluGetString` can be used to
determine the GLU version.