Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://github.com/kehanxuuu/vspg-rendering-scripts
05 June 2025, 10:49:53 UTC
  • Code
  • Branches (1)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/vspg
    No releases to show
  • ff705f3
  • /
  • README.md
Raw File Download Save again
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
origin badgecontent badge
swh:1:cnt:ed3be5ac0ffa8d479eb4b4898c2757c66d0b07a8
origin badgedirectory badge
swh:1:dir:ff705f31d34e8109ef925a36fa8871f8319e47cd
origin badgerevision badge
swh:1:rev:684a6177136a87d63203e33dd54f37bc37051fe5
origin badgesnapshot badge
swh:1:snp:8ba577b9665e170dafd37181c23d28a7d398359c

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
Tip revision: 684a6177136a87d63203e33dd54f37bc37051fe5 authored by Kehan Xu on 04 March 2025, 19:51:51 UTC
[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
```

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API