
2.5 Rasterizing 77
triangle to be clipped by one frustum plane (triangle intersects a face of the frustum),
by two frustum planes (triangle intersects near an edge of the frustum), or three frus-
tum planes (triangle intersects near a corner of the frustum). In these cases, either
clipping method should perform equally well.
Exercise
2.14
The Wild Magic software renderer implements the polygon-of-intersection clipping
algorithm. Modify the renderer to use the plane-at-a-time clipping algorithm. Devise
an experiment to test the performance of the two clipping algorithms and compare
the results.
2.5 Rasterizing
Rasterizat ion is the process of taking a