222 Chapter 4 Scene Graphs
encloses all the vertices. This information can always be generated procedurally and
does not require the artist’s input. The model bound is useful for identifying whether
or not the model is currently visible to an observer. All the model information created
by the artist, or procedurally generated from what the artist produces, is encapsulated
by the class
Geometry.
Vertex and Index Buffers
In Wild Magic version 3, the vertex positions and normals were stored as separate
arrays in the
Geometry objects. The vertex colors and texture coordinates were stored
in
Effect objects to be used in various special effects, whether of the flavor of the
fixed-function pipeline or a shader program. The separation of vertex attributes is
not ...