gltf-pipeline icon indicating copy to clipboard operation
gltf-pipeline copied to clipboard

Very long glb compression time

Open ketourneau opened this issue 3 years ago • 1 comments

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 !

ketourneau avatar Mar 03 '21 16:03 ketourneau

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?

Ben-Mack avatar Jul 06 '21 08:07 Ben-Mack