Gltf Viewer Versions Save

glTF 2.0 Viewer written in Rust

0.4.1

5 years ago

0.4.0

5 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago
  • replace WASD+mouse navigation with OrbitControls based on three.js:
    • rotate: left click + drag
    • pan: right click + drag (still a bit buggy after rotation/zoom)
    • zoom: mouse wheel
  • add --count parameter (short -c) to generate multiple screenshots, rotating evenly spaced around the object (#10)
  • add --headless parameter for real headless screenshot generation. Unfortunately it only works on macOS. For a workaround using xvfb/Docker see here.
  • change background for screenshots to be transparent

0.1.0

6 years ago
  • add PBR shading
  • add screenshot generation via parameter (-s, --screenshot <FILE>)
    • Note: currently creates a hidden window, as the "headless" mode of glutin did not work as expected
  • Determine 'nice' initial camera position from bounding box of scene
    • doesn't work in all cases yet
    • glTF cameras are still ignored
  • update gltf crate to 0.9.2
  • remove URL parameter (HTTP handling needs to be re-implemented differently after large changes to the gltf crate)

0.0.3

6 years ago
  • add binaries for Win/Linux/macOS to releases
  • switch from glfw-rs to glutin
  • add performance logging
  • internal refactoring & optimizations

0.0.2

6 years ago

Fix shader handling (cargo installed version didn't work as shaders weren't compiled into the binary).

0.0.1

6 years ago

Initial release. Can display most glTF files, but without any lighting or textures.