Definitions Specific to Seamless3d
Vertex
A vertex is a corner of a polygon. A vertex always contains a coord
component.
The coord component specifies the position of the vertex. coord values
consist of 3 numbers x y and z to represent the 3 dimensions in 3d space.
A vertex may contain a color component to specify the color of the
vertex. The color values consist of 3 numbers r g and b to represent the
red green and blue for the color.
A vertex may contain a texCoord component. The texCoord value consist
of 2 numbers x and y which specify the position of the texture used for
the vertex.
coord
The position of a vertex.
In a Seamless3d Part node the coord field
contains multiple coord values.
In an IndexedFaceSet the coord field is used for containing a Coordinate
node. It is the Coordinate node's point field
that is used for containing the multiple coord values in an IndexedFaceSet.
coordIndex
The index of a coord. All coords are indexed. The value of a coordIndex
is always a unique integer number. The coordIndex allows each individual
coord to be specified using a number for it's name. The coords owned by
a Part begin at index zero.
coord value
A coord value consists of 3 floating point numbers representing the
x y and z dimensions
transform fields
A Part node's transform fields are the scale,
rotation
and translation fields
vertex index
When refering to a vertex by it's index (the number used instead of a name), the index for the coord component is used.
Copyright © 2000-2006 Graham Perrett thyme@seamless3d.com
|