Replies: 4 comments
-
Hmm it's definitely supposed to, and seems to work for me: glTF-Transform/packages/cli/src/session.ts Lines 24 to 34 in 6671e0c Do you have an example model that doesn't decompress as expected? |
Beta Was this translation helpful? Give feedback.
-
you are right, not sure why this not worked on the server need some more investigation |
Beta Was this translation helpful? Give feedback.
-
ok, the problem comes from the basisu compressed images, would it be possible to unpack x.basis to PNG on the copy command? |
Beta Was this translation helpful? Give feedback.
-
The I do think a separate command ( |
Beta Was this translation helpful? Give feedback.
-
the cli copy command decompress draco compressed Assets automatic at the moment but not mesh_opt
what i read gltf-transform use the inbuild transform() https://github.com/donmccurdy/glTF-Transform/blob/main/packages/cli/src/cli.ts#L142
is there a example script to do this with meshopt registered extention?
Beta Was this translation helpful? Give feedback.
All reactions