-
Notifications
You must be signed in to change notification settings - Fork 0
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
Re-add DXTn decompression #6
Comments
Hi, you haven’t missed anything! Decompression methods along with the pixel accessing helpers were removed as part of tailoring the library to graphics APIs. For some context, the original version of VTFParser was written for use in VisTrace (fully CPU-side), but we’re now using it - along with the other parsers - in a Vulkan-based project. I’m happy to add some helper methods to perform decompression, although those would be something you’d use or enable on top of the Vtf class to avoid impacting read performance. There are other libraries that can do this for you, but generally as part of a much larger package
In VTFParser it’s mostly features removed (e.g. decompression or the sampler methods) in favour of a GPU-oriented and faster parser MDLParser has also received a rewrite though, and that comes with accessor helpers (similar to fastgltf) to make navigating the data less painful There’s also the in-development PHYParser and impending BSPParser rewrite (for the same reasons as above). At some point I’ll be implementing parsers for the keyvalue and VPK formats too |
Oh almost forgot, there’s actually documentation now too: https://taservers.github.io/VTFParser/ |
Thank you for the explanation and linking the documentation. I am probably going to update my app with the latest version here in the future. Taking the old version as reference for implementing pixel parsing for my needs. And for DXT probably DirectXTex. The abstraction is a good thing. Nice to see that your other parser libraries getting updated too. |
Hey, just noticed that you fully rewrote the library.
I am currently using the "old" version (from 1-2 years ago) and while looking through the source I noticed that the DXT decompression is gone.
Did I miss it or was it really removed?
Is there anything else that changed feature wise?
Thank you!
The text was updated successfully, but these errors were encountered: