6.837 Intro to Computer Graphics, Fall 2003
Assignment 1: Ray Casting

Assignment Description (.pdf)

Image Library

Linear Algebra Library

Ray & Hit classes

Parsing

If you're interested, here's the scene description file grammar used in this assignment.

Input Files

Makefile for g++ on LINUX

Sample Results

raycast -input scene1.txt -size 200 200 -output scene1.tga -depth 9 10 depth1.tga

raycast -input scene2.txt -size 200 200 -output scene2.tga -depth 8 12 depth2.tga

raycast -input scene3.txt -size 200 200 -output scene3.tga -depth 8 12 depth3.tga

raycast -input scene4.txt -size 200 200 -output scene4.tga -depth 13 16 depth4.tga