This applet is a raytracer in Java. It was origianlly ported from a CS123 final project, but has undergone many major changes, and improvements. It is still a work in progress. See The cs123 homepage for more information about graphics, and raytracers, and the final raytracer project and scene file format. Also, please see the Scene Viewer, if you would like to get a quick 3D rendering with the polygons method of rendering (no shadows, texturemaps, or reflections).

Your browser does not support java applets. Please use a newer browser, such as Netscape 3+ or IE 3+ or Hotjava.

So you might be wondering how to use this applet. There is a location box where you type the URL of the scenefile which you want it to render. Then you set up the parameters (or leave the defaults) and hit the big render button.

So, for example, if you wanted to render the 4-ball image, you might enter scenes/mirror_test.sc into the location line and press Render.

Here is a listing of scenefiles available from this server:


scenes/all_cheese.sc
scenes/all_objects.sc
scenes/cam_master.sc
scenes/cheese_test.sc
scenes/chess_master.sc
scenes/cone_test.sc
scenes/cube.sc
scenes/cube_test.sc
scenes/cube_test_master.sc
scenes/cyl_test.sc
scenes/cyl_test_board.sc
scenes/mirror_test.sc
scenes/robot.sc
scenes/shadow_test.sc
scenes/sphere_test.sc

And here are some of the sun ras rasterfiles that belong with the scenes.


scenes/bark.ras
scenes/board.ras
scenes/check.ras
scenes/cheese.ras
scenes/chess_master.ras
scenes/dive_cheese_123.ras
scenes/earth.ras
scenes/fire.ras
scenes/jupiter.ras
scenes/liqmtl.ras
scenes/mandril.ras
scenes/marble.ras
scenes/moon.ras
scenes/plasma.ras
scenes/topleft.ras
scenes/uglymarble.ras
scenes/venus.ras