Skip to content

Code for "Indirect Illumination of Emissive Inhomogeneous Volumes using Layered Polygonal Area Lights", PG2019.

License

Notifications You must be signed in to change notification settings

Paul180297/IndirectIlluminationLPAL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Volume Indirect Illumination using Layered Polygonal Area Lights

Creative Commons License

This is an official implementation of the paper "Real-time Indirect Illumination of Heterogeneous Emissive Volumes using Layered Polygonal Area Lights". For more details, please visit our project page!

Build & Run

Use CMake to build the program. Our program depends also on https://www.glfw.org/ and https://glm.g-truc.net/0.9.9/index.html. Please install these libraries to your computer beforehand.

For Windows, you can build it ordinarily using CMake GUI and Visual Studio.

For Linux, you can build and run the program by the following commands.

>> # Build
>> git clone https://github.com/Paul8029/IndirectIlluminationLPAL.git
>> cd IndirectIlluminationLPAL
>> mkdir build && cd build
>> cmake -DGLFW3_DIR=$PATH_TO_GLFW3 -DGLM_DIR=$PATH_TO_GLM -DCMAKE_BUILD_TYPE=Release ..
>> make -j4
>> # Now, you can find "main" executable in "build/bin".
>> cd bin
>> ./main ../../data/config.txt  # Please specify your own config if necessary

We tested the program using Visual Studio 2019 and GNU GCC v8.3.0 (g++) with C++17 filesystem, so please make sure your compiler supports filesystem when using another complier. Also, our program uses compute shader of GLSL and tested using OpenGL v4.5.

When running the program, please specify config.txt to the executable. If you wish to test your own volume data, please modify volumeFolder section in it.

Example

We included a simple static volume in data/density.vol and data/emission.vol. Also, you can download our animated data from Google Drive.

Demo movie

License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

(c) Takahiro Kuge, Tatsuya Yatagawa and Shigeo Morishima. (If you are interested in the commercial use, please contact us)

About

Code for "Indirect Illumination of Emissive Inhomogeneous Volumes using Layered Polygonal Area Lights", PG2019.

Resources

License

Stars

Watchers

Forks

Packages

No packages published