We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm exporting a model from ThreeJS in node using https://www.npmjs.com/package/@injectit/threejs-nodejs-exporters
and then running that through gltf-pipeline in node. However, I am not seeing a decrease in size from the outputted file and the stats log:
Statistics after: Total byte length of all buffers: 0 bytes Images: 0 Draw calls: 0 Rendered primitives (e.g., triangles): 0 Nodes: 0 Meshes: 0 Materials: 0 Animations: 0 External requests (not data uris): 0
However, if I save the output from threejs-nodejs-exporter and run that saved file with the gltf-pipeline cli tool, i get a much smaller file.
These are the options im passing in:
const options = { dracoOptions: { compressionLevel: 7, }, stats: true, };
Any ideas why?
The text was updated successfully, but these errors were encountered:
Ahhhh, solutions was calling JSON.parse on the output, which is a buffer, of threejs-nodejs-exporters
threejs-nodejs-exporters
Sorry, something went wrong.
No branches or pull requests
I'm exporting a model from ThreeJS in node using https://www.npmjs.com/package/@injectit/threejs-nodejs-exporters
and then running that through gltf-pipeline in node. However, I am not seeing a decrease in size from the outputted file and the stats log:
However, if I save the output from threejs-nodejs-exporter and run that saved file with the gltf-pipeline cli tool, i get a much smaller file.
These are the options im passing in:
Any ideas why?
The text was updated successfully, but these errors were encountered: