question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GLB models with Draco compression don't load in Blender 2.8

See original GitHub issue

Hello,

GLB models with Draco compression don’t load in Blender 2.8. I get this error: RuntimeError: Error: Extension KHR_draco_mesh_compression is not available on this addon version

Blender 2.8 build: 74db65e5424-win64

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

8reactions
donmccurdycommented, Jan 29, 2020

You can open a Draco-compressed glTF file in https://threejs.org/editor/ and export back out to glTF. That would remove any Draco compression on the file. In general I would recommend keeping source files (plain glTF, or ideally .blend or .3ds etc.) as Draco compression is lossy and not something you’d want to apply and remove repeatedly when making edits to a file.

6reactions
donmccurdycommented, Sep 18, 2020

Another workaround here, probably simpler than https://github.com/KhronosGroup/glTF-Blender-IO/issues/252#issuecomment-579885205

npm install --global @gltf-transform/cli@alpha

# Make an uncompressed copy of 'compressed.glb'
gltf-transform copy compressed.glb uncompressed.glb

^The copy command decompresses by default now, but in the future that will probably require a more specific command. After decompressing the file, Blender will be able to read it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sandbox can not export .babylon of .glb when .glb uses draco ...
I export my model to .glb in blender 2.8. When I am using the draco mesh compression, I can watch the model in...
Read more >
Draco compression support for GLTF in Blender 2.8
Hello,. Since Blender 2.8 supports GLTF and GLB out of the box, it would be extremely useful to have Draco extension implemented.
Read more >
We're not using Draco compression for these models as they ...
We're not using Draco compression for these models as they are already optimised a lot. I believe Draco is for more complex /...
Read more >
Using TextureLoader() with a draco compressed GLTF causes ...
A lot of 3D models files are texture-heavy rather than geometry-heavy. Draco only compresses meshes, so you need other things (see: Basis, KTX) ......
Read more >
Exported transmission texture for GLTF does not display at all
Whats the right way to create scenes ready for gltf and draco compression? 1 · Gltf animation not playing properly · 1 ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found