For this project, I created a recursive Ray-tracer in C++ that featured reflection, refraction, and multi-threading on the CPU.
In a custom file format, a user could input:
- Camera and file i/o
- Spheres and meshes of either smooth or flat shaded triangles
- Different lights and materials for Phong lightin
- The number of ray reflections to perform.
Future work includes: Fresnel effect, soft shadows, fix current refraction (little odd)
Enjoy some of the outputted images, as well as a link to the source code, below!
Source Code: Link