Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Added sample models for Draco_mesh_compression_extension #116
This PR adds sample models for usage of KHR_draco_geometry_compression. These models are created using COLLADA2GLTF. Please see the
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.
referenced this pull request
Sep 8, 2017
Really awesome, thanks @fanzhanggoogle! This will be a big help to engine devs.
For the Total Geometry Size (byte) column, are these gzipped?
For the Uncompressed GLB File Size (byte) column, would it be better to report these numbers gzipped? For texture-heavy models, they may not be much different since jpg will not gzip well.
Animation compression in the future will be amazing!
@bghgary let us know how tests go with BabylonJS.
Hey Don, I will update those models for you today. I was trying to get the animation updated before, but I will do that first.…
On Thu, Jan 25, 2018 at 9:22 PM, Don McCurdy ***@***.***> wrote: @fanzhanggoogle <https://github.com/fanzhanggoogle> do these need to be regenerated with the specification version of the Draco encoder? I'm getting errors (THREE.DRACOLoader: Decoding failed: Failed to decode geometry data.) after updating to the _gltf versions of the decoder. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#116 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AMmNJl1CZEQXNmgKJARhik5EXrwG2DEiks5tOWEagaJpZM4PQFYd> .