Z buffer
Assumptions:
- each pixel has storage for a z-value, in addition to RGB
- all objects are “scanconvertible” (typically are polygons, lines or points)
Algorithm: initilize zbuf to maximal value
for each object for each pixel (i,j) obtained by scan conversion if znew(i,j) < zbuf(i,j) zbuf(i,j) = znew(i,j) ; write pixel(i,j)