MirBSD manpage: gluLoadSamplingMatrices(3)



     gluLoadSamplingMatrices - load NURBS sampling and culling


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


     nurb         Specifies the NURBS object (created with

     model        Specifies a modelview matrix (as from a glGet-
                  Floatv call).

     perspective  Specifies a projection matrix (as from a glGet-
                  Floatv call).

     view         Specifies a viewport (as from a glGetIntegerv


     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 toler-
     ance (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 model-
     view matrix, projection matrix, and viewport.)


     gluGetNurbsProperty(3G), gluNewNurbsRenderer(3G),

MirBSD #10-current     Printed 2021-12-07                       1

Generated on 2021-12-07 11:28:18 by $MirOS: src/scripts/roff2htm,v 1.103 2021/01/23 20:24:35 tg Exp $ — This product includes material provided by mirabilos.

These manual pages and other documentation are copyrighted by their respective writers; their sources are available at the project’s CVSweb, AnonCVS and other mirrors. The rest is Copyright © 2002–2021 MirBSD.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.