*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> OpenGL/gluloadsamplingmatrices (3)              
Title
Content
Arch
Section
 

Contents


gluLoadSamplingMatrices(3G)    OpenGL Reference	   gluLoadSamplingMatrices(3G)


NAME    [Toc]    [Back]

     gluLoadSamplingMatrices - load NURBS sampling and culling matrices

C SPECIFICATION    [Toc]    [Back]

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

PARAMETERS    [Toc]    [Back]

     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    [Toc]    [Back]

     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    [Toc]    [Back]

      
      
     gluGetNurbsProperty, gluNewNurbsRenderer, gluNurbsProperty


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
aifcresample IRIX perform sampling rate conversion on an AIFF-C file
dmACConvert IRIX convert audio data format, sampling rate and compression
dmAudioRateConvert IRIX convert data sampling rate. It consumes an input buffer of floats and generates an output buffer of floats.
gluNurbsProperty Tru64 set a NURBS property
glunurbsproperty IRIX set a NURBS property
gluGetNurbsProperty Tru64 get a NURBS property
glugetnurbsproperty IRIX get a NURBS property
gluNewNurbsRenderer Tru64 create a NURBS object
gludeletenurbsrenderer IRIX destroy a NURBS object
gluDeleteNurbsRenderer Tru64 destroy a NURBS object
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service