Triangle Rasterization, Setup

3/24/98


Click here to start


Table of Contents

Triangle Rasterization, Setup

Recall Major Pipeline Sections

Triangle Definitions

Compute Slopes, lines

View Triangle as two subtriangles

Rasterization Algorithm

What is DoSpan?

Major Edge can be on Right Side

Actual Algorithm Code a bit more complex

What about Z?

Incremental Method

What are A, B, C values?

What are A, B, C ? (cont)

dz/dx, dz/dy

New Z value when Scanline++

What about R,G,B,A Interpolation?

Derivatives Summary

1/C Calculation

Adjusting to Pixel Centers

Author: Bob Reese

Email: reese@erc.msstate.edu

Home Page: http://www.erc.msstate.edu/~reese

Download presentation source