18.08.2013 Views

Rasterization - University of Southern California

Rasterization - University of Southern California

Rasterization - University of Southern California

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Edge vs Scan Line Intersections<br />

• Brute force: calculate intersections explicitly<br />

• Incremental method (Bresenham’s algorithm)<br />

• Caching intersection information<br />

– Edge table with edges sorted by y min<br />

– Active edges, sorted by x-intersection, left to right<br />

• Process image from<br />

smallest y min up<br />

17

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

Saved successfully!

Ooh no, something went wrong!