Loading DDS Textures

BlitzMax Forums/BlitzMax Programming/Loading DDS Textures

Col:
Blitz does not load DDS textures, and I have never written any code to.

There is however, a code archive snippet, that links to a Blitzcoder page, which has a library, which accesses an open source DLL called freeimage, which will load DDS files.

But that's only useful if you want to use DLL's to do it.

The DDS format in my opinion is rather useless for loading into Blitz. Why would you want to? I might, so I can allow people to EDIT them. But to load them for textures?

DDS can only compress images 6x, and it introduces blocky artifacts into the image. Jpeg compresses things as much as 50x, with fewer artifacts.

The only reason to use DDS is if you're going to use DDS compressed textures on the video card, and A) I'm not sure OpenGL even supports DDS textures, and B) If you're going to upload a DDS texture to the video card, wouldn't that just involve loading the raw data and sending it to the card as is?