Releases: bwasty/gltf-loader-ts
Releases · bwasty/gltf-loader-ts
v0.3.1
v0.3.0
Changed
- [breaking change] renamed
fetchAll
topreFetchAll
. - [breaking change]
GltfAsset.bufferViewData
now returns aPromise<Uint8Array>
instead of aPromise<ArrayBuffer>
(to avoid any copies of the binary data - theUint8Array
is a view into the originalArrayBuffer
from the network request/dropped file).
Added
GltfAsset.accessorData
function that is similar tobufferViewData
, but also handles sparse accessors and accessors without buffer views.- Parameter
crossOrigin
onImageData
, defaulting toanonymous
(fixes loading images from other domains).
Fixed
- lazy loading of buffers (avoid duplicate requests for the same buffer)
v0.2.2
v0.2.1
v0.2.0
v0.1.0
v0.1.0-alpha
Initial release. Basics done except image loading, drag-and-drop support and sufficient tests.