A self-contained pathtracer written in c++ for physically based rendering using Monte Carlo methods for realistic light simulation and image rendering.
The samples per pixel of the image will be directly proportional to the quality of the image as well as the time taken for it to render. You can customize the width and height of our viewport as well. We can change all this in the main function of main.cpp
int w =1024;
int h =768;
int samps = 400; //1600 spp (can modify)You can edit the scene as well, the default scene is that of a cornell box. The scene is located in the sphere.h header file
//object(radius,position,emission,color,material type)
sphere(16.5,vec3(27,16.5,47),vec3(0,0,0),vec3(0.99,0.99,0.99), SPEC),Compile the program using the makefile
makeIf the compilation is successful, execute the main program
main- C++ - the programming language used

