CUDA (Проект)/Описание DDS формата — различия между версиями
Материал из Wiki
ANA (обсуждение | вклад) (→Ссылки) |
ANA (обсуждение | вклад) |
||
Строка 11: | Строка 11: | ||
* [http://ziggi.org/chtenie-bmp-v-cpp/ Чтение bmp в C++] | * [http://ziggi.org/chtenie-bmp-v-cpp/ Чтение bmp в C++] | ||
* [http://easybmp.sourceforge.net/download.html#Documentation Библиотека для работы с bmp] | * [http://easybmp.sourceforge.net/download.html#Documentation Библиотека для работы с bmp] | ||
+ | |||
+ | == nvcompress == | ||
+ | |||
+ | <source lang="text"> | ||
+ | NVIDIA Texture Tools 2.0 - Copyright NVIDIA Corporation 2007 | ||
+ | |||
+ | usage: nvcompress [options] infile [outfile] | ||
+ | |||
+ | Input options: | ||
+ | -color The input image is a color map (default). | ||
+ | -alpha The input image has an alpha channel used for transparency. | ||
+ | -normal The input image is a normal map. | ||
+ | -tonormal Convert input to normal map. | ||
+ | -clamp Clamp wrapping mode (default). | ||
+ | -repeat Repeat wrapping mode. | ||
+ | -nomips Disable mipmap generation. | ||
+ | |||
+ | Compression options: | ||
+ | -fast Fast compression. | ||
+ | -nocuda Do not use cuda compressor. | ||
+ | -rgb RGBA format | ||
+ | -bc1 BC1 format (DXT1) | ||
+ | -bc1n BC1 normal map format (DXT1nm) | ||
+ | -bc1a BC1 format with binary alpha (DXT1a) | ||
+ | -bc2 BC2 format (DXT3) | ||
+ | -bc3 BC3 format (DXT5) | ||
+ | -bc3n BC3 normal map format (DXT5nm) | ||
+ | -bc4 BC4 format (ATI1) | ||
+ | -bc5 BC5 format (3Dc/ATI2) | ||
+ | </source> |
Версия 17:34, 12 августа 2013
Ссылки
- Работа с nVidia DDS Utilities (SDK)
- Графические файлы DDS. Что лучше: DXT1, DXT3, DXT5?
- Работа с расширениями OpenGL с использованием NVIDIA OpenGL SDK 5.1. (Часть 7)
BMP
nvcompress
NVIDIA Texture Tools 2.0 - Copyright NVIDIA Corporation 2007 usage: nvcompress [options] infile [outfile] Input options: -color The input image is a color map (default). -alpha The input image has an alpha channel used for transparency. -normal The input image is a normal map. -tonormal Convert input to normal map. -clamp Clamp wrapping mode (default). -repeat Repeat wrapping mode. -nomips Disable mipmap generation. Compression options: -fast Fast compression. -nocuda Do not use cuda compressor. -rgb RGBA format -bc1 BC1 format (DXT1) -bc1n BC1 normal map format (DXT1nm) -bc1a BC1 format with binary alpha (DXT1a) -bc2 BC2 format (DXT3) -bc3 BC3 format (DXT5) -bc3n BC3 normal map format (DXT5nm) -bc4 BC4 format (ATI1) -bc5 BC5 format (3Dc/ATI2)