A SERVICE OF

logo

Scene Graph for Cube.cxx
203
Scene Graph for Cube.cxx
Scene graphs provide the structure for Cosmo 3D applications. Cosmo 3D applications
use scene graphs to specify the objects rendered. Figure B-2 shows the scene graph used
for cube.cxx.
Figure B-2 Cube Scene Graph
csShape nodes dene a shape; they associate a csAppearance, which describes the look
of a shape (such as its color), with a csGeometry, which denes the dimensions of the
geometry (such as whether the geometry is a cube or sphere).
Pointlight
Transform lxf
Transform xf
Geometry
Appearance
Shape
Appearance
Shape
Group