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

Support for 3D textures above 4gb #35

Closed
georgeouzou opened this issue Nov 27, 2017 · 5 comments
Closed

Support for 3D textures above 4gb #35

georgeouzou opened this issue Nov 27, 2017 · 5 comments

Comments

@georgeouzou
Copy link

Is there any way KTX can support 3d textures with mipmaps
with total size exceeding 4gb?

@MarkCallow
Copy link
Collaborator

There is nothing limiting the total size of a KTX file, except the file system on which it resides. Each mip level is limited to 4GB though due to the 32-bit "imageSize" field that gives the level's size. Do you need mip levels larger than 4GB? Note that here a level's size includes all array layers and all faces.

@georgeouzou
Copy link
Author

Yes the base 3d image (mip level) is above 4gb in size. The rest of the KTX file format fields can support this easily, but the 32-bit "imageSize" field cannot.

@MarkCallow
Copy link
Collaborator

Good to know. I'll keep it in mind for the next version of the KTX format.

@MarkCallow
Copy link
Collaborator

KTX2 supports mip levels > 4GB. KTX never will.

@georgeouzou
Copy link
Author

Ok thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants