Path Tracer that runs on CPU in C++.
- install a c++ compiler, cmake and ninja
winget install cmake
winget install LLVM.LLVM
winget install Ninja-build.Ninja- clone the repo.
git clone --recursive https://github.com/fahad-cpp/PathTracer PathTracer
cd PathTracer- build using cmake with ninja and run
cmake -S . -B build -G "Ninja" -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release
build\PathTracer.exe- install a c++ compiler, cmake and ninja using your package manager
sudo pacman -S clang ninja cmake- clone the repo
git clone --recursive https://github.com/fahad-cpp/PathTracer PathTracer
cd PathTracer- build using cmake with ninja and run
cmake -S . -B build -G "Ninja" -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release
./build/PathTracerR- Render againP- Print to PPMESC- Exit


