diff --git a/SuperBuild/CMakeLists.txt b/SuperBuild/CMakeLists.txt index 28fcf002..237d89e7 100644 --- a/SuperBuild/CMakeLists.txt +++ b/SuperBuild/CMakeLists.txt @@ -247,7 +247,7 @@ externalproject_add(lastools externalproject_add(draco GIT_REPOSITORY https://github.com/pierotofy/draco GIT_SHALLOW ON - GIT_TAG 396 + GIT_TAG 383 PREFIX ${SB_BINARY_DIR}/draco SOURCE_DIR ${SB_SOURCE_DIR}/draco CMAKE_ARGS -DDRACO_TRANSCODER_SUPPORTED=ON diff --git a/opendm/gltf.py b/opendm/gltf.py index bf509158..bcbbdbd4 100644 --- a/opendm/gltf.py +++ b/opendm/gltf.py @@ -300,7 +300,7 @@ def addBufferView(buf, target=None): _info("Compressing with draco") try: compressed_glb = io.related_file_path(output_glb, postfix="_compressed") - system.run('draco_transcoder -i "{}" -o "{}" -qt 16 -qp 16'.format(output_glb, compressed_glb)) + system.run('draco_transcoder -i "{}" -o "{}" -qt 16 -qp 16 -unified_quantization'.format(output_glb, compressed_glb)) if os.path.isfile(compressed_glb) and os.path.isfile(output_glb): os.remove(output_glb) os.rename(compressed_glb, output_glb)