|
CSE Home | CSE 457 | Ray Tracer | About Us | Search | Contact Info |
|
Getting StartedModified sampleSample scenes <- Test your code with the sample!!! To get going, you need to download the Trace skeleton code. Download these files if you will be working in the Allen Center and these if you will be working in Sieg. Add to these files the source code. To go from one lab to the other, it will be necessary to replace the approapriate files (including the vecmath folder which must be in the src folder). We will be using .NET in the Graphics Lab (however - with a bit of effort you can also implement the project using Visual Studio 6.0 or on Unix. ) Open ray.sln file to build and run the program from within .NET. If you plan to work from home, you will need to download and setup Fltk yourselves. For Windows users, this will involve unzipping the file to "C:\Progam Files\fltk-1.1.4". If you do not have .NET at home it is free to download from Microsoft here. Note that we are not supporting Linux development, though you are free to try it on your own. More complete setup directions for Win32/Linux can be found here. What the Skeleton Program doesYou should be able to figure this out yourself by comparing results with the sample solution. You should notice that most of the basic geometry-handling code is done. The skeleton program is able to cast rays into an image and draw color on the screen, sesultin in some flat-shaded polygonal shapes. The skeleton program is doing ray-casting only and nothing more. |
Computer Science & Engineering University of Washington Box 352350 Seattle, WA 98195-2350 [comments to tamoore] |