Monotonic Z values
We need to be careful when reading the values out of a z-buffer and
interpolating them. Eventhough, our interpolated values of z lie on a plane,
uniform differences in depth-buffer values do no correspond to a uniform
differences in space.
However, our z-comparisions will still work because this parameter mapping, while not linear, is monotonic.
Note that when the z values are uniformly quantized the number of discrete discernable depths is greater
closer to the near plane than near the far plane. Is this good?
|