The result of ray tracing the 'Complex' scene. This scene showcases all the aspects of this ray tracer with several shapes that have been scaled, rotated, and translated to various positions,  different types of materials including a transparent glass sphere, recursive reflections, and soft shadows from multiple light sources.

Ray Tracing With WebGL

This was the second project I completed for my intermediate graphics class and my introduction to ray tracing. The goal of this project was to create a simple ray tracer with implicitly defined shapes such as spheres, cubes, and cylinders with various types of materials that are illuminated using the Phong reflection model. The ray tracer also features recursive reflections, soft shadows, transparency, and shape tranformations such translation, rotation, and scaling along any given axis....

March 13, 2023 · 2 min