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.

Scanline: scan example 2<br />

• At scanline y = b: AET has AB, AC, FD, FE<br />

– Render background color<br />

– At AB: invert in-out flag of ABC<br />

– Render “in” polygon ABC using information<br />

from PT<br />

– At AC: invert in-out<br />

flag of ABC<br />

– Render background<br />

– Repeat for FD & FE<br />

– Next scanline<br />

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

59

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

Saved successfully!

Ooh no, something went wrong!