Index of refraction 1.33, double precision floating point:
![](http://cs.unm.edu/~jbowles/cs413/a6/tests/glass_sphere_double_close_1.33.png)
Index of refraction 1.33, single precision floating point:
![](http://cs.unm.edu/~jbowles/cs413/a6/tests/glass_sphere_float_close_1.33.png)
Difference image of the two:
![](http://cs.unm.edu/~jbowles/cs413/a6/tests/diff_close_1.33.png)
The banding is gone, but now I'm seeing some ellipse shaped dark spots that I didn't expect to see.
The next three images use an index of refraction of 2.69.
Double precision:
![](http://cs.unm.edu/~jbowles/cs413/a6/tests/glass_sphere_double_close_2.69.png)
Single precision:
![](http://cs.unm.edu/~jbowles/cs413/a6/tests/glass_sphere_float_close_2.69.png)
Difference:
![](http://cs.unm.edu/~jbowles/cs413/a6/tests/diff_close_2.69.png)
No comments:
Post a Comment