0
4.6kviews
Explain any one Hidden surface removal algorithm in detail.

Mumbai University > Mechanical Engineering > Sem 7 > CAD/CAM/CAE

Marks: 10M

Year: May 2013, Dec 2013

1 Answer
1
84views
  • Z-buffering is an image space algorithm.
  • Algorithm:

    for each polygon P
    
    {for each pixel (x, y) in P 
    
    {compute z_depth at x, y
    
    if z_depth < z_buffer (x, y) then
    
    set_pixel (x, y,color) 
    
    z_buffer (x, y) <= z_depth}}
    

enter image description here

  • The algorithm is usually applied to scenes containing polygon surface, because depth …

Create a free account to keep reading this post.

and 2 others joined a min ago.

Please log in to add an answer.