Question about the Implementation of quantize Method which calls prune and dedup #1179
-
I've noticed that the I have a model where I intend to use the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Quantization requires modifying data throughout the scene, sometimes including materials. To clean up any unneeded data, Probably the cleanup could be made more precise - to deduplicate materials only if materials were modified, for example - but that isn't implemented currently. See: glTF-Transform/packages/functions/src/quantize.ts Lines 127 to 134 in f261f4b |
Beta Was this translation helpful? Give feedback.
-
@donmccurdy thank you for explaining. Perhaps, consider adding more specific options to control the behavior of doc.transform(quantize({
dedup: false,
prune: false
})); |
Beta Was this translation helpful? Give feedback.
Resolved in #1185.