Closed pjcozzi closed 5 years ago
iOS & Safari
Probably never, given that they support a different "JPEG-replacement" format.
Should this be an EXT or KHR extension?
KHR would likely require bringing IP in question, so I'd say EXT.
How should glTF reference this? Directly? via KTX2?
Directly, like JPEGs. KTX2 is for GPU-ready data.
In the near- and long-term, how does this play with CTTF GPU compression?
Nothing in the near term. Looking forward, we may borrow some techniques from it for the future (post-1.0) CTTF versions.
Agree with @lexaknyazev, KTX2 is for GPU ready data.
If you can tolerate uploading uncompressed images to your GPU, i.e. you have vast amounts of memory, and transmission size is a problem then maybe webp is useful. However it is never going to be fully cross-platform. I think it not worth spending time on. We can already get JPEG-levels of compression with the under-development CTTF technology and there is likely room for further improvement and that is where time should be spent.
I'll add just a little agreement and a little disagreement:
We can already get JPEG-levels of compression with the under-development CTTF technology and there is likely room for further improvement and that is where time should be spent.
@MarkCallow do you think this could approach WebP-level compression? If so, when?
In the meantime, WebP does fit a lot of use cases today - in particular in Cesium we literally deal with gigabytes and terabytes of texture data from aerial and satellite imagery - and WebP is making a measurable improvement in file size and download performance inline with their claims, about 30%.
At the least I would expect a vendor or EXT extension, but part of the question here is if there is enough interest for a KHR extension.
is enough interest for a KHR_ extension.
This might imply bringing the whole WebP file format spec to the Khronos IP Framework.
@MarkCallow do you think this could approach WebP-level compression? If so, when?
We'll have to consult the oracle, Rich Geldreich. How does webp compare with JPEG?
This might imply bringing the whole WebP file format spec to the Khronos IP Framework.
I'm not sure this is so. Core glTF uses JPEG but doing so didn't bring JPEG under the Khronos IP framework.
is enough interest for a KHR_ extension.
This might imply bringing the whole WebP file format spec to the Khronos IP Framework.
Potentially. Draco is one example to consider, jpeg is another. We could discuss on the call and with Google.
We'll have to consult the oracle, Rich Geldreich. How does webp compare with JPEG?
😀
Core glTF uses JPEG but doing so didn't bring JPEG under the Khronos IP framework.
I think there's nothing to bring there - JPEG patents have expired already.
For those following WebP here, please chime in on the pull request for EXT_image_webp by @OmarShehata: #1534
Closing this issue – let's continue discussion in https://github.com/KhronosGroup/glTF/pull/1534.
By Google. From https://developers.google.com/speed/webp/:
Note that this is not GPU compression; this is a replacement for JPG-like compression.
The Cesium team's initial experience with WebP is very promising.
Ecosystem
Questions