Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DoCompTextureUVCallback(3D)

DoTextureMapBump(3D)

DoTextureMapDiffuseColor(3D)

DoTextureMapEnviron(3D)

DoTextureMapTranspIntens(3D)

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

NAME

DoCompTextureUVSwitch − Create a primitive attribute object for enabling or disabling generation of uv texture coordinates

SYNOPSIS

C:

DtObject DoCompTextureUVSwitch(switchvalue)
DtSwitch switchvalue;

FORTRAN:

INTEGER∗4 DOCTVS(SWVAL)
INTEGER∗4 SWVAL

DESCRIPTION

DoCompTextureUVSwitch creates a primitive attribute object that enables or disables the generation of uv texture coordinates for primitives that do not have user-provided vertex information. 

For some renderers certain primitive objects, such as spheres, are tessellated into triangles before they are drawn.  If a sphere is to be texture mapped, the element vertices approximating the sphere may need to include uv texture coordinates.  On the other hand, if the sphere will never be texture mapped there is no need to generate and store that information. 

The switchvalue parameter is used to specify whether or not subsequent primitives will generate uv coordinates for texture mapping when they decompose themselves into elements.  Possible values for switchvalue are:

DcOff <DCOFF>
the primitive object will not generate any uv information. 

DcOn <DCON>
the primitive object will generate uv coordinates, when possible, using the parameterization method set by DoCompTextureUVCallback <DOCTVC>. 

DEFAULTS

The default for DoCompTextureUVSwitch is DcOff. 

SEE ALSO

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

September 02, 1992

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