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.

It's not exactly hard. Depends on your experience as a programmer whether its difficult or not. The DDS texture is laid out as a compressed image and any mipmaps are also compressed after the next, so you just have to pay attention to the file. And you will need access to the texture in memory to implement it.

@swift.
I thought I saw a piece of code that had a filename with .dds extension. It was some code to do environment mapping or a similar effect. Never mind, you say it wasn't you.

@everyone
Take a look here for a better explaination of the conversion process:
http://developer.nvidia.com/attach/6585

Regards