files/sphere_wire.png files/sphere_r.png files/sphere_rads.png files/lab7image.png

Description

This lab is to help you get started with your second assignment which is on raytracing. The main difference between this lab and your second assignment is that in the second assignment you'll be working with a lot of skeleton code. To compensate, this lab will give you very little skeleton code and require you to implement much of the raytracing from scratch. We will focus in particular on casting the view rays through the pixel grid and determining collisions. Flat shading of the sphere is sufficient for checkoff, but I recommend staying the full time to work on Phong shading if you don't have it done in your project 2 yet.

Code

Sample code here.