Notes on my ivray:

1) The definition of AngularAttenuation was not given to us - so I assume
   that any reasonable function will do... I assume that increasing rate
   means that the cutoff occurs within a sharper range of angles.
2) I disagree with how the "test-ivray" implements the color blending.
   For one, if you look at asst6Btest2.iv with the associated environment
   asst6Benv2.iv, the output of test-ivray doesn't agree at all with what
   is expected. Specifically, the sphere has specular componenets (1,1,1),
   which means that it should reflect everything without attenuation.
   But, the image shows no evidence of either reflection from the squares
   above and below it or reflection from the surrounding background.
   If the image is generated by my ivray, it shows both of these artifacts,
   which I believe is the correct implementation.
3) Specifically, for color blending, I assume that any reflective/specular
   color components are not affected by the transparency value. For example,
   if you took a glass sphere and held it to a light, you would see the
   same specular highlight that you would if it were completely opaque but
   made of shiny plastic. I believe the same holds true for general reflective
   light rays. On the other hand, the transmitted/refracted colors are
   multiplied by the transparency, which makes sense. Also, the remaining
   color components are multiplied by (1.0-transpancy), since a transparent
   object will not contribute as much to the radiance for that pixel.
   This set of color blending choices does not agree with what is produced
   by the test-ivray, but I stand by my decision for how to blend the colors.
4) I accumulate values of eta as I go along a ray, meaning that being
   inside multiple objects will have a "cumulative eta". Since we are not
   given a solid description of the scene or a more thorough description
   of what the material properties are that give rise to that value of eta,
   I make this assumption of how eta values are composited. Note that by
   adding (eta-1) to the current value of eta every time we enter an object
   and subtracting (eta-1) from the current value of eta when we leave an
   object will maintain the property that eta=1 when it is in vacuum but
   allow us to composite etas when in multiple objects.
   Note also that there is a potential bug: objects whose surface doesn't
   enclose a space will mess up the entering/leaving eta property, but
   that's not my fault!
5) The definition for how "weights" are accumulated is not well-defined,
   hence the recursion depth for mine might differ from another implementation.
   Specifically, I multiply the current weight by the magnitude of the
   color 3-vector to obtain a new weight, while other methods might
   multiply it by the maximum component value instead.
6) The definition of how "visibility" is updated when we do the shadow ray
   casting isn't well-defined. I just multiply the transparencies along the
   way, but that is of course pretty arbitrary.

- Andreas
