A Path Tracer built with Cuda and C++. For more information about path tracers, you can visit a previous project of mine CPU-Path-Tracer
-
Download & Install the Cuda Toolkit.
-
Install your C++ compiler of choice (compatible with nvcc, NVIDIA's CUDA compiler).
-
Install imagemagick (On Windows & Linux): this is used to convert *.pam images into *.png files
-
On windows, run
run.bat
to build & run the test scene. -
On linux, run
run.sh
to build & run the test scene. -
The frame will be saved as
frame.png
. -
Enjoy :-)