Z-Buffering
Z-Buffering | Z-bufferingProcess of removing hidden surfaces, uses the values of depth, stored in the Z-buffer. Before displaying a new frame, the buffer is cleared, and the variables Z are set to large values. When rendering the object sets the Z values for each pixel: the closer the pixel is located, the less the value of Z. For each new pixel depth value is compared with the value stored in the buffer, and the pixel is recorded in the frame only if the depth is less than the stored value.