Illumination and Shading |
Phong AlgorithmFor each visible polygon For each scanline Calculate normals at edge intersections (span extrema) by linear interpolation For each pixel on scanline Calculate normal by interpolation of normals at span extrema Evaluate illumination model with that normal |
Made by dynaPage 0.2 |