This repository was archived by the owner on Dec 22, 2023. It is now read-only.
Added sample models for Draco_mesh_compression_extension #116
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
This PR adds sample models for usage of KHR_draco_geometry_compression. These models are created using COLLADA2GLTF. Please see the
glTF-Draco
folder in each model folder. The models could be loaded by modified ThreeJS GLTF loader.Here's preliminary compression result on the meshes of sample models:
Comparison on geometries (mesh/primitive only)
Comparison on glTF files (including texture, gltf file and other data)
For geometry part of data, the extension has a good compression ratio around 9X in average. But we are aware of that if comparing the entire glTF assets (e.g. in glTF-Binary format), the sizes of some models don't have significant reduction (in average ~3X compression). That's mainly because the animation data and texture image is a big part of some assets which the extension doesn't compress. We have plans to work on at least compressing the animation data as another extension in the near future.
Any feedback is very welcomed! Thank you!
@pjcozzi
@lexaknyazev
@FrankGalligan
@ondys
@donmccurdy
@jbrettle
@bghgary
@zellski