nvidia-texture-tools/README.md

45 lines
1.2 KiB
Markdown
Raw Normal View History

2016-08-16 19:43:17 +00:00
NVIDIA Texture Tools
====================
The NVIDIA Texture Tools is a collection of image processing and texture
manipulation tools, designed to be integrated in game tools and asset
2016-09-19 19:53:33 +00:00
processing pipelines.
2016-08-16 19:43:17 +00:00
The primary features of the library are mipmap and normal map generation, format
2018-02-06 02:55:07 +00:00
conversion, and DXT compression.
2016-08-16 19:43:17 +00:00
### How to build (Windows)
Use the provided Visual Studio 2017 solution `project/vc2017/thekla.sln`.
2016-08-16 19:43:17 +00:00
### How to build (Linux/OSX)
Use [cmake](http://www.cmake.org/) and the provided configure script:
```bash
$ ./configure
$ make
$ sudo make install
```
### Using NVIDIA Texture Tools
To use the NVIDIA Texture Tools in your own applications you just have to
include the following header file:
[src/nvtt/nvtt.h](https://github.com/castano/nvidia-texture-tools/blob/master/src/nvtt/nvtt.h)
2016-08-16 19:43:17 +00:00
And include the nvtt library in your projects.
The following file contains a simple example that shows how to use the library:
[src/nvtt/tools/compress.cpp](https://github.com/castano/nvidia-texture-tools/blob/master/src/nvtt/tools/compress.cpp)
2016-08-16 19:43:17 +00:00
Detailed documentation of the API can be found at:
2018-02-06 02:55:07 +00:00
https://github.com/castano/nvidia-texture-tools/wiki/ApiDocumentation
2016-08-16 19:43:17 +00:00