Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getnurbsproperty(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



getnurbsproperty(3G)                                      getnurbsproperty(3G)



NAME
     getnurbsproperty - returns the current value of a trimmed NURBS surfaces
     display property

C SPECIFICATION
     void getnurbsproperty(long property, float *value)

PARAMETERS
     property   expects the name of the property to be queried.

     value      expects pointer to the location into which the system should
                write the value of the named property.

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, nurbscurve, nurbssurface, pwlcurve, setnurbsproperty

NOTE
     This routine is available only in immediate mode.  Nurbs properties are
     on a per window basis.










                                                                        Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026