Loading DDS Textures

BlitzMax Forums/BlitzMax Programming/Loading DDS Textures

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi all. I've written a mod to load in dds textures. It won't load any flash dds cubemap textures or dds volume textures, just standard DXT1,DXT3 and DXT5 compressed mipmapped dds images. It won't load textures generated from DirectX Texture Tool - An internal parameter in the file descriptor always seems to be 0 !! Although you can always use this one :- http://mirror.ati.com/developer/TheCompressonator.exe

Unfortunately I've nowhere to web host, so if some kind person wouldn't mind hosting the files that'd be excellent.

The command is as simple as

Texture:Int = DDSLoadTexture("Test.dds")

and you get a 2D mipmapped texture to use as you would normally use a texture.

Cheers