Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion SuperBuild/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion opendm/gltf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading