Visibility and Hidden Surface Removal
Visibility and Hidden Surface Removal
Visibility and Hidden Surface Removal
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Scanline: scan example 3<br />
• At scanline y = g: AET has AB, DE, BC, FE<br />
– Render background color <strong>and</strong> then ABC as<br />
before<br />
Computed<br />
incrementally<br />
as in z-buffer<br />
– At DE: invert in-out flag of DEF; check depth<br />
information of “in” polygons (ABC <strong>and</strong> DEF in a<br />
list of “in” polygons)<br />
– Render DEF<br />
– At BC: still render DEF<br />
if no penetration<br />
– At FE: go background<br />
– Next scanline © Machiraju/Zhang/Möller<br />
60