P A02-Ray Tracing
- 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
- 3 images with 1, 10, 100 rays per pixel with image resolution 680 by 680 or higher using a perspective camera
- 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 |