simplifyAttr: attribute-aware impl of simplify #992
kzhsw
started this conversation in
Show and tell
Replies: 2 comments
-
This looks outstanding, thank you! I'm going to wait and dig into this more after the next |
Beta Was this translation helpful? Give feedback.
0 replies
-
@kzhsw Thanks for this. Will try to implement this on my own setup and let you know the result. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Recently meshoptimizer merged attribute-aware simplification here: zeux/meshoptimizer@4a0c891, and code changes are needed to corrently pass attributes to meshoptimizer.
Note the
simplifier
instance passed in should be taken from master branch, or built with latest code, not from npm until next release of meshoptimizer.Updated 20230621, featuring optional simplify of morph targets, this should fix #822
Updated 20240711 for meshopt 0.21.0
Updated 20240712 merged some code form git head
For using this without rebuilding
@gltf-transform/functions
, functions listed here is not exposed, manually copy-and-paste could be needed:formatDeltaOp
deepListAttributes
remapAttribute
deepSwapAttribute
Beta Was this translation helpful? Give feedback.
All reactions