Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DoVarTriangleMesh(3D)

DpUpdVarTriangleMeshUVW(3D)

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

NAME

DpUpdVarTriangleMeshUV − Update the uv texture coordinates of a variable triangle mesh primitive object

SYNOPSIS

C:

DtObject DpUpdVarTriangleMeshUV(object, uvindex,
uvlist)
DtObject object;
DtInt uvindex;
DtReal uvlist[];

FORTRAN:

INTEGER∗4 DPUTMV(OBJECT, UVIDX, UVLIST)
INTEGER∗4 OBJECT
INTEGER∗4 UVIDX
REAL∗8 UVLIST(∗)

DESCRIPTION

DpUpdVarTriangleMeshUV updates one set of uv texture coordinates of a variable triangle mesh primitive object. 

The parameter object is the handle to the variable triangle mesh object. 

The parameter uvindex specifies which set of uv coordinates is being updated.  Note, the uv texture coordinates of a vertex are numbered from 0.  To add a new set of uv coordinates to the vertex data of an object, set the uvindex to point to the next available slot.  For example, for objects that do not have any uv coordinates, a uvindex of 0 will create the initial set. 

The parameter uvlist contains the new uv coordinates, one for every vertex of the variable triangle mesh object.  As with other variable vertex data, Doré does not make a copy of the uv coordinates.  It simply maintains pointers to the data in user space. 

ERRORS

DpUpdVarTriangleMeshUV will fail if an invalid object is specified. 

[WARNING - invalid or deleted object]

DpUpdVarTriangleMeshUV will fail if uvindex is less than 0 or greater than the next available slot for uv coordinates. 

[WARNING - value out of range]

SEE ALSO

DoVarTriangleMesh(3D), DpUpdVarTriangleMeshUVW(3D)

September 02, 1992

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