glTF exporter: add postprocessing using gltfpack
commit97d4736cf060a3f5d0281df88d87c3d065f92c7b
authorJulien Duroure <julien.duroure@gmail.com>
Tue, 28 Nov 2023 20:14:54 +0000 (28 21:14 +0100)
committerJulien Duroure <julien.duroure@gmail.com>
Tue, 28 Nov 2023 20:14:54 +0000 (28 21:14 +0100)
treeac3fc0cba688e49f32e3743c4a77cea39648009c
parent2dfdcb0f7ee7675f259610413c5b21846499068e
glTF exporter: add postprocessing using gltfpack

In addon preferences, user can set the path to binary gltfpack, and a new option panel will display
new option. gltfpack is executed as postprocessing on generated gltf/glb file.

See https://meshoptimizer.org/gltf/
io_scene_gltf2/__init__.py
io_scene_gltf2/blender/exp/gltf2_blender_export.py