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

Build Status Python Version License: MIT

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.

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

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •