PDA

View Full Version : BeRoDDS - A tiny DDS loader with mipmap level support



BeRo
14-05-2013, 11:56 AM
What i've did for PNG, I've that too for DDS :) I did it mainly for my BRTECH1 engine.

You can download it at http://rootserver.rosseaux.net/stuff/BeRoDDS.pas

The output data format of the LoadDDSImage function is always RGBA32, even when the DDS was DXT1-DXT5 or whatever encoded, for simplify to the loading of DDS files on the API-side.

And it can load only 2D DDS images, no 3D DDS images etc.

User137
14-05-2013, 12:30 PM
That's good news, there's propably not many DDS loaders for pascal around.

paul_nicholls
16-05-2013, 10:24 AM
What i've did for PNG, I've that too for DDS :) I did it mainly for my BRTECH1 engine.

You can download it at http://rootserver.rosseaux.net/stuff/BeRoDDS.pas

The output data format of the LoadDDSImage function is always RGBA32, even when the DDS was DXT1-DXT5 or whatever encoded, for simplify to the loading of DDS files on the API-side.

And it can load only 2D DDS images, no 3D DDS images etc.

Very cool! Thanks for sharing Benjamin :)