Crates.io | scene-viewer |
lib.rs | scene-viewer |
version | 0.3.0 |
source | src |
created_at | 2021-10-09 23:22:45.541923 |
updated_at | 2022-02-12 01:28:35.575733 |
description | A gltf scene viewer based on the rend3 3D rendering engine. |
homepage | |
repository | https://github.com/BVE-Reborn/rend3 |
max_upload_size | |
id | 462952 |
size | 3,079,466 |
gltf (and glb) loader and viewer using the rend3 rendering engine.
To download the default scene:
# On windows, make sure to type curl.exe to get real curl, not the alias in powershell.
# On *nix, just type `curl`.
curl.exe https://cdn.cwfitz.com/scenes/rend3-default-scene.tar -o ./examples/scene-viewer/resources/rend3-default-scene.tar
tar xf ./examples/scene-viewer/resources/rend3-default-scene.tar -C ./examples/scene-viewer/resources
The source of the default scene is available here:
https://cdn.cwfitz.com/scenes/rend3-default-scene.blend
Default scene, exposed through glTF:
cargo run --bin scene-viewer --release -- --shadow-distance 40 --msaa 4 --fullscreen
Exported Unity Scene through glTF:
cargo run --bin scene-viewer --release -- ..\gltf-export\sci-fi-base-ktx\sci-fi-base.gltf --shadow-distance 1000 --msaa 4 --gltf-disable-directional-lights --directional-light -1,-0.5,-1 --directional-light-intensity 20 --fullscreen
Bistro scene from NVIDIA ORCA touched up by https://github.com/aclysma/rendering-demo-scenes
cargo run --bin scene-viewer --profile release -- ..\rendering-demo-scenes\bistro\bistro.gltf --normal-y-down --msaa 4 --gltf-disable-directional-lights --directional-light 1,-5,-1 --directional-light-intensity 15 --fullscreen
Emerald-Square from NVIDIA ORCA exported to GLTF with blender:
cargo run --bin scene-viewer --release -- ..\gltf-export\emerald-square\untitled.gltf --shadow-distance 1000 --msaa 4 --gltf-disable-directional-lights --directional-light -1,-1,-1
--directional-light-intensity 20 --fullscreen