A simpler, less performant, physically based, GPU ray tracer rewritten from PBRT-v4.
- CUDA acceleration
- spectral rendering
- HLBVH with work queues (Pantaleoni et al. 2010, Garanzha et al. 2011)
- integrator: AmbientOcclusion, SurfaceNormal, PathTracing
- C++ >= 17
- CUDA (compute capability >= 7.5, runtime version >= 11)
- CMake (>= 3.24)
- PNG library (for Debian, for Arch)
# clone this repository and its submodules
$ git clone --recursive https://github.com/w3ntao/pbrt-minus.git
# build with CMake
$ cd pbrt-minus
$ mkdir build
$ cd build
$ cmake ..
$ make -j
# render
$ ./pbrt-minus ../example/cornell-box-specular.pbrt -spp 4
More scenes could be found at https://github.com/w3ntao/pbrt-minus-scenes.
All rendered with scenes from https://github.com/w3ntao/pbrt-minus-scenes
(which is basically a subset of https://github.com/mmp/pbrt-v4-scenes).