.DDS files with Blender?

Hi all…

First post here and pretty new to Blender although I have followed some tuts and have a basic (very basic) understanding of things.

Im wondering if its possible to use .DDS files in Blender… long story short I paint skins for racing sims and have made a skin Id like to render. I can import the 3D model of the car into Blender and (I think) I know how to actually put it on the model but the skin (which was painted on a template in CS2) was saved in the .DDS file format as thats the format that works with the sim.

Is there any way I can use the .DDS file and get it on the 3D model of the car in Blender and then do a nice render or is this not possible atm with Blender?

I hope the above makes some kind of sense. :o

Any info or help either way will be very much appreciated.

:slight_smile:


http://code.google.com/p/gimp-dds/

eppo…

I appreciate the reply but I`m not sure how those links will help?

I use CS2 and Windows 7 not Gimp or Linux… I`d like to know if I can use/open a .DDS file in Blender and use that (somehow) as an image file…

Sorry if Im not getting what your trying to tell me but Im a noob remember. :stuck_out_tongue:

I`d like to know if I can use/open a .DDS file in Blender and use that (somehow) as an image file…
Have you tried using a .dds file ?http://wiki.blender.org/index.php/Doc:2.6/Manual/Data_System/Files/Formats

Yes, several times but I`m obviously doing something wrong then…

Ive got a 3D model as I say, and Im pretty sure I know how to use a texture to get it to show on the model but when I browse for the .DDS file Id like to use it doesnt even show up, there`s nothing to select/open.

Sorry if I`m not seeing the wood for the trees or making a noob mistake but this is all pretty new to me.

I didn’t know Blender supports .dds. Not hacking games much.

What i suggested was to convert .dds to .png, which, i know for sure, Blender supports.
ImageMagick is available for all more or less popular OSes; i suppose command line is supported on win also. If that does not work, i’ve seen Gimp running on windows. It has plugin for dds - second link.

So, in theory, what i suggested would get you converted images to use in Blender. If dds wouldn’t work, naturally…

Sorry eppo… I didn`t quite catch what you meant in your first reply.

Ill check out ImageMagick and try it out if I cant get the .DDS files to work in Blender.

Cheers.

@tjc69
nvm… I run over one more bit of working with dds - https://www.lfsforum.net/showthread.php?t=676 - used to play it but did not know it uses this format. Since you mentioned CS… I wonder if that nvidia PS addon would work.
Speaking Linux, if you have more or less decent pc, any linux run on Virtual Box might do such convert (and much more ofc).

Edit: If you manage to install IM,

 mogrify -format png *.dds

will batch convert all dds images in some folder and make png copies.
http://www.imagemagick.org/Usage/basics/#mogrify

Excellent!

Many thanks for the help and links eppo, I`ll read up on the .DDS and IM stuff and see how I get on.

:cool:

It would be excellent if 10 years later blender could convert *.dds image format automatically, so it is a huge fun when you have more than 100 materials in the scene with that kind of textures.

Try asking for help in the Coding section.

Or use this online converter

Well, try this converter if you have more than 100 shaders and 1GB of textures, u re welcome.
I have my viewer that can easily convert any.

All of this is nice if you need to convert a DDS file to PNG, but the fact that the GAME ENGINE probably doesn’t support PNG ( some sims will support either PNG, but originally made with DDS as its native format) I don’t know which SIM you are using in this case, so I can’t tell if it supports PNG or not.

The main problem is there are different formats of DDS … the SIM probably uses either or both DXT1 or DXT5…DXT1 is just RGB and DXT5 is RGB = interpolated Alpha both of which Blender supports…

I would need a copy of one of the DDS files to see the format as there are several that Blender does not support and it sounds like yours are one of them…

The Nvidia Texture Tools Exporter can open and convert your DDS files…and does a better job of it…