Skip to content

Conversation

@zeux
Copy link
Owner

@zeux zeux commented Dec 1, 2025

APIs that are still experimental in this release:

  • meshopt_SimplifyPermissive flag for meshopt_simplify* functions (and associated meshopt_SimplifyVertex_* flags)

Closes #940.

@zeux zeux marked this pull request as ready for review December 2, 2025 21:45
zeux added 3 commits December 2, 2025 14:46
- Clarify behavior of Z for octahedral encoding (encoder writes 1.f,
decoder expects it)
- Clarify data addressing for meshlets (for triangle data, range is
offset..offset+count*3)
- Fix inconsistent parameter name for meshopt_analyzeVertexCache templated
overload
- meshopt_quantizeFloat preserves infinities (overflows are impossible)
- Minor grammar/wording fixes
Without this, access to CJS compatibility version of meshopt decoder is
not allowed by node, and potentially other bundlers.

While we could reuse "./decoder" export for this, it seems cleaner to
separate it so that the caller intentionally uses the CJS variant. Node
implicitly supports require on ESM files anyway so it is better that the
exports without a suffix route to the ESM files consistently -
especially because the resulting interface is a little different.
- Link to clusterlod.h from the initial section to make it easier to
discover.
- Note that for multi-subset simplification a simple concatenation is
sufficient.
- Fix normal quantization example that was encoding normal components
using 0..1 range.
- Fix wording in a few places.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v1.0 plans

1 participant