Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DoTriangleMesh(3D)

DoTriangleStrip(3D)

VertexTypes(3D)

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

NAME

DoTriangleList − Create a triangle list primitive object

SYNOPSIS

C:

DtObject DoTriangleList(colormodel, vertextype,
trianglecount, vertices)
DtColorModel colormodel;
DtVertexType vertextype;
DtInt trianglecount;
DtReal vertices[];

FORTRAN:

INTEGER∗4 DOTRIL(COLMOD, VTXTYP, TRICNT,
VTXS)
INTEGER∗4 COLMOD
INTEGER∗4 VTXTYP
INTEGER∗4 TRICNT
REAL∗8 VTXS(∗)

DESCRIPTION

DoTriangleList creates a primitive object that defines a list of independent triangles.  The parameter colormodel specifies the color model used if the vertices contain color information for shading.  The parameter vertextype specifies the exact nature of the vertices.  FORTRANr more information, refer to Chapter 6, Doré Vertex Types, in the Doré Reference Manual or to the VertexTypes on-line manual page.)  The parameter vertices is an array of vertex data.  It must contain data for 3∗trianglecount vertices. 

The geometric normal to each triangle is calculated using the right-hand rule (when the fingers of the right hand point in the order of the vertices, the thumb points toward of the normal).  Doré uses these normals for backface culling and facet shading. 

SEE ALSO

DoTriangleMesh(3D), DoTriangleStrip(3D), VertexTypes(3D)

September 02, 1992

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