CSC 418/2504 Fall 2001 Assignment 3 Sample Code
Animation Project:
- anim.cpp : main program.
- ui.cpp : user interface.
- Files for compiling on CDF:
- Files for compiling with MS VC:
Ray Tracer Project:
- point-in-polygon.c :
look at the function pointIsInside(), which does a 2D
point-in-polygon test. This is useful for ray-tracing
polygons.
- cylinder.cpp : code from
assignment 3, for a ray-cylinder intersection test.
Alejo Hausner,
Dept of Computer Science,
University of Toronto
Last modified: Mon Nov 19 11:26:25 EST 2001