DpUpdVarTriangleStripUVW(3D) — Kubota Pacfic Computer Inc. (\*(Dd)
NAME
DpUpdVarTriangleStripUVW − Update the uvw texture coordinates of a variable triangle strip primitive object
SYNOPSIS
C:
DtObject DpUpdVarTriangleStripUVW(object,
uvwindex, uvwlist)
DtObject object;
DtInt uvwindex;
DtReal uvwlist[];
FORTRAN:
INTEGER∗4 DPUTSW(OBJECT, UVWIDX, UVWLIST)
INTEGER∗4 OBJECT
INTEGER∗4 UVWIDX
REAL∗8 UVWLIST(∗)
DESCRIPTION
DpUpdVarTriangleStripUVW updates one set of uvw texture coordinates of a variable triangle strip primitive object.
The parameter object is the handle to the variable triangle strip object.
The parameter uvwindex specifies which set of uvw coordinates is being updated. Note, the uvw texture coordinates of a vertex are numbered from 0. To add a new set of uvw coordinates to the vertex data of an object, set the uvwindex to point to the next available slot. For example, for objects that do not have any uvw coordinates, a uvwindex of 0 will create the initial set.
The parameter uvwlist contains the new uvw coordinates, one for every vertex of the variable triangle strip object. As with other variable vertex data, Doré does not make a copy of the uvw coordinates. It simply maintains pointers to the data in user space.
ERRORS
DpUpdVarTriangleStripUVW will fail if an invalid object is specified.
[WARNING - invalid or deleted object]
DpUpdVarTriangleStripUVW will fail if uvwindex is less than 0 or greater than the next available slot for uvw coordinates.
[WARNING - value out of range]
SEE ALSO
DoVarTriangleStrip(3D), DpUpdVarTriangleStripUV(3D)
September 02, 1992