DDS Conversion Tools
- Last UpdatedApr 28, 2023
- 1 minute read
Texconv conversion tool
The Texconv tool is the most recent tool to create DDS files.
-
This tool supports the newer BC* formats but it does not provide any GPU accelerated code.
-
The tool can be found in the tools svn, directory mwengine\tools\textures\texconv.
-
A series of batch files are provided, one for each type of texture conversion.
-
These batch files use a complex resample filter, by default. This used when the image needs to be scaled.
Code example to convert single file
To convert a single file, call the corresponding batch file:
bc1.bat wall.tga
Code example to convert all files
To convert all the files (TGA PNG) in the current directory, call convert_all.bat followed by the batch file to use:
convert_all.bat bc1
BC6HBC7EncoderCS conversion tool
The BC6HBC7EncoderCS tool is GPU accelerated. It provides a faster way to convert BC6 and BC7 textures than the Texconv tool.
-
It supports only the BC6 and BC7 formats.
-
The tool can be found in the tools svn, directory mwengine\tools\textures\texconv.
-
A series of batch files are provided.
-
These batch files use a complex resample filter, by default. This is used when the image needs to be scaled.
DDS Viewing Tools
You can use these tools to view DDS files.
-
DDSView: This viewer can load any kind of DDS but it is still just a viewer.
-
DxTex: This is an older viewer that supports up to the BC5 format files, and provides some options to modify the DDS.