DoTextureTranslateUV(3D)

NAME
DoTextureTranslateUV - Create a texture attribute object that sets the translate factors for primitive uv coordinates

SYNOPSIS
C:
DtObject DoTextureTranslateUV(tu, tv)
DtReal tu;
DtReal tv;

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

DESCRIPTION

DoTextureTranslateUV creates a texture attribute object that defines the translation values to be applied to the uv coordinates for a primitive object before they are used to access a 2-dimensional texture. tu is the translation factor in the u direction and tv is the translation factor in the v direction.

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

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

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