Illumination and Shading
[prev][next]

Gouraud Algorithm

For each visible polygon
    evaluate illumination model at vertices
       using vertex normals

    For each scanline
        calculate intensity at edge intersections
	    (span extrema) by linear interpolation

	For each pixel on scanline
	    calculate intensity by interpolation of
	        intensity at span extrema

(like scan conversion with vertex colors)

[prev][next]
Made by dynaPage 0.2