Basic Shading

Home » Academia » RIT » Classes » Computer Graphics 2 » Basic Shading

The Images

No extras image (Phong, 1 light):

Phong-Blinn Shading image:

Multiple Light image:

Discussion

 

The Code

raytracer.py
The ray tracing application that iterates through the pixels. Also contains classes to model the scene and output.
primitives.py
The primitives (shapes, lights, ray, colors).
shaders.py
The shaders