Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DoQuadMesh(3D)

VertexTypes(3D)

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

NAME

DoQuadList − Create a quadrilateral list primitive object

SYNOPSIS

C:

DtObject DoQuadList(colormodel, vertextype,
quadcount, vertices)
DtColorModel colormodel;
DtVertexType vertextype;
DtInt quadcount;
DtReal vertices[];

FORTRAN:

INTEGER∗4 DOQUDL(COLMOD, VTXTYP, QUDCNT,
VTXS)
INTEGER∗4 COLMOD
INTEGER∗4 VTXTYP
INTEGER∗4 QUDCNT
REAL∗8 VTXS(∗)

DESCRIPTION

DoQuadList creates a primitive object that defines a list of independent quadrilaterals.  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.  For 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 4∗quadcount vertices. 

The geometric normal to each quadrilateral is calculated using the right-hand rule (when the fingers of the right hand point in the order of the vertices, the thumb points in the direction of the normal).  These geometric normal calculations require that all quadrilaterals be planar.  Doré uses these normals for backface culling and flat shading. 

SEE ALSO

DoQuadMesh(3D), VertexTypes(3D)

September 02, 1992

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