Simple tephrite_rs scene viewer for GLTF/GLB files or a TOML scene list.
- Rust toolchain
- A valid Tephrite install on the host platform
- Assets referenced by the input file
cargo build
cargo run -- path/to/scene.glb
The TOML format allows you to list multiple scenes and an optional environment. Only the first scene group is visible initially. Use the configured input controls to switch between groups at runtime.
Example:
[[scenes]]
content = ["assets/scene_a.glb"]
[[scenes]]
content = ["assets/scene_b.glb", "assets/scene_c.glb"]
[environment]
environment_light_image = "ibl/workshop_4k_small.exr"
environment_light_scale = 5000.0Run:
cargo run -- path/to/scenes.toml
--environment-light-image <path>--environment-light-scale <float>
These CLI options override values from the TOML file when provided.
- Group switching uses
JoystickButton::TLandJoystickButton::TR