Page 1 of 1

DDS Formats

Posted: Fri Jun 29, 2007 4:27 pm
by EricChadwick
I would love to see more support for DDS formats. Many game developers use these formats.

Currently XnView doesn't read DDS L8 format properly, it loads incorrectly, looking very blocky.

I compressed some samples that you can test with.
http://www.ericchadwick.com/examples/fi ... amples.zip (2.7Mb)
My samples use the formats:
D3DFMT_A8L8
D3DFMT_A8R8G8B8
D3DFMT_DXT1
(colortest_DXT1a.dds has alpha, colortest_DXT1.dds does not, I prefer the latter)
D3DFMT_DXT3
D3DFMT_DXT5
D3DFMT_L8
D3DFMT_R8G8B8
I also included a reference file in TGA 32.

MSDN has good documentation describing each format.
http://msdn2.microsoft.com/en-us/library/bb172558.aspx

The NVIDIA Texture Tools come with full source, using the MIT License.
http://code.google.com/p/nvidia-texture-tools/

Re: DDS Formats

Posted: Mon Jul 02, 2007 7:05 am
by xnview
Ok, thanks, i'll check...