Skip to content
New issue

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

Very long glb compression time #575

Open
ketourneau opened this issue Mar 3, 2021 · 1 comment
Open

Very long glb compression time #575

ketourneau opened this issue Mar 3, 2021 · 1 comment

Comments

@ketourneau
Copy link

Hi,

We compress glb files with draco with gltf-pipeline :
gltf-pipeline -i file.glb -o output.glb --binary --draco.compresssMeshes --draco.quantizePositionBits 16 --draco.unifiedQuantization true --draco.compressionLevel 10

With this glb file, draco compression took 45 min.
With this glb file, draco compresion took 27 min.

We tried to use --draco.compressionLevel 1but compression time still remains the same.

We have an average compression time of 5min on 112 glb so we don't understand why the 2 glb above take so much time.

Our Draco compression run in a docker image node:12-stretch-slim

Hardware Specifications

  • Debian 10
  • CPU : Intel Xeon E3 1240v6 3,70GHz
  • RAM : 32 GB

Thanks in advance !

@Ben-Mack
Copy link

Ben-Mack commented Jul 6, 2021

When my models contains nearly ten million tris, gltf-pipeline could be stalled for days (on a Ryzen 5950x).

Can we ultilize the c++ encoder to have the most of the speed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants