DoTextureTranslateUVW(3D)

NAME
DoTextureTranslateUVW - Create a texture attribute object that sets the translate factors for primitive uvw coordinates

SYNOPSIS
C:
DtObject DoTextureTranslateUVW(tu, tv, tw)
DtReal tu;
DtReal tv;
DtReal tw;

FORTRAN:
INTEGER*4 DOTTW(TU, TV, TW)
REAL*8 TU
REAL*8 TV
REAL*8 TW

DESCRIPTION

DoTextureTranslateUVW creates a texture attribute object that defines the translation values to be applied to the uvw coordinates for a primitive object before they are used to access a 3-dimensional texture. The parameter tu is the translation factor in the u direction, tv is the translation factor in the v direction, and tw is the translation factor in the w direction.

DoTextureTranslateUVW is used in conjunction with DoTextureScaleUVW <DOTSW> to specify completely how a primitive object's uvw coordinates are transformed before they are used to access the texture. The DoTextureScaleUVW <DOTSW> is always applied before the DoTextureTranslateUVW, regardless of the sequence in the scene database.

DEFAULTS
The default value for DoTextureTranslateUV is (0.,0.,0.).

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