Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: need to load DDS image  (Read 2018 times)

0 Members and 1 Guest are viewing this topic.

roccio

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
    • Email
need to load DDS image
« 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?

Hapax

  • Hero Member
  • *****
  • Posts: 3351
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: need to load DDS image
« Reply #1 on: August 16, 2016, 04:40:16 pm »
Try converting it an application.

http://extension.nirsoft.net/dds
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10822
    • View Profile
    • development blog
    • Email
AW: need to load DDS image
« Reply #2 on: August 16, 2016, 05:12:11 pm »
Do you need to do it on the fly or can you preconvert the texture?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

roccio

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
    • Email
Re: need to load DDS image
« Reply #3 on: August 16, 2016, 05:23:54 pm »
I need on the fly.

 

anything