Gltf-blender-io: A Model That Can Be Exported Only While Draco Is Disabled

Created on 22 Apr 2019  路  3Comments  路  Source: KhronosGroup/glTF-Blender-IO

Describe the bug
I created a file that works fine except that it can't be exported with draco enabled.

To Reproduce

  • Export multiple, arbitrary models to gltf.
  • Merge these files in the same way blender exports multiple meshes. Except for the indices. Assign each mesh its own indices bufferview. This is practically the equivalent of merging files by copy pasting object properties.
  • Import it back to blender.
  • Export it in various ways. Fbx, gltf, etc. Observe that it works fine. The produced files are compatible with other programs. They can be imported back to blender.
  • Try to export it to gltf with draco enabled. Watch it fail with an error about indices.

Expected behavior
Since it can be exported as gltf without draco, it should able to be exported with draco.

Files

out-take1.zip

out-take1.gltf & out-take1.bin

Version

  • OS: Linux
  • Blender v2.80 Beta, 2.7 branch, hash 797539e76ccf, 2019-04-21 20:30
bug draco exporter

Most helpful comment

I can confirm the bug and will take a look at the exporter

All 3 comments

Same issue here #440.

This issue appears to be back. Model fails to export when Draco is enabled.

Version:
2.92.0 (2.92.0 2021-02-25).
Mac OSX 11.2.2

To Reproduce:

  • Export model to GLTF 2.0 with Draco compression enabled.
  • Model exports fine without Draco.

Error:

Screen Shot 2021-03-02 at 2 45 14 PM

Files:

hamburger.blend.zip

hamburger.glb.zip

I can confirm the bug and will take a look at the exporter

Was this page helpful?
0 / 5 - 0 ratings