Assignment 5 -- Ray Tracing Code Walkthrough


Here, we provide diagrams which show how the code is organized. This may prove to be useful if you have trouble figuring out what's going on.

Code Overview


This diagram is an overview of the ray tracing code (if it is hard to read, you may wish to print a Postscript version). There are 4 main "blocks" of subroutines in ivray, and the arrows above show how the blocks call each other. Each of them is numbered and displayed here (we are assuming that ivray is shading in recursive mode).



Block Diagram


This is a complete block diagram of the ray tracing code (if it is hard to read, you may wish to print a Postscript version). Here, you can see which subroutines belong to which blocks and how the different subroutines call each other. Each subroutine is listed above the name of the file in which it resides.

Don't Forget:

Ray Tracing is fun!