-------------------------------------------- student : benchun graded by : Damian Isla time : Fri Nov 19 15:50:35 EST 1999 problem set: ivray -------------------------------------------- Eye ray generation (0-2): 2 Cone, cyl, poly isection (0-2): 2 Shadow (0-1): 0.5 Reflection (0-2): 2 Transmission (0-2): 2 Shading (0-2): 1.5 Supersampling and jittering (0-2): 2 Statistics (0-1): 0 Exactitude (0-1): 1 total (0-15): 13 -------------------------------------------- notes: Good job on a tough problem set! You had just a few little problems. One problem was that shadows were not working -- I looked at your code and you have the right idea, only I think the line while ( (intersect == 1) && (trans > 0) && (distToLight > 0)); should be something more like while ( (intersect == 1) && (trans > 0) && (distToHit < distToLight)); with distToHit assigned appropriately Also specular highlights were not working (you had it commented out in your code). You didn't implement RayTraceStart and RayTraceFinish --------------------------------------------