Skip to content

Fork of the Mitsuba renderer containing reference implementations of: (1) Adaptive Lightslice for Virtual Ray Lights, (2) the Forward Scattering Dipole model.

License

Notifications You must be signed in to change notification settings

RoaldFre/mitsuba-ALVRL-fwddip

 
 

Repository files navigation

Mitsuba — Forward Scattering Dipole Implementation

NOTE: If you stumbled upon this repo looking for an implementation of Adaptive Lightslice for Virtual Ray Lights, checkout the ALVRL branch!

About the Forward Scattering Dipole

This repository implements the Forward Scattering Dipole model within the Mitsuba renderer. More information about the model can be found in the SIGGRAPH 2017 paper 'A Forward Scattering Dipole Model from a Functional Integral Approximation'

Project page: http://graphics.cs.kuleuven.be/publications/FD17FSDM/

Note: the importance sampling routines in this repository have been improved considerably compared to the version that was published in the original paper.

Dependencies

All the usual dependencies of Mitsuba with an additional dependency on GSL (the Gnu Scientific Library). See the official Mitsuba documentation for more information.

How to Build

Get the repository:

$ git clone https://github.com/roaldfre/mitsuba-ALVRL-fwddip

The forward scattering dipole code lives in the fwddip branch.

$ git checkout fwddip

Select a build configuration (currently, only the gcc profile for double precision is fully supported)

$ cp build/config-linux-gcc-double.py config.py

Alternatively, if you want spectral rendering (e.g. to render a realistic skin material), you can choose a spectral build profile:

$ cp build/config-linux-gcc-spectral-double.py config.py

Once you have chosen a build profile, start the build process (e.g. assuming four cores)

$ scons -j 4

Add the proper directories to the $PATH (e.g. assuming sh/bash shell)

$ . setpath.sh

You should now be able to run the 'mitsuba' and 'mtsgui' commands (and several others).

Using the Forward Scattering Dipole Model

You can find documented example scenes on the project page: http://graphics.cs.kuleuven.be/publications/FD17FSDM/

Additional Subsurface Scattering Implementations

This branch also contains implementations for:

  • a classic Jensen dipole without irradiance caching (uncacheddipole)
  • the Dual-Beam 3D Searchlight BSSRDF of d'Eon (dEonDualBeam)
  • the Directional Dipole Model for Subsurface Scattering of Frisvad et al. (dirpole)

About

Fork of the Mitsuba renderer containing reference implementations of: (1) Adaptive Lightslice for Virtual Ray Lights, (2) the Forward Scattering Dipole model.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 91.6%
  • C 6.4%
  • Python 0.9%
  • Objective-C++ 0.4%
  • GLSL 0.3%
  • XSLT 0.2%
  • Other 0.2%