Back to Projects

Whitted Raytracer

Repository

This was a final project I did with Delaware Wade for our Computer Graphics course. Written in C++, the program takes in a text input file of the location, dimensions and color of lights and objects, and outputs a raytraced scene.

A scene with only ambient lighting

ambient

The same scene, with Lambert shading to display diffuse effects

diffuse

The same scene, with Blinn-Phong shading to display specular effects

specular

Stanford dragon- this scene contains 50,000 vertices and after optimizing takes fifteen minutes to run

dragon Home

© 2023 Elaine Chao. All Rights Reserved.