Homework 4 - Our Simple RayTracer


Sean Hernandez and Jorge Portal



Click here to download hw4.zip, the source files for our raytracer

Writeup


We completed most of the raytracing requirements:
- Ray-plane/triangle intersections
- Ray-sphere intersections
- Shading, Point Lights, Directional Lights
- Shadows
- Recursive Raytracing/Reflections
- Transformation matrices, matrix stack
- Triangle transformations

Unfortunately we ran into significant problems coding sphere transformations, despite triangle
transformations working fine. In our final submission we have included the broken transformations
for completion's sake, to show that we made an attempt at it. However, those lines are commented out. Sphere transformations are impossible in this posted version unless the source code is modified and uncommented.

Below are some pictures of what our raytracer can do with sphere transformations omitted.


Pictures