Comments (5)
Crunch CRN has a code book common to all mip levels. Before we can inflate any mip level we must have the global code book. There are 2 ways to accomplish this: put it at the file format level, or specify that the first mip level transmitted must contain the code book. The first seemed more reliable and easier to specify since we are supporting random access to the mip levels and the ordering of the mip levels can change. But it is not a strong preference.
Apps adding their own global data is already supported. It's called metadata.
from ktx-specification.
Another reason for having the global code book at the file format level is it is less likely to be missed by those using, e.g., HTTP, to read ranges from the file. If it is hidden in the first mip level, a user may directly read a later miplevel then discover they can't inflate it.
from ktx-specification.
Understood. I would like to discuss this one some more, but it is not a blocking issue - the data block should be supported, its just clarification on the various things we'd need to use it for
from ktx-specification.
On the 12/21 call we reached consensus that the supercompressed global data should not be made available at the file level, given that the data should be abstracted in the decoder. The codebook binary block will instead be relocated to be the first data block immediately prior to the highest level mip level in the data stream.
This issue will be closed, and a new one opened to track the work item
from ktx-specification.
This is not my understanding. We agreed to move the block but it would still be visible at the file level due to wanting random access to the mip levels. Let's continue further discussion on issue #39 you opened to track to work.
from ktx-specification.
Related Issues (20)
- The example file in the spec is invalid with regards to `dfdByteLength` equalling `dfdTotalSize`.
- Confirm prohibited formats HOT 3
- Confirm KTXwriter and KTXwriterScParams encoding HOT 1
- Consider rephrasing format mapping metadata usage HOT 1
- Clarify compressed formats for 1D textures HOT 1
- Confirm mipPadding size HOT 8
- Relax DFD transfer function restrictions HOT 2
- KDF_DF_* vs KHR_DF_* HOT 1
- Please rename default branch from 'master' to 'main' per Khronos policy HOT 1
- Reserve vendor ID for super-compression scheme HOT 3
- Investigate GDeflate supercompression HOT 3
- Definition of 'num_blocks_x' lacks max(1, ...) ? HOT 1
- Disallow two-plane 444 formats
- typeSize spec for formats with suffix _nPACKxx is wrong
- Allow A8B8G8R8 formats HOT 2
- Confirm R16G16_S10_5 support HOT 17
- Generated format switches not including many Vulkan formats in 2glFormat and 2glType HOT 4
- Some supported formats are not included in the mapping appendix HOT 1
- upgrade SDL2 to 2.30 HOT 1
- Support XMP metadata HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ktx-specification.