Jump to content
  • Advertisement
Sign in to follow this  
jor1980

(SlimDX)Is it possible convert dds texture file into other (dxt1,dxt,5)?

This topic is 3266 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi i would like to know if it is possible convert for instance, a dds(dxt1) into a dds(dxt5) with slimdx, or convert a dds 3 mipmaps into another with other number of mipmaps [Edited by - jor1980 on October 16, 2009 4:10:53 AM]

Share this post


Link to post
Share on other sites
Advertisement
You should be able to do it with the texture loading and saving functions that take lots of parameters, which include the pixel format and mip map level count.

Not that converting a DXT1 to DXT5 is completely pointless - the only effect will be a doubling of the file size.

Share this post


Link to post
Share on other sites
Quote:
Original post by Adam_42
You should be able to do it with the texture loading and saving functions that take lots of parameters, which include the pixel format and mip map level count.

Not that converting a DXT1 to DXT5 is completely pointless - the only effect will be a doubling of the file size.


Please Would you put me a simple example of how to do it?And it could be possible to do this but saving into a memorystrem?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!