A simpler, less performant, physically based, GPU ray tracer rewritten from PBRT-v4.
- CUDA acceleration
- HLBVH with work queues (Pantaleoni et al. 2010, Garanzha et al. 2011)
- wavefront path tracing (Laine et al. 2013)
- spectral rendering
- multiple importance sampling
- power light sampler
- stratified sampler
Debian/Ubuntu:
$ sudo apt install -y cmake libglu1-mesa-dev libpng-dev libx11-dev xorg-dev
Setting up for other distros should be similar.
It's recommended to build it with Windows Subsystem for Linux.
CUDA on WSL might help set up CUDA.
$ git clone --recursive https://github.com/w3ntao/pbrt-minus.git
$ cd pbrt-minus
$ mkdir build; cd build
$ cmake ..; make -j
$ ./pbrt-minus ../example/cornell-box-specular.pbrt --spp 4
More scenes at https://github.com/w3ntao/pbrt-minus-scenes.