---
title: CS488 Raytracer
date: 2011-07-26
summary: In 2011, I wrote a raytracer for my computer graphics course, exploring the implementation of a variety of different textures and materials.
published: true
image: final_scene.png
---

## Overview

This project was a University project for CS488 – Introduction to Computer Graphics. The primary goal was to explore the implementation of a variety of different textures and materials.

- Hard shadows
- Reflections, various degrees of reflectivity possible
- Glossy surfaces
- Refraction, physically based according to differing indices of refraction
- Texture mapping
- Bump mapping
- 2D/3D procedural textures

![Raytraced image of many spheres](final_scene.png "The final scene, demonstrating reflection, refraction, bump mapping, shadows, transparency, and translucency.")

![Raytraced image of many spheres](scene_textured_glass.png "All manners of textured spheres.")

![Raytraced image of many spheres](scene_glass.png "Heavy refraction from the front-most glassy sphere.")
