-------------------------------------------- student : mmaa graded by : Damian Isla problem set: ivscan -------------------------------------------- Renders 1st test (triangle) (0-3): 2 Renders 2nd test (rgb) (0-2): 1 Renders 3rd test (cube) (0-2): 1 Renders 4th test (interpen) (0-2): 1 Renders 5th test (ellipse) (0-2): 2 Renders 6th test (geekball) (0-2): 2 Exactitude (0-2): 2 total (0-15): 11 -------------------------------------------- notes: Your renderer is mostly working, but there are a few problems with it: 1) It does not correctly decide whether to light a pixel or not: pixels should only be lit when the pixel CENTER lies within the polygon. This did not work correctly in your implementation, probably because you did not adjust the starting X-value of each line to account for the points of the edge being off-center. 2) Color interpolation had something wrong with it - at the end of some polygon spans bright pixels appeared. 3) Depth interpolation did not function correctly. You should have been linearly interpolating h, not z, to get accurate intermediate depth values. --------------------------------------------