Tags: disini/meshoptimizer
Tags
js: Update version for patch release 1.1.1 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.
js: Adjust simplify/simplifyWithAttributes assertions To make ErrorAbsolute mode useful in JS, it needs to allow values outside of 0..1 range; for simplicity we just remove the upper bound for now. Also, previously flags could contain values that are not recognized as valid options and this would silently work; these are now checked with assertions to prevent mistakes.
PreviousNext