ResearchDaniel / Correlated-Photon-Mapping-for-Interactive-Global-Illumination-of-Time-Varying-Volumetric-Data

Code related to the publication Correlated Photon Mapping for Interactive Global Illumination of Time-Varying Volumetric Data by Daniel Jönsson and Anders Ynnerman

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Correlated Photon Mapping for Interactive Global Illumination of Time-Varying Volumetric Data

Example code for tracing photons in time-varying heterogenous media using a visual importance map as described in the publication "Correlated Photon Mapping for Interactive Global Illumination of Time-Varying Volumetric Data". Note that each folder may have different licenses.

Please cite the article when making use of this code:

@article{JFY16,
author = {J{"o}nsson, Daniel and Ynnerman, Anders},
title = {{Correlated Photon Mapping for Interactive Global Illumination of Time-Varying Volumetric Data}},
journal = {IEEE Transactions on Visualization and Computer Graphics (TVCG)},
number = {1},
volume = {23},
pages = {901 - 910},
year = {2017}
}

Build

  1. Download and setup Inviwo (tested with version Inviwo commit 989dc16e00aff2e3955281dbcf5a224ec53d2001):
  1. Download and setup boost (required by the radix sorting library)
  1. Set the directory to this folder in CMake, IVW_EXTERNAL_MODULES path/to/CorrelatedPhotonMapping/modules;
  • Press Configure in CMake
  1. Enable the IVW_MODULE_PROGRESSIVE_PHOTONMAPPING
  • Press Configure/Generate in CMake until no errors appear.
  • Compile and run!
  • Load workspace workspaces/CorrelatedPhotonMappingSingleVolume.inv for and example.
  • Be patient: Optimal OpenCL workgroup sizes are found for sorting the first time loading the workspace.

Build system

Licenses

Each folder can be under a different license. See license.txt in each folder.

radixsortcl: clogs 1.5.0 is under MIT license

rndgenmwc64x: MWC64X is under BSD license

uniformgridcl: is under MIT license

importancesamplingcl is under Creative Commons Attribution-NonCommercial 4.0 International license

lightcl is under Creative Commons Attribution-NonCommercial 4.0 International license

progressivephotonmapping is under Creative Commons Attribution-NonCommercial 4.0 International license

About

Code related to the publication Correlated Photon Mapping for Interactive Global Illumination of Time-Varying Volumetric Data by Daniel Jönsson and Anders Ynnerman


Languages

Language:C 89.1%Language:C++ 10.6%Language:CMake 0.3%Language:GLSL 0.0%