Skip to content

v1.1.1

@zeux zeux tagged this 15 Apr 17:40
This release is planned to be just for NPM, to address a potentially
problematic bug with Wasm SIMD decoding, as well as a number of smaller
bugs.

MeshoptDecoder:

- Fix a rare vertex decoding bug when using Wasm SIMD, decoding vertex
  encoding version 1 encoded using maximum level (3) on data that ends
  up using xor+rotate encoding with the most significant bit set.
- Fix a rare race condition when using useWorkers(1), decodeGltfBufferAsync
  followed by useWorkers(0) where a delay in Wasm instantiation could
  cause a request to never complete.

MeshoptSimplifier:

- Fix compactMesh behavior for Uint16Array inputs that previously did
  not remap the input index array correctly
- Fix simplifyPoints behavior when vertex_colors or color_weight was not
  specified; previously the output could have slightly worse quality
  than optimal.
- Add absent TypeScript binding for generatePositionRemap.

MeshoptEncoder:

- Fix reorderMesh to flag Uint16Array inputs as invalid; these never
  worked properly but would silently corrupt index data previously.
- Fix encodeFilterExp to validate that the mode is one of the known
  strings.

MeshoptClusterizer:

- Fix computeMeshletBounds on empty inputs to return empty array.
Assets 2
Loading