Blinn Phong Recursive Ray Tracer<!-- --> | Amy Lo

Blinn Phong Recursive Ray Tracer

A simple recursive ray tracer using the Blinn-Phong model.

Updated March 24, 2022 – 5 min read

Mockup of two phone screens showcasing donations next to Google logo in the center.


For CS148: Introduction to Computer Graphics, my partner and I rendered a scene using the Blinn-Phong reflection model, adding a shadow ray, ambient light, reflection, fresnel, and transmission. This was done using a ray tracing algorithm using recursion to approximate how a surface interacts with light.



Tools used



Vivian Xiao


1 week, October 2021

Project Overview

The Blinn-Phong reflection model method breaks up lighting into diffuse, specular and ambient reflection. This simple recursive ray tracer is used for mirror-like objects (e.g. metals, water) which reflect light or transparent objects (e.g. glass, water) which need light to pass through. Vivian and I implemented a simple recursive ray-tracing algorithm to model glass and reflective surfaces in the scene.

While I can't disclose the details of my project implementation due to Stanford's Honor Code, feel free to contact me if you would like to learn more.


otter dancing with a fish