-------------------------------------------- student : flaspa graded by : Damian Isla time : Mon Nov 22 19:25:12 EST 1999 problem set: ivray -------------------------------------------- Eye ray generation (0-2): 2 Cone, cyl, poly isection (0-2): 2 Shadow (0-1): 0 Reflection (0-2): 1 Transmission (0-2): 1 Shading (0-2): 1 Supersampling and jittering (0-2): 2 Statistics (0-1): 1 Exactitude (0-1): 1 total (0-15): 11 -------------------------------------------- notes: Your code looks good, although I'm getting some severe problems when I try and run your executable: all the objects are completely black. Also in some cases, the program hangs, particularly the more complex test examples we ran it on. This hanging seems to be a problem with your shadowing code, since it only hangs when -shadowing or -recursive are specified on the command line (the only time that the shadowing code is run. Some specifics: One little problem you had was that for infinite lights, the direction-to-light vector, lDirWS, was reversed -- it should have been -light->directionWS rather than light->directionWS. I don't know if this was the cause of some of the other problems you had, but certainly its effects are unpredictable. Also: in TransmissionRadiance, you should assume that if we are entering an object, we are entering it from vacuum (eta = 1) and when we are exiting, we are exiting to vacuum. However, this was not made clear enough in the notes, so no points were taken off of you for it. You did not implement angular attenuation. --------------------------------------------