Physically based gradient domain renderer with various other algorithms implemented alongside it. This is built over PBRT v-4
-
Gradient Domain Rendering, with path reconnection
-
Stochastic Lightcuts, with VPL generation for indirect lighting
-
Gradient Domain Rendering with Stochastic Lightcuts Shiftmapping
As before, pbrt uses git submodules for a number of third-party libraries
that it depends on. Therefore, be sure to use the --recursive
flag when
cloning the repository:
$ git clone --recursive https://github.com/mmp/pbrt-v4.git
If you accidentally clone pbrt without using --recursive
(or to update
the pbrt source tree after a new submodule has been added, run the
following command to also fetch the dependencies:
$ git submodule update --init --recursive
pbrt uses cmake for its build system. Note that a
release build is the default; provide -DCMAKE_BUILD_TYPE=Debug
to cmake
for a debug build.
pbrt should build on any system that has C++ compiler with support for C++17; we have verified that it builds on Ubuntu 20.04, MacOS 10.14, and Windows 10. We welcome PRs that fix any issues that prevent it from building on other systems.