I built an IFC building model viewer entirely in Rust — Leptos for the UI, Bevy for 3D rendering (WebGPU/WebGL2),
parser. It compiles to a single WASM binary (~5.8MB Brotli), no C++ geometry kernel or JS runtime involved.
The demo loads the BayArena stadium with 324 floodlights carrying real EULUMDAT photometric data embedded in the IFC file.
Click any fixture to see its polar light distribution, beam angles, and color temperature. Press L to toggle photometric lighting mode it spawns actual light sources derived from the fixture data.
Source at
https://github.com/holg/bimifc