(The Unofficial) PopCap Framework Developer Board
November 21, 2017, 09:06:15 AM CET *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home   Forum   Help Calendar Contact Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: DDS/DXT support  (Read 5781 times)
0 Members and 1 Guest are viewing this topic.
DbIMKA
Newbie
*
Posts: 9


« on: November 28, 2011, 06:14:52 PM CET »

Hey guys, did anyone implement DDS/DXT texture support for the PopCap framework yet?

If yes - where to get that.

If not - how to approach this, please.

Thanks!
Logged
Puzzler
Global Moderator
Full Member
*****
Posts: 231


WWW
« Reply #1 on: November 28, 2011, 07:27:06 PM CET »

http://code.google.com/p/libsquish/
http://code.google.com/p/tinyimageloader/
... and a lot more ... just use google to find it.
« Last Edit: November 28, 2011, 07:29:06 PM CET by Puzzler » Logged

Lead software engineer, Rumbic Studio
DbIMKA
Newbie
*
Posts: 9


« Reply #2 on: November 28, 2011, 07:50:31 PM CET »

Thank you, Puzzler!

So, sounds like I need to link one of these libs and use them to just load textures in packed DDS formats, that's all? How would the graphics card/directX/engine know this is packed DDS texture?

Or the lib would just take care of it, plug it and it'll play it?
Logged
Puzzler
Global Moderator
Full Member
*****
Posts: 231


WWW
« Reply #3 on: November 28, 2011, 08:41:21 PM CET »

libs will help you to decode your formats, but you have to write code to integrate to Sexy
Logged

Lead software engineer, Rumbic Studio
DbIMKA
Newbie
*
Posts: 9


« Reply #4 on: November 28, 2011, 09:06:06 PM CET »

But dds/dxt - does it also need to be decoded? It looked like DDS/DXT are specifically used so that they are loaded to the video memory as is, without decompressing, and the actual decompression would take place on the fly, down the road when the hardware uses the texture. Is this correct?
Logged
Puzzler
Global Moderator
Full Member
*****
Posts: 231


WWW
« Reply #5 on: November 28, 2011, 09:30:28 PM CET »

just dig directx to find funcs to load directly ... use google ... first link I found: http://www.toymaker.info/Games/html/textures.html
« Last Edit: November 28, 2011, 09:32:22 PM CET by Puzzler » Logged

Lead software engineer, Rumbic Studio
Pages: [1]   Go Up
  Print  
 
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
SimplePortal 2.3.3 © 2008-2010, SimplePortal