https://github.com/kehanxuuu/vspg-rendering-scripts
Tip revision: 684a6177136a87d63203e33dd54f37bc37051fe5 authored by Kehan Xu on 04 March 2025, 19:51:51 UTC
[vspg] Minor fix on the scripts
[vspg] Minor fix on the scripts
Tip revision: 684a617
README.md
# Rendering scripts for the paper "Volume Scattering Probability Guiding"
### [Project Page](https://kehanxuuu.github.io/vspg-website/) | [Paper](https://kehanxuuu.github.io/vspg-website/static/pdfs/volume_scattering_probability_guiding_sa24.pdf) | [Renderer Code](https://github.com/kehanxuuu/vspg-pbrt-v4/) | [Scenes](https://drive.google.com/file/d/1vwbKCk770Pb2O0915yrZNGMsbE0K4qpY/view?usp=sharing)
<img src="full-rendering.jpg" alt="full-rendering" width="1024"/>
This repository contains scripts to generate the renderings in the paper and the [supplementary viewer](https://kehanxuuu.github.io/vspg-website/vspg-supplemental/index.html).
It is an extension of Sebastian Herholz's [rendering scripts](https://github.com/sherholz/rendering-scripts).
# Dependencies
``` bash
pip install simpleimageio opencv-python numpy
```
# Instructions
* Build and install the [renderer code](https://github.com/kehanxuuu/vspg-pbrt-v4/), then create a hyperlink in the root directory named `pbrt-renderer` pointing to the `install` folder.
* Download the [scenes](https://drive.google.com/file/d/1vwbKCk770Pb2O0915yrZNGMsbE0K4qpY/view?usp=sharing), then create a hyperlink in the root directory named `pbrt-scenes` pointing to this folder.
* Run:
``` bash
# Equal-SPP experiments
PYTHONPATH=$PYTHONPATH:$PWD python3 runPBRTVSPGEqualSPP.py
# Equal-time experiments
PYTHONPATH=$PYTHONPATH:$PWD python3 runPBRTVSPGEqualTime.py
```