Using a 2 x 2 pixel display, show how the Z-buffer algorithm would determine the color of each pixel for the given objects A and B in the figure below.
Apply the Scan Line algorithm.
Back clipping plane
A2!
Bi
Pixel coordinate
0
Line A: A=(0.5,0.5) A2 = (0.5, 2.0) Z = 0.25
Line B: B1=(0.5,0.5) B2=(2.0,0.5) Z=0.75