CSC 418/2504 Fall 2001 Assignment 2, Question 5.

Files:

The program uses three data files, which have the following format:

In the example given above, all the rays hit the BACK of the cylinder. Here is an image with three sample rays, through pixels:

The parameters are as follows:

Cylinder:

Camera:
Alejo Hausner, Dept of Computer Science, University of Toronto
Last modified: Mon Oct 22 15:53:10 EDT 2001