Disable "sparse" from CLI optimize #1733
Replies: 2 comments
-
|
Hi @zuggamasta! The glTF-Transform/packages/cli/src/cli.ts Lines 380 to 385 in b266c82 await document.transform(...transforms);That said, there's no particular reason that I've opened a PR with the change: |
Beta Was this translation helpful? Give feedback.
-
|
And about chaining CLI commands, not currently possible but a longstanding goal, see: In the meantime the closest thing for easier CLI usage would be to create a custom config with the commands you need, see https://gltf-transform.dev/cli-configuration. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there,
I have been using gltf-transform mostly from the gltf.report website and I am now moving to the CLI to speedup my tasks.
I render my glbs with cables.gl which can not read the files that went trough the "sparse" process. Disabling sparse seems not to be possible, as it is not exposed?
I understand that this might be a design decision. If it's not possible to disable that process: How is the process of chaining single commands? I can't seem to get the gist how this would be applied.
I would like to do something like:
gltf-transform join palette input.glb output.glbBut I will get:
Best and thank you in advance
Beta Was this translation helpful? Give feedback.
All reactions