
162 Chapter 3 Renderers
y = 0
= 12
x = 0 x = 14
Figure 3.5 The rasterized t riangle of Figure 3.4.
(a) Gray scale shows the sharing (b) The desired result (c) The actual result
Figure 3.6 Three triangles that share edges. The frame buffer has all black pixels. (a) The pixel
sharing is shown in shades of gray. The light gray pixels are not shared at all, each
belonging to a single triangle. The dark gray pixels correspond to the edge shared by
two adjacent triangles. The black pixel corresponds to a vertex shared by the three
triangles. (b) The desired result is to add the triangle pixel colors into the frame
buffer for the three triangles as a whole. ...