Processing Raytracer icon Processing Raytracer
University Project #Graphics

Raytracer#

Using only the built in method for setting an individual pixel’s color I implemented:

  • A raytracer with Phong lighting
  • Classes that calculate surface normals, ray intersects and reflections for spheres, circles, infinite planes, and infinite cylinders
  • The ability for some surfaces to be mirrors

Whenever you press any key, the raytracer will switch between scenes

Code written in Processing

← Back to Projects