Skip to content
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

Consider AVIF image format for future inclusion in the engine #2418

Closed
mvaligursky opened this issue Sep 9, 2020 · 7 comments
Closed

Consider AVIF image format for future inclusion in the engine #2418

mvaligursky opened this issue Sep 9, 2020 · 7 comments
Assignees
Labels
area: graphics Graphics related issue performance Relating to load times or frame rate
Milestone

Comments

@mvaligursky
Copy link
Contributor

https://jakearchibald.com/2020/avif-has-landed/

AVIF is a new image format derived from the keyframes of AV1 video. It's a royalty-free format, and it's already supported in Chrome 85 on desktop. Android support will be added soon, Firefox is working on an implementation

@mvaligursky mvaligursky added performance Relating to load times or frame rate area: graphics Graphics related issue labels Sep 9, 2020
@slimbuck
Copy link
Member

See also https://netflixtechblog.com/avif-for-next-generation-image-coding-b1d75675fe4

TBH AVIF looks extraordinary, even compared to webP.

@marklundin
Copy link
Member

As I understand it, the AVIF format would automatically work if the browser supports it? Would be great to use this. Also as it has a lossless compression, I'm wondering If it's possible to use with the LUT problem in #774

@mvaligursky
Copy link
Contributor Author

It seems AVIF supports HDR but I suspect this might be 10-12bit precision vs full floats .. would that be enough?

@NicolasVZ777
Copy link

Any update on that topic? Or what about webp? Draco is working so well for meshes but regarding textures, if Im not mistaken, Playcanvas is only using JPG and PNG

@marklundin
Copy link
Member

marklundin commented Sep 22, 2023 via email

@mvaligursky
Copy link
Contributor Author

mvaligursky commented Sep 22, 2023

webp format inside glb should be supported I believe using EXT_texture_webp extension, I tested this a while back. See #5360

You can also load webp as an assert.

But using it as a source in the Editor is not supported yet: playcanvas/editor#991

@willeastcott
Copy link
Contributor

willeastcott commented Nov 5, 2023

AVIF now supported: https://blog.playcanvas.com/avif-webp-land-in-editor/

@github-project-automation github-project-automation bot moved this from In Progress to Done in PlayCanvas Roadmap Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: graphics Graphics related issue performance Relating to load times or frame rate
Projects
Development

No branches or pull requests

5 participants