Homework 6 - Glass and Metal


Ray tracing is fun, especially with glass and metal objects (and without headaches). The images below have been rendered using my VIRT (Very Inefficient Ray Tracer) with parameters n_glass=1.5 => R0_glass=0.04, R0_metal=0.8 (which I just guessed instead of looking up the precise values), and attenuation factors k_red=k_blue=0.4, k_green=0.05 (which I had to guess). Also, I used RGB instead of spectra, which I plan to add later.

In the first image we have a metal and a glass sphere only (25 samps/pix).


Now let's put a glass block in front of the metal sphere. Here is the same with bigger attenuation factors (I think it is too green).


To increase tracing time, some more spheres and blocks are added (100 samps/pix).


ikits@cs.utah.edu