CHAPTER NINE: Shaders and Rendering Algorithms 277
Z-Bu er Rendering
Z-buffer rendering is an approach to rendering usually taken by graphics cards
for real-time display, and also used for rendering animation tests.
In the early days of 3D graphics, one of the great challenges was fi nding
effi cient algorithms for hidden surface removal—the tasks of making sure that
surfaces in the foreground appeared in front of surfaces in the background.
Some of the early solutions were very slow, such as sorting all of the poly-
gons in the scene in order from back to front before drawing them.
Z-buffer rendering is a solution to the problem of real-time hidden surface
removal that allows objects to be drawn rapidly without regard for the order
in which polygons ...