From CS451 Fall 2016: Computer Graphics
Main: PA02-RayTracing
PA02
Ray Tracing is due on
Sept 29, 11:59pm
Code:
cs451-PA02.7z
Solution
:
cs451-PA02-solution.7z
This assignment will help you deepen the understanding of the following topics
Ray generation from refraction and reflection
Ray-triangle Intersection
Soft shadows
Basic Lighting (Diffusion, Specular, Ambient)
What to submit
Your code (with everything)
You RT file (name it cs451_pa02.rt)
Rendered images.
Make sure that you name your images as follows
3 images with 1, 10, 100 rays per pixel with image resolution 680 by 680 or higher using a perspective camera
name these images cs451_pa02_0001.jpg, cs451_pa02_0010.jpg, cs451_pa02_0100.jpg
README.txt file in cs451-
PA02
folder with the following information
The OS and compiler that you compile your code
How to build your program
Tasks that you completed
Tasks that you started but did not complete
Tasks that you did not start
What are the known bugs in your code?
How to submit
Submit your files in a single zip file on blackboard.
Please do not send us the file directly
Tasks
Task 1 (20%): Compute Intersection between ray and a triangle
Task 2 (25%): Determine reflection color
Task 3 (25%): Determine refraction color
Task 4 (25%): create soft shadows
Task 5 (5%): Create your own *.RT file.
Examples
example 1 (rendered from
this file
)
flat shading
smooth shading (not required for
PA02
)
1 ray per pixel
10 rays per pixel
100 rays per pixel
Retrieved from https://cs.gmu.edu/~jmlien/teaching/cs451/index.php?n=Main.PA02-RayTracing
Page last modified on October 19, 2016, at 10:43 AM