DoTextureScaleUVW(3D)

NAME
DoTextureScaleUVW - Create a texture attribute object that sets the scale factors for primitive uvw coordinates

SYNOPSIS
C:
DtObject DoTextureScaleUVW(su, sv, sw)
DtReal su;
DtReal sv;
DtReal sw;

FORTRAN:
INTEGER*4 DOTSW(SU, SV, SW)
REAL*8 SU
REAL*8 SV
REAL*8 SW

DESCRIPTION

DoTextureScaleUVW creates a texture attribute object that defines the scaling values to be applied to the uvw coordinates of a primitive object before they are used to access a 3-dimensional texture. The parameter su is the scale factor in the u direction, sv is the scale factor in the v direction, and sw is the scale factor in the w direction.

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

DEFAULTS
The default value for DoTextureScaleUVW is (1.,1.,1.).

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