ABSTRACT

T o create a 3D object in CG one assembles its surface, or a good likeness, with help of 2D primitives. For example, the (seemingly 3D) solid ball and torus in Figure 8.1 are depicted by the 2D surface

sphere and surface torus which bound them, respectively (note that the calls glutSolidSphere() and glutSolidTorus() in ballAndTorusShadowed.cpp refer to filled triangles, not solid 3D objects). Boris’s head in Figure 8.2 is a mesh of quads.