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)

DoTextureMapExtendUV(3D)

DoTextureExtendUVW(3D)  —  Stardent Computer Inc. (\*(Dd)

NAME

DoTextureExtendUVW − Create a texture attribute object that controls texturing behavior beyond the boundary of a 3-dimensional texture

SYNOPSIS

C:

DtObject DoTextureExtendUVW(umode, vmode, wmode)
DtExtendMode umode;
DtExtendMode vmode;
DtExtendMode wmode;

Fortran:

INTEGER∗4 DOTXW(UMODE, VMODE, WMODE)
INTEGER∗4 UMODE
INTEGER∗4 VMODE
INTEGER∗4 WMODE

DESCRIPTION

DoTextureExtendUVW creates a texture attribute object that specifies what happens to the texture value when the u, v or w coordinates of the primitive object extends beyond the limits of a 3-dimensionsal texture.  The parameter umode specifies the extension mode in the u direction, vmode specifies the extension mode in the v direction, and wmode specifies the extension mode in the w direction.  The possible values of umode, vmode and wmode are:

DcExtendNone <DCXNON>
If the coordinate is outside the range [0..1] then no texture mapping is done. It is as if no texture map had been specified.

DcExtendBlack <DCXBLK>
If the coordinate is outside the range [0..1] then the value computed by the texture will be zero for every channel of data.

DcExtendClamp <DCXCLP>
If the coordinate is outside the range [0..1] then the value computed by the texture is the value at the nearest edge. For example, if u is 3.5 then u is clamped to 1.0, thus the edge values are extended. 

DcExtendRepeat <DCXRP>
If the coordinate is outside the range [0..1] then the texture is repeated. Effectively, if the coordinate is u then the texture coordinate used for mapping would be (u - floor(u)). 

DEFAULTS

The default value for DcTextureExtendUVW is DcExtendNone <DCXNON> for all three modes. 

SEE ALSO

DoTextureMapDiffuseColor(3D), DoTextureMapEnviron(3D), DoTextureMapBump(3D), DoTextureMapTranspIntens(3D), DoTextureMapExtendUV(3D)

September 29, 2021

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