Go Back To The Portfolio
Ray Tracer

     The program in this folder is a ray tracer. I wrote the intersect (lines 46-79) and shade (lines 84-112) methods of the triangle class, and refraction (lines 123-167) and maximum depth (line 36) to the surface class. This ray tracer demonstrates its ability in this portfolio by showing how it can create three different images. Below are screenshots of the ray traced images

Test
Cow
Sboard
These are the source code files where my coding can be seen.

Triangle.java
Surface.java