KhronosGroup/glTF-Sample-Models

how to compress bin file to draco format bin

jakkypan opened this issue · 4 comments

i want to compress the .bin file, but i cannot find any tool to compress it, how did you achieve that?

The most common tool for this is glTF-Pipeline. For example:

# input
model.gltf
model.bin

$ gltf-pipeline -i model.gltf -o model_compressed.glb -d -b

# output
model_compressed.glb

Recent versions of Blender also have Draco compression as an export option for glTF.

image

as you mentioned, i have try using the common tool, but it did not output anything and it went wrong, why??

by the way, how to use Blender to export Draco compression glb? from which version of blender?

It sounds like your version of node.js may be outdated. If updating it does not help, I'd suggest filing an issue on the glTF-Pipeline repository.

by the way, how to use Blender to export Draco compression glb? from which version of blender?

2.80+, if I remember right.