Gradient Mts Save

A collection of gradient-domain light transport algorithms implemented with Mitsuba

Project README

Light Transport Simulation in the Gradient Domain

Light transport simulation in the gradient domain is an efficient family of Monte Carlo rendering techniques that can converge a few times faster than standard Monte Carlo rendering. The basic idea of gradient-domain rendering is to first efficiently sample the horizontal and vertical gradient images in addition to the standard Monte Carlo rendering. The final image can be reconstructed from the gradients by solving an image-space Poisson problem. The final image can be seen as a denoised result of standard Monte Carlo rendering.

This repository contains several gradient-domain light transport simulation algorithms. It derives Mitsuba 0.5.0 and includes the gradient domain implementation of path tracing, bidirectional path tracing, photon mapping, vertex connection and merging. It also supports rendering participating media with volumetric photon mapping, beam radiance estimates, photon beams, and planes. The repository is made to support the course Light Transport Simulation in the Gradient Domain in SIGGRAPH Asia 2018 and the state-of-the-art report A Survey on Gradient-Domain Rendering in Eurographics 2019.

In case of problems/questions/comments don't hesitate to contact us directly: [email protected] or [email protected].

Integrators

This code includes several integrators originally implemented by many other researchers:

The code is located in the src/integrator/gradient folder.

Image reconstruction

For image reconstruction, it includes:

Currently, weighted reconstruction only supports gradient-domain path tracing. This reconstruction requires an estimate of the variance of the pixel value and its gradients. The support for other algorithms requires some extensions of this variance estimates which we temporarily leave as future work.

Scenes

Surface rendering

Volume rendering

Denoisers

To support the comparison of gradient-domain image reconstruction with Monte Carlo denoising techniques, the code also includes two popular denoising techniques:

Currently, this two denoisers are only compatible with path tracing. They require the auxilary buffer (NFOR) or samples histograms (BCD).

Troubleshooting

  • Make sure that the config.py files use DOUBLE_PRECISON flag instead of SINGLE_PRECISION since the current implementation of gradient-domain rendering is quite sensitive to floating point precision. This will hopefully be fixed at a later time.

Change logs

2023/04/24: Update links 2018/11/29: Initial code release

License

This code is released under the GNU General Public License (version 3).

This source code includes the following open source implementations:

  • Screened Poisson reconstruction code from NVIDIA, released under the new BSD license.
  • Mitsuba 0.5.0 by Wenzel Jakob, released under the GNU General Public License (version 3).
  • A small part of Tungsten by Benedikt Bitterli.
Open Source Agenda is not affiliated with "Gradient Mts" Project. README Source: gradientpm/gradient-mts

Open Source Agenda Badge

Open Source Agenda Rating