Commit Graph

1059 Commits

Author SHA1 Message Date
Nicholas.Woodfield
187fa60492 Updated C-API to expose some functionality present in the C++ API. Added the following functions and enums:
nvttSetOutputOptionsContainer [and NvttContainer, KTX/DDS10 formats can now be set as the output container]
nvttSetOutputOptionsSrgbFlag
nvttSetOutputOptionsErrorHandler [rearranged NvttError enum to match layout of nvtt::error]
nvttEnableCudaAcceleration
nvttIsCudaAccelerationEnabled
2019-09-06 17:54:40 -04:00
Ignacio
e872fc2850
Merge pull request #300 from edowson/master
Enable CUDA support.
2019-08-30 10:08:13 -07:00
Elvis Dowson
d57ca44902 Enable CUDA support.
This commit also reintroduces nvcore Library.h and Library.cpp files
required by nvtt/cuda/CudaUtils.cpp

Ref:
https://github.com/castano/nvidia-texture-tools/issues/230
81336cc3e9

Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
2019-08-19 03:22:00 +04:00
Ignacio
662d223626
Merge pull request #295 from mitko0003/master
Minor fix to ATOC normalization.
2019-02-15 08:31:45 -08:00
Димитър Трендафилов
d891d044e7
Minor fix to ATOC normalization. 2019-02-15 15:06:29 +02:00
Ignacio
84595a62f2 Add helper methods for jai bindings. 2019-02-07 15:39:32 -08:00
Ignacio
29493d365e Add Visual Studio 2017 projects. 2019-01-31 18:10:14 -08:00
Ignacio
c591c5f8b4 Compute spherical harmonics from cube maps. Work in progress. 2019-01-31 18:06:02 -08:00
Ignacio
7c68e09d77 Fix ATOC overflow error on large textures. Merge fix from The Witness. 2018-10-29 12:52:00 -07:00
Ignacio
a9a6f6968e Fix minor warnings.
Add output directories to ignore list.
2018-10-29 12:37:16 -07:00
Ignacio
8a076c8e8d
Merge pull request #289 from Starnick/master
Updated C-API
2018-10-27 10:51:11 -07:00
Starnick
40f395ef19 spaces->tabs consistency 2018-10-18 20:34:07 -04:00
Starnick
0f65d60602 Updated C-API to support 2D array textures + added missing enum values from nvtt.h 2018-10-18 20:29:57 -04:00
Ignacio
d2b514a3c1 Comment out hack. 2018-10-10 16:30:25 -07:00
Ignacio
a1c54bc7f7 Add fast sRGB conversion. 2018-10-10 14:04:13 -07:00
Ignacio
bc60e8c154 Use our own parallel for by default to avoid dependencies. 2018-10-09 18:11:21 -07:00
Ignacio
1722b00802 FloatImage does not need a virtual dtor. 2018-10-09 18:10:25 -07:00
Ignacio
95f1f60490 Enable stb libraries for image loading. This was disabled by error. 2018-10-09 18:01:15 -07:00
Ignacio
5c70ffef0b
Merge pull request #287 from madscientist159/master
Fix build on OpenPOWER (ppc64le) platforms
2018-08-19 14:04:22 -07:00
Ignacio
005b2518c9 Install nvtt_wrapper.h. Fix issue #288. 2018-08-19 14:02:34 -07:00
Timothy Pearson
95454e9024 Fix build on OpenPOWER (ppc64le) platforms 2018-08-15 21:53:49 -05:00
Ignacio
95bd6193cc Fix bug 281. 2018-05-29 23:28:08 -07:00
Ignacio
6ea078f196
Merge pull request #280 from MonoGame/ignore
Added gitignore to hide stuff that shouldn't be checked in.
2018-02-24 12:04:38 -08:00
Ignacio
e52a2f1a02
Merge pull request #279 from MonoGame/vc12
Fixed some missing files in the vc12 project.
2018-02-24 12:03:51 -08:00
Tom Spilman
6cb1821bf1 Added gitignore to hide stuff that shouldn't be checked in. 2018-02-23 19:59:21 -06:00
Tom Spilman
1a78eae8f6 Fixed some missing files in the vc12 project. 2018-02-23 19:56:37 -06:00
Ignacio
2c276f64d7
Merge pull request #276 from StefanBruens/fix_memalign_linux
Fix compilation on Linux - missing include, semicolon
2018-02-06 16:32:27 -08:00
Stefan Brüns
ff3bd55892 Fix compilation on Linux - missing include, semicolon
According to http://man7.org/linux/man-pages/man3/memalign.3.html ,
memalign() is defined in malloc.h.
Also, the line should be terminated with a semicolon.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
2018-02-06 08:38:37 +01:00
Ignacio
9489aed825 Merge changes from The Witness. 2018-02-05 18:55:07 -08:00
Ignacio
2075d740c9
Merge pull request #274 from StefanBruens/fix_build_errors
Fix some build errors
2018-02-05 18:30:58 -08:00
Stefan Brüns
00d7e249e2 Add nvimgdiff to TOOLS target, so it is installed by default
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
2018-02-02 19:46:58 +01:00
Stefan Brüns
389f7582e5 Fix linking of bc7, needs symbols from nvmath
If nvtt is build with -Wl,--as-needed, the linker will not resolve bc7
symbols from any library listed earlier, make sure it (also) appears
after libbc7.a
2018-02-02 19:46:54 +01:00
Stefan Brüns
7b4b7bb42e Build intermediate EtcLib always as STATIC
Depending on the BUILD_SHARED_LIBS variable EtcLib may be built as SHARED
if not set explicitly, like done for the other libraries in extern.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
2018-02-02 19:45:18 +01:00
Ignacio
8e8b3b82e1
Merge pull request #273 from wsmind/master
Fix .hdr images being loaded as LDR before compression
2018-01-28 12:06:21 -08:00
Remi Papillie
b03d5178fc Fix .hdr images being loaded as LDR before compression 2018-01-28 20:18:13 +01:00
Ignacio
befe79d103 Merge changes from thekla-atlas. 2017-12-15 11:39:21 -08:00
Ignacio
182a326e1c
Merge pull request #271 from Chainsawkitten/patch-1
Update file paths in readme
2017-11-15 16:45:18 -08:00
Albin Bernhardsson
133b84d536
Update file paths in readme
There is no src/nvimage/nvtt folder.
2017-11-08 22:49:11 +01:00
Ignacio
6816128f80 Add dataset from lightmap compression article. 2017-09-28 22:32:59 -07:00
Ignacio
e442d6d390 Remove incorrect assert. Fixes issue #261. 2017-09-04 12:34:00 -07:00
Ignacio
ed735ac2cb Fix alpha coverage subsampling. Fixes issue #266. 2017-09-04 12:25:22 -07:00
Ignacio
5f6424778e Update changelog 2017-08-23 11:05:30 -07:00
Ignacio
132cf14623 Bump version number 2017-08-23 11:02:09 -07:00
Ignacio
8d333f2a4f Merge pull request #264 from justinmeiners/master
added noalpha option to assemble and fixed RGB write
2017-06-28 15:06:12 -07:00
Justin Meiners
d47de35893 added noalpha option to assemble and fixed RGB write 2017-06-28 15:53:50 -06:00
Ignacio
4fb0070b7e Do not use undeclared format. 2017-06-28 11:26:18 -07:00
Ignacio
fa03dfc291 Add option to control prefered swizzle. 2017-06-28 11:19:47 -07:00
Ignacio
923b57db45 Merge pull request #255 from AMDmi3/patch-3
Use libexecinfo on FreeBSD as well
2017-06-06 17:58:17 -07:00
Ignacio
ef30f69c9d Merge pull request #256 from AMDmi3/patch-4
Use HW_NCPU on FreeBSD as well
2017-06-06 17:57:50 -07:00
Ignacio
7849ee9e71 Merge pull request #260 from leper/master
Add virtual destructor to TaskDispatcher.
2017-06-06 17:57:01 -07:00