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

DDS: support for DXGI_FORMAT-like enumerations #22

Open
Krakean opened this issue Mar 24, 2018 · 6 comments
Open

DDS: support for DXGI_FORMAT-like enumerations #22

Krakean opened this issue Mar 24, 2018 · 6 comments

Comments

@Krakean
Copy link

Krakean commented Mar 24, 2018

@nickbabcock
Hi!
Can you please add support for parsing "dxgi" listed here - https://msdn.microsoft.com/en-us/library/windows/desktop/bb173059%28v=vs.85%29.aspx ?
Actually, you have ImageFormat, which is in some way do same thing (but also specifies formats that library actually support or was able to detect), but constants listed in microsoft documentation are kinda standard, and thus a bit easier to understanding/perception.

@Krakean Krakean changed the title DDS: support for DXGI_FORMAT DDS: support for DXGI_FORMAT-like enumerations Mar 24, 2018
@nickbabcock
Copy link
Owner

This is for DX10 dds images, correct? Yeah Pfim will need to have this enumeration in the dx10 parser. Then maybe some sort of conversion over to ImageFormat as well.

@Krakean
Copy link
Author

Krakean commented Mar 25, 2018

@nickbabcock yes, it's for >=dx10
Dx9 have a bit different formats list, I gave you link on it in #21

@Krakean
Copy link
Author

Krakean commented Apr 28, 2018

@nickbabcock Just curious, how is going on progress on dx10 dds support? :)

@nickbabcock
Copy link
Owner

Good! Now that Pfim will take a PfimConfig option to tweak compression and target format, there is a clear way forward for handling the uncommon formats like R16G16. Being able to decode any dds format into any target format is a tall order, so I'm unsure if the next version (0.6) will support all of them. Is there a dx10 dds format that is of particular interest to you (I keep using R16G16 as an example, but if there is one that you have need I can test with that first)

@Krakean
Copy link
Author

Krakean commented Apr 28, 2018

Is there a dx10 dds format that is of particular interest to you

None, for now. As in previous time with tickets to dds/tga, will find out when will test new Pfim version :)

By the way, just one question out of curiosity - how is progress on bc6/7?

@nickbabcock
Copy link
Owner

how is progress on bc6/7

Ah, no progress as of yet!

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

No branches or pull requests

2 participants