Ray Tracing, Version 1.2
| Goal: Ray trace a scene where
|
Directory:
Ray Tools:
Vector cross(Vector other); which returns the cross product of this vector with other vector. So if A,B, and C are each of type Vector, then the call
C = A.cross(B);will result in C = A X B.
Specifics:
Driver Program:
Make sure this still works for the simple case by setting
This should give you the same result as your two previous versions. If it does, then try different values for the camers's position and look-at point.
Working Directory:
Make a subdirectory v1.2 in your Working Directory. When you have version 1.2 working correctly, copy all files pertaining to it, including the makefile, to that directory and don't touch it!