Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DoTextureMapDiffuseColor(3D)

DoTextureMapEnviron(3D)

DoTextureMapBump(3D)

DoTextureMapTranspIntens(3D)

DoTextureScaleUVW(3D)

DoTextureTranslateUV(3D)

DoTextureScaleUV(3D)  —  Kubota Pacfic Computer Inc. (\*(Dd)

NAME

DoTextureScaleUV − Create a texture attribute object that sets the scale factors for primitive uv coordinates

SYNOPSIS

C:

DtObject DoTextureScaleUV(su, sv)
DtReal su;
DtReal sv;

FORTRAN:

INTEGER∗4 DOTSUV(SU, SV)
REAL∗8 SU
REAL∗8 SV

DESCRIPTION

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

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

DEFAULTS

The default value for DoTextureScaleUV is (1.,1.). 

SEE ALSO

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

September 02, 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026