SFML community forums

Help => General => Topic started by: roccio on August 16, 2016, 02:57:29 pm

Title: need to load DDS image
Post by: roccio on August 16, 2016, 02:57:29 pm
Hello, I read that sfml does not support DDS texture loading, and that make sense to me, but I need to load a DXT1 compressed texture. Does anyone know how can I decompress the image and set the pixels for a sf::Texture?
Title: Re: need to load DDS image
Post by: Hapax on August 16, 2016, 04:40:16 pm
Try converting it an application.

http://extension.nirsoft.net/dds
Title: AW: need to load DDS image
Post by: eXpl0it3r on August 16, 2016, 05:12:11 pm
Do you need to do it on the fly or can you preconvert the texture?
Title: Re: need to load DDS image
Post by: roccio on August 16, 2016, 05:23:54 pm
I need on the fly.