This manual page is for Mac OS X version 10.6.3

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



GLULOADSAMPLINGMATRICES(3G)                                                      GLULOADSAMPLINGMATRICES(3G)



NAME
       gluLoadSamplingMatrices - load NURBS sampling and culling matrices


C SPECIFICATION
       void gluLoadSamplingMatrices( GLUnurbs* nurb,
                                     const GLfloat *model,
                                     const GLfloat *perspective,
                                     const GLint *view )


PARAMETERS
       nurb         Specifies the NURBS object (created with gluNewNurbsRenderer).

       model        Specifies a modelview matrix (as from a glGetFloatv call).

       perspective  Specifies a projection matrix (as from a glGetFloatv call).

       view         Specifies a viewport (as from a glGetIntegerv call).

DESCRIPTION
       gluLoadSamplingMatrices  uses  model,  perspective,  and  view  to recompute the sampling and culling
       matrices stored in nurb.  The sampling matrix determines how finely a NURBS curve or surface must  be
       tessellated to satisfy the sampling tolerance (as determined by the GLU_SAMPLING_TOLERANCE property).
       The culling matrix is used in deciding if a NURBS curve or surface should be culled before  rendering
       (when the GLU_CULLING property is turned on).

       gluLoadSamplingMatrices  is  necessary  only  if the GLU_AUTO_LOAD_MATRIX property is turned off (see
       gluNurbsProperty).  Although it can be convenient to leave the GLU_AUTO_LOAD_MATRIX  property  turned
       on,  there  can  be  a performance penalty for doing so.  (A round trip to the GL server is needed to
       fetch the current values of the modelview matrix, projection matrix, and viewport.)

SEE ALSO
       gluGetNurbsProperty(3G), gluNewNurbsRenderer(3G), gluNurbsProperty(3G)




                                                                                 GLULOADSAMPLINGMATRICES(3G)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation to the OpenGL project.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...