This package contains a ray tracer which supports quadric surfaces (spheres and ellipses), linear surfaces (planes and boxes) and combinations of the two (cylinders).
This file was last updated on 7 September 2011.
This package is distributed under the terms of the GNU General Public License
version 3. For more information, see the file
COPYING in this directory.
This project uses Maven for build management and requires Java 1.6 to compile.
To package this project into a JAR file, run
This produces an executable JAR file in the
To compile this project, run
To test this project, run
To get project reports and development information, run
You can then view the site by opening
target/site/index.html in a web
Running the GUI
A very simple graphical user interface is provided, so you can easily view the results of tracing a model. In order to use the GUI, first compile the ray tracer by running
Use the "File > Load model..." command to load and trace a model file. The
results will be shown in the window when tracing has completed. Some example
models are provided in the
The model file format is specified in model_file_format.txt. Example files are
provided in the
To prepare this package for development in Eclipse, run
mvn eclipse:eclipse -DdownloadSources=true -DdownloadJavadocs=true
mvn eclipse:configure-workspace -Declipse.workspace=/path/to/workspace
/path/to/workspace is the path to your Eclipse workspace.
Eclipse automatic source formatting rules can be found in
the top-level directory of this project.
To use Checkstyle, the Maven Checkstyle plugin, or the Eclipse Checkstyle
plugin, use the
checkstyle.xml file in the top-level directory of this
Jeffrey Finkelstein firstname.lastname@example.org