Q52.Marks: +2.0UGC NET Paper 2: Computer Science 2nd January 2026 Shift 1
Which of the following statements are true.
A. Painters' algorithm is also called depth sort algorithm.
B. Gourad shading is on interpolating shading method.
C. Gourad shading is an averaging shading method.
D. The Z-buffer algorithm finds the largest depth value Z.
Choose the correct answer from the options given below:
1.A, B Only✓ Correct
2.B, C Only
3.C, D Only
4.A, D Only
Solution
The correct answer is A, B Only.
Key Points
Painters' algorithm is indeed also referred to as the depth sort algorithm. This method is used in computer graphics to render scenes by sorting surfaces by depth and painting them from back to front.
Gouraud shading is an interpolating shading method. It calculates vertex colors and interpolates these values across the surface of the polygon, producing a smooth gradient effect.
Gouraud shading is not an averaging shading method. The interpolation does not involve averaging; rather, it uses the intensity values calculated at vertices.
The Z-buffer algorithm does not find the largest depth value Z. Instead, it keeps track of the smallest depth value (closest to the viewer) for each pixel to determine visibility.
Additional Information
Painters' Algorithm:
Named after the technique used by painters to paint distant objects first and then closer ones.
It sorts polygons by their depth and renders them in a back-to-front order.
It may fail in cases of overlapping or cyclically overlapping objects.
Gouraud Shading:
Smoothly interpolates colors across the surface of a polygon.
Calculates lighting at vertices and interpolates linearly across surfaces.
May result in inaccuracies, such as missing specular highlights.
Z-buffer Algorithm:
Also called depth-buffering, it determines which surfaces are visible in a scene.
Stores depth values for each pixel in a buffer.
Compares the depth of incoming pixels with stored values to decide visibility.