Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 627 Bytes

File metadata and controls

18 lines (16 loc) · 627 Bytes

RayTracer

In this project I implement fully functional ray-tracer from scratch in C. You can see the increments in the folder sequence: RT1 to RT4. Each folder comes with a makefile. To build, simply run make. To run, ./main input-file-name Here I am using my own input file format. The full ray-tracer can be found in RT4 and implements:

  1. Spheres, ellipses, polygons
  2. Multiple light sources
  3. Texture maps
  4. Shadows
  5. Reflection
  6. Refraction
  7. Depth-of-field

Makefile written only for linux but all code is written generically so you could change gcc to your preffered compiler and it should theoretically build.