tltbin(3G)tltbin(3G)NAMEtltbin - selects a texture look up table
FORTRAN SPECIFICATION
subroutine texbin(target, index)
integer*4 target, index
PARAMETERS
target expects the texture resource to which the texture function
definition is to be bound. There is one appropriate resource
TLTLT0.
index expects the name of the texture function that is being bound.
Name is the index passed to texdef when the texture function was
defined.
DESCRIPTION
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 TLTLT0.
Texture look-up table use is enabled when a texture function definition
other than 0 is bound to TXTEXT, and a texture environment definition
other than 0 is bound to TVENV0 and a texture look up table definition
other than 0 is bound to TLTLT0. (See tevbin.)
SEE ALSO
t, tevbind, tevdef, texdef
NOTES
IRIS-4D G, GT, and GTX models, and the Personal Iris, do not support
texture mapping. texbin is ignored by these machines. The Iris Indy,
Indigo Entry, and XL support texture mapping except for lines. Use
getgde to determine whether texture mapping is supported.
texbin cannot be used while mmode is MSINGL.
Page 1