
4.4. Lighting and shading 127
Figure 4.25: A cross section through a cylinder that has been cut in half along its axis.
Before we finish discussing Phong shading there is one very important point
that requires a little more thought. Look at figure 4.25: in (a) we see a rendered
half cylinder approximated by 6 rectangular facets on the curved side and 1
rectangular facet on the flat (cut) side; in (b) a plan of the section at plane
XX
′
shows the facet normals. Now imagine what happens as stage 1 of Phong’s
procedure is applied. In (c) the averaged vertex normals are shown and (d) gives
the interpolated normals. Even at the points ...