Index of refraction: 1.33, camera farther
![](http://cs.unm.edu/~jbowles/cs413/a6/tests/glass_sphere_2_1.33a.png)
Index of refraction: 1.33, camera closer
![](http://cs.unm.edu/~jbowles/cs413/a6/tests/glass_sphere_2_1.33b.png)
Index of refraction: 2.69, camera farther
![](http://cs.unm.edu/~jbowles/cs413/a6/tests/glass_sphere_2_2.69a.png)
Index of refraction: 2.69, camera closer
![](http://cs.unm.edu/~jbowles/cs413/a6/tests/glass_sphere_2_2.69b.png)
That blue square is a messed up specular reflection. Looks like I might be a bit sloppy with my Blinn-Phong model, too.
I found some sloppy math, fixed it and the blown out specular highlight has been fixed.
ReplyDeleteI'll double check during the morning train ride.