Skip to content

Encoder missing #1409

Answered by donmccurdy
ermoschink asked this question in Q&A
May 12, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

See https://gltf-transform.dev/modules/extensions/classes/EXTMeshoptCompression. I would check that:

  1. MeshoptEncoder is imported as shown
  2. MeshoptEncoder.ready is awaited
  3. MeshoptEncoder is passed both to the meshopt() function, and to the I/O class dependencies

Aside – there is little point in applying both Draco and Meshopt, both cannot be applied to the same mesh. You probably will want to choose one of the two.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ermoschink
Comment options

Answer selected by ermoschink
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants