30.12.2013 Views

Visibility and Hidden Surface Removal

Visibility and Hidden Surface Removal

Visibility and Hidden Surface Removal

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

z-buffer: exploiting depth<br />

coherence<br />

• From one scanline (y) to the next (y + 1):<br />

left polygon edge point: from (x, y) to (x + 1/m, y+1),<br />

where m is the slope of the polygon edge<br />

• So the new z<br />

A<br />

z x =z<br />

C<br />

z y =z<br />

A/m + B<br />

C<br />

© Machiraju/Zhang/Möller<br />

Pre-computed<br />

<strong>and</strong> stored<br />

42

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!