1GLULOADSAMPLINGMATRICES(3G)                        GLULOADSAMPLINGMATRICES(3G)
2
3
4

NAME

6       gluLoadSamplingMatrices - load NURBS sampling and culling matrices
7
8

C SPECIFICATION

10       void gluLoadSamplingMatrices( GLUnurbs* nurb,
11                                     const GLfloat *model,
12                                     const GLfloat *perspective,
13                                     const GLint *view )
14
15

PARAMETERS

17       nurb         Specifies     the     NURBS     object    (created    with
18                    gluNewNurbsRenderer).
19
20       model        Specifies a modelview matrix (as from a glGetFloatv call).
21
22       perspective  Specifies a  projection  matrix  (as  from  a  glGetFloatv
23                    call).
24
25       view         Specifies a viewport (as from a glGetIntegerv call).
26

DESCRIPTION

28       gluLoadSamplingMatrices  uses model, perspective, and view to recompute
29       the sampling and culling matrices stored in nurb.  The sampling  matrix
30       determines  how  finely a NURBS curve or surface must be tessellated to
31       satisfy   the   sampling    tolerance    (as    determined    by    the
32       GLU_SAMPLING_TOLERANCE property).  The culling matrix is used in decid‐
33       ing if a NURBS curve or surface should be culled before rendering (when
34       the GLU_CULLING property is turned on).
35
36       gluLoadSamplingMatrices  is  necessary only if the GLU_AUTO_LOAD_MATRIX
37       property is turned off (see gluNurbsProperty).  Although it can be con‐
38       venient to leave the GLU_AUTO_LOAD_MATRIX property turned on, there can
39       be a performance penalty for doing so.  (A round trip to the GL  server
40       is  needed to fetch the current values of the modelview matrix, projec‐
41       tion matrix, and viewport.)
42

SEE ALSO

44       gluGetNurbsProperty(3G), gluNewNurbsRenderer(3G), gluNurbsProperty(3G)
45
46
47
48                                                   GLULOADSAMPLINGMATRICES(3G)
Impressum