Three particle systems are developed in this chapter: one where
the particles are points, another using lines, and a third using
quadrilaterals (quads). The images on this page show the three
systems in action.
The three systems are part of a single application, Particles3D.
The coding illustrates the following techniques:
the use of BY_REFERENCE geometries for holding information;
the subclassing of the GeometryUpdater interface to manage shape updating;
the use of PointArray, LineArray, and QuadArray geometries;
the application of a single texture to multiple quads;
the use of textures with transparent elements;
the blending of texture, colour, and lighting;
always rotating a shape towards the viewer with OrientedShape3D.