Provide the ability to load DDS files. #5724
Unanswered
Gavin-Williams
asked this question in
Ideas
Replies: 2 comments 3 replies
-
There are some libraries from GitHub, like https://github.com/john-h-k/DDSTextureLoader.NET |
Beta Was this translation helpful? Give feedback.
1 reply
-
Some DDS formats are directly supported by WIC. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to be able to load DDS files so that I can use the format in my applications. It's a great texture format for a number of reasons. It's currently very difficult to use DDS. I can't even view them in Windows. There is the DirectX toolkit, but it's in C++. I wrote a loader a few years ago for DDS, but it was far from fully featured. And I believe it had Dx11 code throughout it. I just couldn't ever write a fully featured DDS loader today (possibly with Dx12 code in it). It would take me so long to interpret the code and get it to work properly. You just can't expect every person to have to write that amount of code, interpreting from C++. It's not possible for most people. And so, in practice, we are stuck using png because it's the easiest format that supports an alpha channel.
But when considering any app that uses a lot of graphics. DDS is one of the best formats to consider because of its range of compressed formats, and other utilitarian formats. The ideal workflow seems to be to pre-process image and texture data in dds before loading. It's the only compressed format that can be uploaded to the GPU and understood - in the DirectX workflow.
As far as I know, the way to test if Windows supports a DDS format is to open a folder with DDS files in it. Because if you had the API it would be used by Explorer. When I do that, I just see placeholder icons. So, no support.
We need to be able to load DDS and extract pixel and metadata to pass to our own code, that might be Dx12 or other. Please, make it easy for us to use your texture format.
And just to be clear, C#.
Beta Was this translation helpful? Give feedback.
All reactions