Stochastic Ray Tracing!

Here are the images: (in uncompressed JPG instead of PPM for PC compatibility) :


The first two images are the chrome spheres scenario from model1.c; initially with specular power = 30 and then = 10. Both images have soft shadows enabled as well (with the extended light source having radius 2.0 and 2.5) , and a brick texture on the large triangle that has replaced the plane from program 1.

The third image is the glass ball and red ball scenario from model2.c; the viewpoint is changed and a slight translucency (0.9) is introduced. Note that here all lights are point sources and shadows are sharp. The fourth image has a lot more translucency, thus the image of the texture on the plane looks highly blurred and distorted in the glass sphere on the left (and clear in the metal sphere on the right).

Effects implemented (and how):


Problems


Code

A copy of the code for the ray tracer (in C++) can be found in this directory.


Page created by Deepak Bandyopadhyay 10/3/2000 04:24AM EDT, last updated 10/3/2000 04:39AM EDT.