Skip to content

Latest commit

 

History

History
94 lines (77 loc) · 3.96 KB

CHANGELOG.md

File metadata and controls

94 lines (77 loc) · 3.96 KB

Changelog

[0.4.1] - 2019-01-27

Fixed

Changed

  • (internal) upgrade to Rust Edition 2018

[0.4.0] - 2018-08-22

Added

  • --straight CLI parameter: Position camera in front of model if using default camera (i.e. glTF doesn't contain a camera or --cam-index -1 is passed) (#49)
  • Support more glTF options (#51/#3, now complete apart from animations):
    • TEXCOORD_1
    • alpha blending (Alpha Mode, Alpha Cutoff)
      • no depth/transparency sorting yet though, so result isn't always correct
    • all draw modes (Points, Lines, Triangle Strips etc.)

Fixed

  • Rendering of large objects -> dynamic near/far plane (#31)
  • Adding camera bounds cause incorrect bounding box estimation (#47)
  • Minor PBR shader fixes (copied from the reference shader)

[0.3.1] - 2018-03-16

Changed

Fixed

  • Decode images from data URIs (fully support embedded glTF files, #26)
  • Fix non-headless screenshots on high DPI displays (#23)
  • Fix panning direction (#25)

[0.3.0] - 2018-02-23

Added

  • re-add keyboard controls - WASD and cursor keys
  • remaining glTF camera options:
    • orthographic
    • infinite perspective
  • camera CLI parameters:
    • --cam-index (choose camera from gltf file)
    • --cam-pos
    • --cam-target
    • --cam-fovy (zoom)
  • ambient lighting
  • vertex colors (COLOR_0 vertex attribute)
  • --scene parameter to choose from multiple scenes in a file

Changed

  • default field of view (fovy) from 60˚ to 75˚

Fixed

  • Initial 'nice' camera position (some models were not properly centered)
  • Zooming with real mouse wheel

[0.2.0] - 2018-02-11

Changed

  • 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
  • background for screenshots is now transparent

Added

  • --count parameter (short -c) to generate multiple screenshots, rotating evenly spaced around the object (#10)
  • --headless parameter for real headless screenshot generation. Unfortunately it only works on macOS. For a workaround using xvfb/Docker see here.

[0.1.0] - 2017-09-23

  • 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] - 2018-07-28

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

[0.0.2] - 2018-07-15

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

[0.0.1] - 2018-11-15

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

The format is based on Keep a Changelog.