-------------------------------------------- student : ctalbott graded by : Damian Isla time : Sat Nov 20 17:23:47 EST 1999 problem set: ivray -------------------------------------------- -1 PT: NO EXECUTABLE TURNED IN Eye ray generation (0-2): 2 Cone, cyl, poly isection (0-2): 1.5 Shadow (0-1): 1 Reflection (0-2): 2 Transmission (0-2): 2 Shading (0-2): 2 Supersampling and jittering (0-2): 2 Statistics (0-1): 1 Exactitude (0-1): 1 total (0-15): 13.5 -------------------------------------------- notes: Good job on a very tought problem set! I just found a few small "issues": Cone intersection is not correct. The quadratic you set up should be: a = DxDx + DzDz - DyDy r^2/h^2 b = 2 (RxDx + RzDz - RyDy r^2/h^2) + Dyr^2/h c = RxRx + RzRz - RyRy r^2/h^2 + Ry r^2/h - r^2/4 ReflectionRadiance is very close but not quite right. You should be scaling the radiance return by the Trace by obj->Specular (actually a component-wise multiply) rather than just ks. ks is just an indication of how the weight of the ray should change. However, since this was really not that clear in the comments, no points were taken off for it. For shadowing, note that you do not need to separate infinite lights and other lights into separate cases (you were not marked down for this.) --------------------------------------------