**************************************************************** student : James Waldrop graded by : quark time : Sun Oct 25 21:16:15 EST 1998 problem set: assignment 2 -------------------------------------------- hexcone: visible probs?: bad color interpolation bad pixels (%): 16.113 ave error: 163.472 time(ms): 67 teapot: visible probs?: blocky (due to c.i.), and missing some triangles bad pixels (%): 16.887 ave error: 15.777 time(ms): 151 cow: visible probs?: very blocky, some wrong colors, missing triangles bad pixels (%): 24.175 ave error: 30.001 time(ms): 246 extra tri file: functionality (0-90): 80 extra credit (0-10): 0 total (0-100): 80 -------------------------------------------- notes: You appear to have two problems, bad color interpolation and missing triangles. The missing triangles are probably due to your applet not handling small triangles well (often due to rounding error or forgetting to round that then leads to a gross slope miscalculation--although I can't tell if that's your problem). As for color interpolation, I noticed at least one problem: // always check from the center for pixel colors pik = getColor((float)x+(float)0.5, (float)y+(float)0.5); The center of a pixel *is* the integer value, so adding a half seems like a bad idea. This shouldn't cause the serious problems that appear in the hexcone rendering, though. Otherwise, it looks pretty good. Fairly fast. I had to take off a few points for not having an example triangle file of your own. ****************************************************************