This is a simple path tracer written in C++ using OpenMP for parallelism.
mkdir build
cd build
cmake ..
make
./RayTracing
- Multithreading using OpenMP
- Ray Generation
- Anti-Aliasing with Jittered Sampling
- RR (Russian Roulette)
- Monte Carlo Integration
- BVH Acceleration
- Diffuse Material
There are totally 12 threads on my machine, and the runtime is as follows:
SPP = 32 with runtime 14s (leftmost/upmost)
SPP = 128 with runtime 39s
SPP = 512 with runtime 147s (rightmost/downmost)