DoGenerateTextureUV(3D) — Kubota Pacfic Computer Inc. (\*(Dd)
NAME
DoGenerateTextureUV − This function is obsolete and has been replaced by DoCompTextureUVSwitch
SYNOPSIS
C:
DtObject DoGenerateTextureUV(switchvalue)
DtSwitch switchvalue;
FORTRAN:
INTEGER∗4 DOGTUV(SWVAL)
INTEGER∗4 SWVAL
DESCRIPTION
DoGenerateTextureUV 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 before they are drawn. If a sphere is to be texture mapped, the element vertices approximating the sphere may have 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. If the switchvalue is DcOff <DCOFF>, the primitive object will not generate any uv information. If the switchvalue is DcOn <DCON>, the primitive object will generate uv coordinates when possible.
DEFAULTS
The default for DoGenerateTextureUV is DcOff.
SEE ALSO
DoTextureMapBump(3D), DoTextureMapDiffuseColor(3D), DoTextureMapEnviron(3D), DoTextureMapTranspIntens(3D), DoPrimSurf(3D)
September 02, 1992