Skip to content

w3ntao/pbrt-minus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pbrt-minus

A simpler, less performant, physically based, GPU ray tracer rewritten from PBRT-v4.

feature

requisite

  • C++ >= 17
  • CUDA (compute capability >= 7.5, runtime version >= 11)
  • CMake (>= 3.24)
  • PNG library (for Debian, for Arch)

build and render

# 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.

gallery

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).