tracer

ISC License

Stars
0

Tracer

tracer identifies objects in a scene and does path tracing to measure how exposed they are to sunlight.

The approach here is heavily influenced by the techniques used in "A reverse ray-tracing method for modelling the net radiative flux in leaf-resolving plant canopy simulations" by Brian N. Bailey.

Dependencies

You'll need meson and ninja to build. You can get them from pip or your favorite packager manager.

pip install meson ninja

On Debian you can install these dependencies with:

apt-get install libomp-dev libglm-dev pkg-config

Building

To build, run:

git clone <this repo>
cd tracer
git submodule update --init
meson setup build
ninja -C build

Supported Input Formats

  • (DONE) GLTF
  • (TODO) OBJ
  • (TODO) PLY

Usage

tracer takes the path to the scene it should measure as its sole command line argument.