Commit Graph

463 Commits

Author SHA1 Message Date
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
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
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
9489aed825 Merge changes from The Witness. 2018-02-05 18:55:07 -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
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
leper
78054e977b Add virtual destructor to TaskDispatcher.
This removes a GCC warning about that missing while virtual functions exist.
2017-05-04 03:22:19 +02:00
Lunkhound
0535ab3414 fix a bug where created normal maps were not packed prior to compression 2016-12-26 12:34:06 -08:00
Lectem
24e63456c6 Fix compression for non multiple of 4 texture size
If the width or the height was not a multiple of 4, we would read data outside of the bitmap array
2016-10-19 17:47:00 +02:00
Ignacio
6fb57d3478 Fix order of kaiser parameters. 2016-10-05 11:14:11 -07:00
Ignacio
a11a6739c2 Fix comments. Minor fixes. 2016-09-19 11:12:19 -07:00
Timothy Pearson
f8790a536a Fix remaining issues on PPC64EL
One AltiVec-related build issue remained
Self tests now pass on LE POWER platforms

Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
2016-07-12 06:04:04 +00:00
Timothy Pearson
203eda1d47 Fix build on PPC64LE
Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
2016-06-26 20:09:39 -05:00
Ignacio
875a78a124 Merge pull request #236 from mpersano/master
Add support for compressing texture arrays.
2016-02-29 12:50:39 -08:00
mpersano
46e5c6a8ee Fix nvassemble command-line options parsing. 2016-02-28 08:17:35 -03:00
mpersano
2bd367a4dc Add support for compressing texture arrays.
Also add support for reading/writing DX10 uncompressed (RGB/lumi) textures, so
now it's possible to compress a texture array assembled with nvcompress.
2016-02-28 08:05:59 -03:00
Ignacio
49677da371 Remove executable property. 2016-02-22 11:54:43 -08:00
mpersano
db8fc561c3 Support assembling texture arrays. 2016-02-11 18:43:01 -02:00
Ignacio
9b79638f79 Disable test code from nvdecompress. Update vc12 projects and fix vc12 build. Fixes bug #232. 2015-12-11 12:15:22 -08:00
Ignacio
7596650a2d Be more clear that Qt4 is not used. From cfcohen. 2015-12-05 15:23:00 -08:00
Ignacio
a20044bccc Integrate changes from cfcohen to supress warning. 2015-12-05 15:09:57 -08:00
Ignacio
268e6abd65 Integrate cfcohen changes to fix linker problems with gcc. 2015-12-05 15:06:37 -08:00
Ignacio
e9a8630a3f Increase array size to supress compiler warning. 2015-12-05 14:50:52 -08:00
Ignacio
c0ad0f4d31 Merge changes from The Witness. 2015-10-28 23:53:08 -07:00
Ignacio Castaño
a382ea5b21 Fix compiler warning. 2015-09-02 12:25:47 -07:00
Ignacio
4ef408b591 Remove debug code. 2015-07-20 14:32:16 +02:00
cmdrf
7b031aa4bf Do not include removed Library.h 2015-06-12 14:00:37 +02:00
cmdrf
899a99a106 Fix link order for Linux 2015-06-10 17:59:57 +02:00
cmdrf
766edcb1a6 Fix more link order for Linux 2015-06-10 17:59:56 +02:00
Ignacio
a083337473 Merge changes from The Witness. 2015-03-24 12:14:49 -07:00
castano
7e2a9d1adb osx fixes. Fix issue 211. 2014-12-02 20:23:21 +00:00
castano
2d6fc0e304 DXT1 compressor tweaks. 2014-12-02 05:43:13 +00:00
castano
d019cd7080 Merge changes from the witness. 2014-11-04 17:49:29 +00:00
castano
ac87eefa6d Apply patch to update C# wraper. Fixes issue 184. 2014-06-11 21:02:04 +00:00
castano
f705b2eaa1 Fixes issue 93. 2014-06-11 19:46:17 +00:00
castano
7e74261f92 Fixes issue 204. 2014-05-21 17:47:06 +00:00
nathaniel.reed@gmail.com
ab316deeaa Add BC7 support. It's incredibly slow - ~60 seconds to compress a 512x512 image, on a Core i7 - but it works.
- Added AVPCL compressor to projects and got it building with VC9 and VC10.
- Removed unused command line interface & file read/write code from AVPCL.
- Convert AVPCL to use NV vector math lib, asserts, etc.
- Convert AVPCL to use double instead of float.
- Added 4x4 symmetric eigensolver, for AVPCL; it's based on the existing 3x3 one, but I had to rewrite the Householder reduction stage.  As with ZOH, using the eigensolver (instead of SVD) gives a ~25% speedup without significantly affecting RMSE.
- Encapsulate ZOH and AVPCL stuff into their own namespaces to keep everything separate.
- Added some missing vector operators to the nvmath lib.
2013-12-07 02:17:08 +00:00
nathaniel.reed@gmail.com
474239c784 Add BC6 support to nvtt lib and utils.
- Use 3x3 eigensolver for initial fit in ZOH.  Slightly better perf and RMSE than power method.
- Remove use of double precision in ZOH - speeds up by 12%.
- Fixed RGBM encoding that was broken for HDR images.
- Use gamma-2.0 space for RGBM for HDR images (improves precision in darks).
- Use UNORM instead of TYPELESS formats when saving a DX10 .dds file.  The TYPELESS formats break most viewers.
- Cleaned up warnings in ZOH code.
- Command-line utils will warn if you give them an unrecognized parameter.
- Added VS2010 profiling results.
2013-10-25 17:30:55 +00:00
nathaniel.reed@gmail.com
77188a42ac Fix VC10 project files. Fix code to build with CUDA 5.5 (the cudaMemcpyToSymbol overload that takes the symbol name as a string was removed). 2013-10-16 21:18:16 +00:00
castano@gmail.com
57b99a1595 Apply CubeSurface fold/unfold patch. Fixes issue 199. 2013-09-04 01:10:52 +00:00
castano@gmail.com
022944e49b Apply patch to fix issue 192. 2013-07-20 00:08:06 +00:00
castano@gmail.com
27024253ce Handle 3d textures in nvcompress. 2013-07-09 17:16:41 +00:00
castano
22bc0b949d Fix assert. Fixes issue 190. 2013-06-25 17:03:08 +00:00
castano
ac0759efc8 Update cmake file. Fixes issue 189. 2013-06-12 05:57:08 +00:00