-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extension EXT_meshopt_compression #106
Comments
I used gltfpack to optimize my GLTF assets. When using either of the compressions, I get: Required glTF extension EXT_meshopt_compression is not supported! I'm on GLTFast 3.1.0, Draco 1.4.0. When can we roughly expect this to be implemented? Thanks! Edit! I used GLTF-transform and this worked perfectly! |
Hi @NickPeelman , First, thanks for your interest! TL;DR: Not in my near-term planning, sorry. gltfpack is a great, great tool, and that alone is a reason to support this extension. However, my last comparison with Draco showed that on average it decodes MUCH faster, but is larger in size. On typical mobile connection speeds (up to LTE) this benefit does not pay off. That being said, I eventually want to include this extension, but cannot offer a timeline yet. hth |
I'd be curious if you included gzip on both the Draco and meshopt files? AFAIK meshopt does not provide as much compression as Draco on its own, but "instead of reducing the encoded size as much as possible, the bitstream is constructed in such a way that general-purpose compressor can compress it further." So Gzip (or other compression methods) will likely reduce meshopt-compresed GLB files still further, whereas they don't add much to Draco compression... Of course Gzip or Brotli will reduce decoding speed a bit. |
Hi @donmccurdy , Good to hear from you! Hope you enjoy the post-g life :) I did the mentioned tests in native (macOS) builds and not WebGL. Thus there was no gzip or brotli applied. I quickly tried brotli on some of my files: One of the models tested was a Volvo car taken from this sample project. What's impressive is that meshopt was performing better on this one! You'r right, brotli works much better on meshopt buffers than on draco. Usually the meshopt variant would be bigger though, like with this one: Before brotli Draco seems superiour, but after brotli compression, they're quite similar in size. Considering that meshopt decompression is suppedly way faster, it would make a lot of sense here as well! Thanks for poking at me, I'll reconsider the prio for this! |
…ditor (as shown in the inspector). (atteneder#106) * fix: Light.areaSize is not available in builds, so assume default values.
Add support for the vendor extension EXT_meshopt_compression
See also: meshoptimizer / gltfpack
The text was updated successfully, but these errors were encountered: