webIO document.transform(draco()) dont work well #1121
-
|
I am using gltf to simplify and compress my 3D model, but I find that in WEBIO, my use of draco() doesn't seem to work, and the exported model is the same file size as if I didn't apply draco(). But I used the Command-line API (gltf-transform draco input.glb output.glb --method edgebreaker) to use DERCO on the simplified exported model file. So how do you make webio's draco () useful so that it is exported using DROCO compression const glb = await io.writeBinary(document); // Document → Uint8Array |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Do you see any warnings in the JS console when running your code? I would expect there's something there about missing extensions in I/O. The Draco library needs to be installed separately - see: |
Beta Was this translation helpful? Give feedback.
Do you see any warnings in the JS console when running your code? I would expect there's something there about missing extensions in I/O. The Draco library needs to be installed separately - see: