DoTextureMatrixUVW(3D)

NAME
DoTextureMatrixUVW - Create a texture attribute object that sets the texture matrix for primitive uvw coordinates

SYNOPSIS
C:
DtObject DoTextureMatrixUVW(matrix)
DtMatrix4x4 matrix;

FORTRAN:
INTEGER*4 DOTMW(MATRIX)
REAL*8 MATRIX(4,4)

DESCRIPTION

DoTextureMatrixUVW creates a texture attribute object that defines the transformation values to be applied to a primitive object's uvw coordinates before they are used to access a 3-dimensional texture. The argument matrix is an arbitrary 4x4 matrix that becomes the texture matrix.

The scale and translate components of the texture matrix can be individually altered using DoTextureScaleUVW <DOTSW> and DoTextureTranslateUVW <DOTTW>, respectively. However, because DoTextureScaleUVW may alter any rotations previously stored in the texture matrix, it is recommended that either DoTextureMatrixUVW alone or DoTextureScaleUVW with DoTextureTranslateUVW be used.

DEFAULTS
The default value for DoTextureMatrixUVW is a 4x4 identity matrix.

SEE ALSO
DoTextureMapDiffuseColor(3D), DoTextureMapEnviron(3D), DoTextureMapBump(3D), DoTextureMapTranspIntens(3D), DoTextureMatrixUV(3D), DoTextureScaleUVW(3D), DoTextureTranslateUVW(3D)