#3d #graphics #rend3 #renderer #wgpu

bin+lib scene-viewer

A gltf scene viewer based on the rend3 3D rendering engine

3 unstable releases

Uses new Rust 2021

0.3.0 Feb 12, 2022
0.2.1 Oct 9, 2021
0.2.0 Oct 9, 2021

#44 in Rendering engine

Download history 20/week @ 2022-02-11 4/week @ 2022-02-18 1/week @ 2022-02-25 7/week @ 2022-03-11 12/week @ 2022-03-18 1/week @ 2022-03-25 3/week @ 2022-04-08 24/week @ 2022-04-29 21/week @ 2022-05-06 51/week @ 2022-05-13

96 downloads per month

MIT OR Apache-2.0 OR Zlib

3.5MB
12K SLoC

scene-viewer

gltf (and glb) loader and viewer using the rend3 rendering engine.

Default Scene

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

Default scene, exposed through glTF:

cargo run --bin scene-viewer --release --  --shadow-distance 40 --msaa 4 --fullscreen

Sci-fi Base

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

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

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

Dependencies

~16–27MB
~494K SLoC