The best suited hidden surface algorithm to deal with non-polygonal,…

2018

The best suited hidden surface algorithm to deal with non-polygonal, non-planar surface patches is

  1. A.

    Z-buffer algorithm

  2. B.

    ray tracing algorithm

  3. C.

    painter's algorithm

  4. D.

    scan line algorithm

Attempted by 2 students.

Show answer & explanation

Correct answer: B

Concept

Hidden-surface (visible-surface) detection methods differ in how directly they can handle a surface's true, continuous (non-planar) shape. In their conventional, classical formulations, Z-buffer, painter's algorithm, and the scan-line algorithm all operate on planar polygon faces -- they compare, sort, or scan-convert flat facets -- so a curved surface typically must first be approximated (tessellated) into many small polygons before these methods can run on it. Ray tracing, in contrast, tests each ray directly against the surface's own analytic (mathematical) equation, so it does not need the surface reduced to planar facets at all.

Application

A non-polygonal, non-planar surface patch (for example a quadric or spline patch) is not naturally made of planar faces. Ray tracing casts a ray through each pixel and solves it directly against the patch's own equation to find the nearest visible point, so it handles curved patches without first approximating them as polygons -- making the ray tracing algorithm the best-suited choice among the given options.

Contrast

  • Z-buffer algorithm: in its conventional depth-buffer pipeline, it rasterizes and compares depth values for polygon fragments; applying it to a curved patch typically means first tessellating that patch into polygons, which loses the exact curved shape.

  • Painter's algorithm: in its conventional (depth-sort) formulation, it sorts and paints planar faces back-to-front by depth; applying it to a smooth non-planar patch typically requires first tessellating that patch into discrete planar faces to sort.

  • Scan line algorithm: in its conventional formulation, it processes polygon edge lists one scan line at a time; applying it to a curved patch similarly requires the object to first be represented as planar polygon edges.

Explore the full course: Up Lt Grade Assistant Teacher 2025

Loading lesson…