beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

GltfDracoCompression Op

Ops.Gl.GLTF.GltfDracoCompression


GltfDracoCompression
Namespace: Ops.Gl.GLTF

Op author: pandur

Uses DRACO Compression Loader by three.js
Test Patches: 1 Test
Uses library: draco - wasm wrapper (draco 3d mesh compression)
Uses library: draco - wasm (draco 3d mesh compression)

gltf draco compression library


add this op to your patch to be able to load (draco) compressed GLB files



Inputs

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

Draco Compression example

model from https://sketchfab.com/3d-models/habit-cheeseburger-08aa1eecd4b94ca795c2124035f693d2
by jtressel https://sketchfab.com/jtressle

no optimization other than compression

calorie count:

Original OBJ: 16,962kb
GLTF model without Draco compression: 3,885kb
With default Blender Draco compression settings: 616kb

Open Example In Editor

Youtube Video Tutorial

Patches using GltfDracoCompression

Changelog


created op
2021-08-25 - pandur
added lib: draco_decoder.js
2021-08-25 - pandur
Ops.User.pandur.Draco renamed to Ops.Gl.GLTF.GLTFDracoCompression
2021-08-25 - pandur
Ops.Gl.GLTF.GLTFDracoCompression renamed to Ops.Gl.GLTF.GltfDracoCompression
2021-08-25 - pandur