Deep Radiance Caching - Compile From Source

Compile using Docker

The build.sh script in https://github.com/giuliojiang/pbrt-v3-DRC-docker/tree/master/docker-from-source can be used to compile the full project from source.

The output is an image similar to https://hub.docker.com/r/giuliojiang/drc, containing a demo scene runnable with

docker run -it -p 3000:3000 giuliojiang/drc:v0

and all compiled binaries in /app.

Compile manually

Prerequisites

You will need:

Compilation

Clone the repository

git clone --recursive https://github.com/giuliojiang/pbrt-v3-IILE/
cd pbrt-v3-IILE
python3 compile.py

The serialized PyTorch model data needs to be downloaded

wget -O iispt_model.tch "https://github.com/giuliojiang/pbrt-v3-IISPT-dataset/releases/download/v4/iispt_model_f1.tch"

You should now be able to use PBRT-DRC via the main launcher bin/pbrt