Skip to content

Photon mapping with python wrapper (Spectral Photon Interception in Controlled Environment)

License

Notifications You must be signed in to change notification settings

openalea-incubator/spice

Repository files navigation

Building Package Python Version License: MIT License: CeCILL-C Anaconda-Server Badge Anaconda-Server Badge Anaconda-Server Badge

openalea.spice

minimal but extensible header only implementation of photon mapping in C++.

How to compile:

Install Miniforge: https://github.com/conda-forge/miniforge

Follow installation instructions. Use default installation settings.

Execute next commands in anaconda prompt.

Creating an environment

create and activate the conda environment:

mamba env create -f environment.yml -n photonmap
mamba activate photonmap

To install as a Python library:

python -m pip install ./

To compile the source code without installing (useful for debugging):

[ -d ./build ] || mkdir ./build; cd ./build
cmake -DCMAKE_BUILD_TYPE=Debug ../
make -j

Examples

A set of examples can be found in the ./examples/python directory.

Requirements

  • C++ (20>=)
  • CMake (3.20>=)
  • OpenMP
  • Embree (>=4)

Externals

Authors

This project was originally developed by YumcyaWiz (Kenta Eto). Main extension were developed by Aurélien Besnier and Nguyen Tuan Minh with contribution of J. Bertheloot, F. Boudon, T. Arsouze, E. Faure. This work was funded by INRAe Metaprogramme DIGIT-BIO (Digital biology to explore and predict living organisms in their environment).

Use case

This project is used in the coupling of MorphoNet and L-Py for the project Physioscope.

Licenses

The core of the photon mapping engine is released under the MIT License by YumcyaWiz.

The rest of the project is released under the CeCILL-C free software license agreement.

References

original git: https://github.com/yumcyaWiz/photon_mapping

About

Photon mapping with python wrapper (Spectral Photon Interception in Controlled Environment)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •