| Crates.io | gldf-rs-egui |
| lib.rs | gldf-rs-egui |
| version | 0.3.3 |
| created_at | 2025-12-08 12:50:46.394467+00 |
| updated_at | 2025-12-16 15:23:12.968457+00 |
| description | Cross-platform GLDF viewer using egui - works on Windows, macOS, Linux |
| homepage | |
| repository | https://github.com/holg/gldf-rs |
| max_upload_size | |
| id | 1973466 |
| size | 246,132 |
Cross-platform GLDF (Global Lighting Data Format) viewer built with egui.
cargo run -p gldf-rs-egui --release
Or build the release binary:
cargo build -p gldf-rs-egui --release
./target/release/gldf-viewer-egui
First, install Trunk:
cargo install trunk
Then build and serve:
cd gldf-rs-egui
trunk serve
Open http://127.0.0.1:8080 in your browser.
For a release build:
trunk build --release
gldf-rs-egui/
├── src/
│ ├── main.rs # Native entry point
│ ├── lib.rs # Library exports
│ ├── app.rs # Application state and logic
│ ├── web.rs # WASM entry point
│ └── ui/ # UI components
│ ├── mod.rs # UI module with menu/status bar
│ ├── sidebar.rs # Navigation sidebar
│ ├── welcome.rs # Welcome/drop zone view
│ ├── overview.rs # Overview dashboard
│ ├── header.rs # Header information view
│ ├── files.rs # Files list view
│ ├── light_sources.rs # Light sources view
│ ├── variants.rs # Variants view
│ ├── statistics.rs # Statistics view
│ ├── raw_data.rs # Raw JSON view
│ └── file_viewer.rs # Embedded file viewer
├── index.html # WASM HTML template
├── Trunk.toml # Trunk configuration
└── Cargo.toml # Dependencies
Open a file:
.gldf file onto the windowNavigate:
Export:
GPL-3.0-or-later