CS 6620 Project 2: Basic Ray Tracer


Top Previous Next


The following images are generated with one light source without specular lighting.


Image1 is generated by model file1.




Image2 is generated by model file2, with light source close to the triangle.




Image3 is generated by model file3.




Image4 is generated by model file4, with light source approximately at scene center.




Now, I add specular shading

These two images are the same as image1 and image2, except specular shading.









And finally, I add a weak (quite far, however without attenuation) light source (at 0,0,1000, and at 300,300,100 respectively) to the above two images.