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

Specifying --draco.quantizePositionBits greater than 20 breaks the resulting file #609

Open
hybridherbst opened this issue Jan 17, 2022 · 0 comments

Comments

@hybridherbst
Copy link

Processing the attached file with

gltf-pipeline -i .\temple-file.glb -o .\temple-file.draco.glb --draco.quantizePositionBits 23

doesn't produce any errors, with a seemingly valid resulting file.

But the file does then not load with any draco decoder I tried, always producing errors similar to this (from THREE):
20220117-171558-Y1Sj-chrome_CxkJ

(and fails in babylon, three, model-viewer, glTFast)

From experimentation it seems that

  • specifying quantizePositionBits contributes to the problem
  • any value less than 20 works
  • values greater or equal to 20 break (tried 20, 21, 22, 23, 24, 25)

temple-file.zip
temple-file.draco.zip

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

1 participant