Hello, I’ve been recently trying to do a few tests to convert my tga-based game pipeline in Maya to using dds textures for cgfx-shaders for performance gains.
I’ve had some success with the dds Photoshop plug-in:
But obviously, this needs to get automated to process hundreds of textures, so I’m wondering if anyone knows of an equivalent Python library? Particularly, with functions to convert and compress textures into dds?
I think the simplest way would be write something to wrap nVidia Texture Tools.
I did write a converter to pass on a tiff file into that cui tool and have texture outputted.
Pretty simple stuff.
you can simply batch convert .tga to .dds via the nvidia command prompt application instead of going through photoshop. You get a list of all options in the included help .pdf.
I did this a couple weeks ago actually I would suggest opening a COM object to photoshop and export them out then you can open Maya with the same script and change the material assignment.