Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DoVarSimplePolygonMesh(3D)

DpUpdVarSimplePolygonMeshUVW(3D)

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

NAME

DpUpdVarSimplePolygonMeshUV − Update the uv texture coordinates of a variable simple polygon mesh primitive object

SYNOPSIS

C:

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

FORTRAN:

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

DESCRIPTION

DpUpdVarSimplePolygonMeshUV updates one set of uv texture coordinates of a variable simple polygon mesh primitive object. 

The parameter object is the handle to the variable simple polygon 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 simple polygon 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

DpUpdVarSimplePolygonMeshUV will fail if an invalid object is specified. 

[WARNING - invalid or deleted object]

DpUpdVarSimplePolygonMeshUV 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

DoVarSimplePolygonMesh(3D), DpUpdVarSimplePolygonMeshUVW(3D)

September 02, 1992

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