DOC PREVIEW
Berkeley COMPSCI 184 - Assignment 4

This preview shows page 1 out of 4 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 4 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 4 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

For this assignment you will write a ray tracer and use it to generate beautiful pictures that will astound all your friends. 1. This assignment is due as indicted above. Projects turned in late will lose points as de-scribed in the policies handout. This assignment should be done alone or in pairs. You may share ideas with other groups, but you may not share code.Although the assignment is officially due on the 9th, late points will assessed as if it were due on the 12th at 11pm. Thus for all practical purposes the assignment is really due on the 12th. The reason for this discrepancy is that we will not start grading the assignment until after the weekend so there is no particular reason not to let you have the extra days to work on it. However, the midterm exam is on the 14th. It is your choice whether the weekend is best spent working on the assignment or studying for the exam.2. You may develop on Unix, OS X, or Windows. The platform you use will be the one used to grade assignments. Keep in mind that there are slight variations due to OS versions, differ-ent libraries, and other factors, so you should verify that your code runs on the instructional machines appropriate for you platform choice.3. We will be using the submit software for submission of this assignment. Instructions for us-ing the submission software are here. You should include a README file that at the mini-mum contains the following information:• Your (and your partner's) name• The platform your code runs on• The location of your source code (i.e. indicate who in your group has done the submission, and on what platform). Only one of the people in your group should submit the actual code. The other people should only submit the README file.All files needed to compile your code should appear in the submitted directory. It is your re-sponsibility to make sure that they will compile and run properly.• Windows: The grader should be able to recompile your program by simply opening the project and rebuilding it from scratch.• Unix and OS X: The grader should be able to recompile your program simply by typing "make".You will also turn in some images. These should be named "image-nn.xxx" where nn is a number (e.g. 01, 02, 03...) and xxx is an appropriate extension (e.g. tif, jpg, ppm, etc.) The main input files needed to render those images should be named "input-nn". Finally there should be a "notes-nn" file for each input stating: the command line used to produce image-nn, how long it took to run, what features are demonstrated by the image, and any other comments you'd like to add about the image.CS 184: Foundations of Computer Graphics page 1 of 4Fall 2009Prof. James O’BrienAssignment #4Point Value: 120 pointsDue Date: October 9, 11pm4. Once you have your assignment working, you should also update your class web page to include an “Assignment 4” link to a page with images generated by your code. Make sure that your images demonstrate all the features that you have implemented in your code. If you work in a group, you should all link to the same web page and the web page should list your group members.5. This assignment will be graded by looking at your web page to see that you have posted ex-amples demonstrating all required features. The images on your website should correspond to the ones you submitted. If you want to get credit for any required or optional feature, you must include an image that clearly demonstrates that feature! Each image should include a caption stating the command line used to produce the image, how long it took to run, what features are demonstrated by the image, and any other com-ments you'd like to add about the image. (i.e. the same as the notes-nn file)After you have submitted the assignment, you may add additional images to your webpage. These images must be clearly labeled as added after submission. Also, any images gener-ated using a version of your code different from what was submitted must be labeled as such.6. Do not wait until the last minute to start this assignment. Even a minor bug in a ray tracer typically produces a black image with no other clue about what is wrong... that makes them very hard to debug. If you don't give yourself enough time, you will be most unhappy.Check the news group regularly for updates on the assignment or other clarification. We will assume that anything posted there is henceforth known to all.7. Submitting an image that was not generated by your code is considered cheating. Because raytracers may take a long time to generate a given image we can only spot check and you are largely on your honor that the images you show are yours. Please don’t violate this trust. 8. Grading will include points for aesthetics and creativity as demonstrated on your web page.It is suggested that you take some time to create a variety of nice test scenes and render several images. Some images should be plain and simple to demonstrate individual fea-tures. Other images should be more complex and demonstrate a creative use of your soft-ware to generate interesting images.Several polygon models in the .obj format will be posted to the class resources page. You are strongly encouraged to either make use of them or to obtain different models on your own.CS 184: Foundations of Computer Graphics page 2 of 4Fall 2009Prof. James O’BrienAssignment #4Point Value: 120 pointsDue Date: October 9, 11pm9. The required features that you must implement for full credit are:• Render arbitrarily oriented ellipsoids (actually, spheres are sufficient primitives so long as you can properly apply scales and rotations to them)• Render polygons (triangles are sufficient) • Use simple Phong Shading (in color)• Compute shadows• Compute reflections• Apply linear transformations to objects• Use point and directional lights• Write its output to a standard image format such as jpg, ppm, png, or tif.10. Optional features that you can implement for extra credit are:• Use some reasonable method for accelerating ray tests (e.g. BSP trees or AABs)• Transparency with refraction• Anti-aliasing• Lens effects / depth of field• Super quadrics• Programmable shading• Texture, bump, and/or displacement mapping• Spot lights and/or area lights• Other interesting featuresAll features should


View Full Document

Berkeley COMPSCI 184 - Assignment 4

Documents in this Course
Load more
Download Assignment 4
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Assignment 4 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Assignment 4 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?