DoTextureUVWIndex(3D)

NAME
DoTextureUVWIndex - Create a texture attribute object that specifies which uvw coordinates of a primitive object to use

SYNOPSIS
C:
DtObject DoTextureUVWIndex(index)
DtInt index;

FORTRAN:
INTEGER*4 DOTWI(INDEX)
INTEGER*4 INDEX

DESCRIPTION

DoTextureUVWIndex creates a texture attribute object that specifies which set of uvw coordinates in a primitive object to use when doing 3-dimensional texture mapping. Each primitive object can have more than one uvw coordinate per vertex. The uvw coordinates for each vertex are numbered from zero, in the same order as they were specified when the object was created. The parameter index specifies which one to use.

ERRORS
DoTextureUVWIndex will fail if index is less than zero.

[WARNING - value out of range]

DEFAULTS
The default value for DoTextureUVWIndex is 0.

SEE ALSO
DoTextureMapDiffuseColor(3D), DoTextureMapEnviron(3D), DoTextureMapBump(3D), DoTextureMapTranspIntens(3D), DoTextureUVIndex(3D)