Skip to content

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

@hybridherbst

Description

@hybridherbst

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions