Does Panda support .dds textures?

Return to Pipeline

Does Panda support .dds textures?

Postby Tiptoe » Sat Mar 04, 2006 12:22 am

Hi,

I've been playing around with Panda, Photoshop and 3ds Max. I've been exporting .egg models with .png textures without any problems. But when I try using a .dds texture, the model shows up in Panda as white (without any texture).

I'm just wondering if Panda has support for .dds textures and if it does, is there something in particular that I need to do when saving the .dds texture from Photoshop (I'm using the Nvidia plugin and I just left all the settings at their defaults).

I'd really like to use .dds textures if possible, because they're much smaller than .png (my texture in .png format is 100kb, the same texture in .dds format is only 42.8kb).

Thanks
Image Tiptoe
Tiptoe
 
Posts: 127
Joined: Fri Mar 03, 2006 11:57 pm

Postby drwr » Sat Mar 04, 2006 12:51 am

No, sorry, Panda doesn't presently support the .dds image format. You can achieve a pretty good file compression with jpeg, though. (This won't compress the image in texture memory, of course.)

David
drwr
 
Posts: 11253
Joined: Fri Feb 13, 2004 12:42 pm
Location: Glendale, CA

Postby ynjh_jo » Tue Jun 06, 2006 2:06 am

Tiptoe, you can try to use the indexed color mode within Photoshop. It will compressed the textures to any number of colors you can set. It works fine but of course, the uncompressed ones is the best coz their colors are preserved. If you compressed a texture, the color depth will be decreased, e.g from 24 bpp (bit per pixel) into 16 bpp.
User avatar
ynjh_jo
 
Posts: 1795
Joined: Tue Apr 18, 2006 12:41 am
Location: Malang, Indonesia

Postby drwr » Wed Jun 07, 2006 1:16 pm

Note that in the latest version of Panda, you can specify:
Code: Select all
compressed-textures 1

in your Config.prc file. This will cause the equivalent compression to occur at load time (if your graphics card supports this), so that the texture takes up the same amount of space in texture memory that it would take up if you saved it as a .dds file.

David
drwr
 
Posts: 11253
Joined: Fri Feb 13, 2004 12:42 pm
Location: Glendale, CA


Return to Pipeline

Who is online

Users browsing this forum: No registered users and 0 guests