Skip to content

Releases: bwasty/gltf-loader-ts

v0.3.1

12 Jun 07:59
Compare
Choose a tag to compare

Changed

  • add url to error for failing file requests

Internal

  • add webpack-bundle-analyzer (npm run analyze)
  • bump dependencies

v0.3.0

06 May 17:19
Compare
Choose a tag to compare

Changed

  • [breaking change] renamed fetchAll to preFetchAll .
  • [breaking change] GltfAsset.bufferViewData now returns a Promise<Uint8Array> instead of a Promise<ArrayBuffer> (to avoid any copies of the binary data - the Uint8Array is a view into the original ArrayBuffer from the network request/dropped file).

Added

  • GltfAsset.accessorData function that is similar to bufferViewData, but also handles sparse accessors and accessors without buffer views.
  • Parameter crossOrigin on ImageData, defaulting to anonymous (fixes loading images from other domains).

Fixed

  • lazy loading of buffers (avoid duplicate requests for the same buffer)

v0.2.2

21 Apr 12:46
Compare
Choose a tag to compare
  • fix type exports
  • fix prepack (installing from git should now be possible)

v0.2.1

20 Apr 13:51
Compare
Choose a tag to compare

Fix package.json: add main and types.

v0.2.0

19 Apr 19:43
Compare
Choose a tag to compare

Add support for loading from Files (-> drag-and-drop)

v0.1.0

15 Apr 13:02
Compare
Choose a tag to compare

Add image loading
Internal: more tests, update to webpack 4.

v0.1.0-alpha

28 Feb 20:37
Compare
Choose a tag to compare
v0.1.0-alpha Pre-release
Pre-release

Initial release. Basics done except image loading, drag-and-drop support and sufficient tests.