View Full Version : DDS loading library

11-30-2005, 09:27 AM
Hi, i'm searchind a image library which supports DDS loading.

I only find FreeImage, but it has some problems:
* DDS can be compressed, and OpenGL support direct loading from a compressed source. But FreeImage only works with bitmaps. It loads from file and uncompress it, and then if you want a compressed texture you must compress again.
* DDS support mipmap, but i don't know how access mipmaps using FreeImage.

If someone knows how to avoid this problems with FreeImage(i only read a little his manual), or knows a better DDS loading library, I'll very grateful.


12-05-2005, 08:26 AM
Last time I checked, DDS file format was freely available from MSDN (hint)... why don't you try loading up yourself? It takes very little time to get some basic support at a decent level.

12-06-2005, 09:55 PM
yes i agree, write your own. It really is quite simple, i have written my own, it supports MipMaps,compressed and uncompressed textures and even supports dds volume textures(3D)

12-09-2005, 01:56 AM
I'm trying to write my own dds loading code
I have a seg fault for the moment, but you can have a look, perhaps it can help you.

Topic (http://www.opengl.org/discussion_boards/cgi_directory/ultimatebb.cgi?ubb=get_topic;f=2;t=019727)