shadows.xml: This scene tests shadows, using just spheres.
reflection.xml: This scene tests reflection and Phong shading, using just spheres.
columns.xml: This scene tests all the primitive types, though it does not stress the triangle mesh implementation, and it also uses groups.
The following triangle meshes are nicer versions of the meshes we provided for the last assignment. Their smaller size and more convenient position and scale may help make your last-minute debugging easier. These meshes are also better behaved than the low-res bunny mesh that many people have been using from the last assignment.
qslim
package, which simplifies meshes using edge collapse operations (many, many edge
collapse operations).
We are providing an acceleration structure for you to plug into your ray tracer, which will make it practical to ray trace triangle meshes. The interface is very simple and is documented in comments in the java files.
cs418-rtaccel-v3.jar (old v. 2)
This version contains the classes that interface with your code, a trivial implementation of the base class that does not actually accelerate at all, and an implementation that uses a kd-tree to do the acceleration. The trivial implementation may be useful for testing, but the two are entirely interchangeable.
Please direct any questions, concerns, or bugs to the cs417staff
mailing list.
java -cp imagemanip.jar cs418.ImageManipulatorWhen saving your images, please be sure to save in PNG format (it can be viewed by most programs and is not lossy).
<generalizedcylinder radialClosed="true"> ... </generalizedcylinder>but this will NOT work:
<generalizedcylinder> <radialClosed> true </radialClosed> ... </generalizedcylinder>Again, this should only affect you if you are writing XML files by hand, since the saving code will save boolean properties as attributes by default.
cs418/*/*.java cs418/*/*.class cs418/Main.classThat is, a cs418 directory with subdirectories beneath it. Each java file must have a corresponding class file within the same directory. In addition, you must have a cs418.Main class. This is the class we will be calling in order to run your project. If you want, you can just have this class call your real main method somewhere else in your project (this is probably a good idea, since you will have different entry points into your project as the project evolves over the semester). You will create a submission.jar file as you did for the last project, by first changing into the directory above the cs418 subdirectory and executing
jar cvf submission.jar cs418You will then submit this file using the web interface. You may submit multiple times, but only the last submission counts. We will be using the following command to run and grade your project:
java -cp submission.jar;gl4java.jar;vecmath.jar;parser.jar cs418.MainTry running this at least a couple of hours before the submission deadline. If this does not start up your project, you will lose a significant number of points on your assignment. We will have gl4java.jar, vecmath.jar, and parser.jar, so there is no need to submit these. Also, the gl4java dll will be in our PATH.