This was a fun project I created in my Intro to Computer Science class. The project involved creating classes for objects such as rays, lights, cameras, and spheres and producing an image using the ray tracing calculations to bounce light off the sphere's normal into the virtual camera. The final version can take an input file of text specifying a list of spheres that can create a complex shape, like a bunny.
Back to Top