- Notifications
You must be signed in to change notification settings - Fork986
Description
Hello,
I am currently testing the compression of a specific 3D model using Draco.
Most models are working correctly.
However, when encoding a specific .glb file in the browser using thedraco_encoder.js bundle,
it takes over 4 minutes or freezes.
The same file encodes at a normal speed of about 500ms in the Node.js environment using thedraco_encoder_nodejs.js bundle.
Why is there a significant difference in encoding time between the web browser environment and the Node.js environment for this specific model?
The model is approximately13.6MB and has two geometries.
One of them contains position and normal buffers composed of aFloat32Array with a length of 842,748.
Could this be affecting the slow encoding in the web browser?
I used thegltf-transform library to conduct the encoding tests in each environment.
Thank you for your response.