You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe assign_primaries is mostly a technicality wrt the output image format descriptor (DFD) - unsure this would be very interesting to support - but target_type is indeed a great suggestion, as it allows higher quality decoding when using UASTC for single/dual channel textures. I will leave this open for a while though since this is only applicable for newest toktx release, and using these options with an older release would fail, so this requires version detection (which is cumbersome) or to simply wait for an official toktx release so that the command line interface stabilizes.
It looks like neither three.js nor Babylon.js actually implement target_type based selection either, so right now this change wouldn't actually change anything wrt quality or resulting size in practice. Because of versioning challenges I'm going to close this for now - we will come back to this when renderers start actually using this information, but I'd expect this to take a while and I'm trying to keep the issues that are open to things that definitely need doing.
found on gltf-transform git
donmccurdy/glTF-Transform#215
The text was updated successfully, but these errors were encountered: