setnurbsproperty(3G)setnurbsproperty(3G)NAMEsetnurbsproperty - sets a property for the display of trimmed NURBS
surfaces
C SPECIFICATION
void setnurbsproperty(long property, float value)
PARAMETERS
property expects the name of the property to be set.
value expects the value to which the named property will be set.
DESCRIPTION
The display of NURBS surfaces can be controlled in different ways. The
following is a list of the display properties that can be affected.
N_ERRORCHECKING: If value is 1.0, some error checking is enabled. If
error checking is disabled, the system runs slightly
faster. The default value is 0.0.
N_PIXEL_TOLERANCE: The value is the maximum length, in pixels, of edges
of polygons on the screen used to render trimmed
NURBS surfaces. The default value is 50.0 pixels.
N_DISPLAY: An enumeration that dictates the surface rendering
format; it affects surfaces only. Possible values
are N_FILL, N_OUTLINE_POLY, and N_OUTLINE_PATCH.
N_FILL instructs the GL to fill all polygons
generated in the tessellation of the surface.
N_OUTLINE_POLY instructs the GL to outline all
polygons generated. N_OUTLINE_PATCH instructs the
GL to outline the boundary of all surface patches
and trim curves.
N_CULLING: A Boolean value that, when TRUE, instructs the GL to
discard before tessellation, all patches that are
outside the current viewport.
SEE ALSO
bgnsurface, bgntrim, getnurbsproperty, nurbscurve, nurbssurface, pwlcurve
NOTE
Nurbs properties are on a per window basis.
Page 1