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

  man pages->IRIX man pages -> standard/tlutbind (3)              
Title
Content
Arch
Section
 

Contents


tlutbind(3G)							  tlutbind(3G)


NAME    [Toc]    [Back]

     tlutbind -	 selects a texture look	up table

C SPECIFICATION    [Toc]    [Back]

     void tlutbind(long	target,	long index)

PARAMETERS    [Toc]    [Back]

     target   expects the texture resource to which the	texture	function
	      definition is to be bound.  There	is one appropriate resource
	      TL_TLUT_0.

     index    expects the name of the texture function that is being bound.
	      Name is the index	passed to texdef2d when	the texture function
	      was defined.

DESCRIPTION    [Toc]    [Back]

     Texture coordinates, s,t,u	may be specified at geometry vertices,
     similarly to color, depth,	and vertex normals.  The texture coordinates
     are interpolated from the values specified	at the vertices	for each
     screen pixel touched by the geometry.  A texture function maps the
     texture coordinates s,t, or s,t,u,	corresponding to a screen pixel	into
     nc	values,	called texture function	outputs, using an image	and a set of
     properties. The texture function outputs may be translated	with a texture
     look-up table.  The texture function outputs are used by the texture
     environment function to modify the	screen pixel color.

     texdef2d and texdef3d define a texture function and texbind selects which
     texture function definition to use.  The texture environment function is
     defined by	tevdef and selected by tevbind.	The texture look-up table is
     defined by	tlutdef	and selected by	tlutbind. The texture coordinates are
     specified with the	t family of commands.

     By	default	texture	look up	table  definition 0 is bound to	TL_TLUT_0.
     Texture look-up table use is enabled when a texture function definition
     other than	0 is bound to TX_TEXTURE_0, and	a texture environment
     definition	other than 0 is	bound to TV_ENV0 and a texture look up table
     definition	other than 0 is	bound to TL_TLUT_0.  (See tevbind texbind.)

SEE ALSO    [Toc]    [Back]

      
      
     t,	texbind	tevbind, tlutdef, tevdef, texdef2d

NOTES    [Toc]    [Back]

     IRIS-4D G,	GT, and	GTX models, and	the Personal Iris, do not support
     texture mapping.  texbind is ignored by these machines.  The Iris Indy,
     Indigo Entry, and XL support texture mapping except for lines.  Use
     getgdesc to determine whether texture mapping is supported.

     texbind cannot be used while mmode	is MSINGLE.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
texbind IRIX selects a texture function
tevbind IRIX selects a texture environment
tlutdef IRIX defines a texture look-up table
istexloaded IRIX returns whether the texture with the passed id is resident in texture memory
ttsyncd HP-UX Daemon to maintain the nis+ password table in sync with the nis+ trusted table.
DXmSvnSelectAll Tru64 Selects all entries.
DXmSvnSelectEntry Tru64 Selects a specified entry.
drawmode IRIX selects which GL framebuffer is drawable
shademodel IRIX selects the shading model
scrnselect IRIX selects the screen upon which new windows are placed
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service