ladybug-tools / bsdf-viewer

🎇 A web-based viewer for BSDF files
https://www.ladybug.tools/bsdf-viewer/
GNU General Public License v3.0
2 stars 3 forks source link

BSDF Viewer

BSDF viewer is a web-based BSDF parser and viewer written in JavaScript. The project is inspired by Andy McNeil's BSDF viewer.

The goal of the project is to address the current issues with installation and operating system compatibility by developing a web-based viewer for BSDF files that runs in every modern browser.

And if you are wondering what BSDF stands for. It stands for Bidirectional Scattering Distribution Function. If you are dead serious to learn about BSDFs and their use in Radiance then see this slides from the BSDF workshop.

Click to open the viewer

Roadmap

The project is a work in progress and currently does not support TensorTree BSDFs. The parser for TensorTree files has been already implemented but there is no viewer!

Credits

The BSDF viewer is using D3js for interactive visualization.

The legend is modified from this example.

The viewer is using polygon-clipping library for merging outgoing patches for TensorTree BSDFs.

So many thanks to: