Commit Graph

61 Commits

Author SHA1 Message Date
sindra
b4eb9c5972 Added some support for uncompressed texture for ktx 2020-07-28 10:07:16 -07:00
Ignacio Castano
ba3dbe32df KTX output fixes. 2020-07-05 23:09:29 -07:00
Ignacio Castano
7aebf0c251 ETC compression experiments. 2020-07-05 23:08:57 -07:00
Ignacio
fdfbfb2552 Update to latest icbc version. 2020-06-07 20:02:14 -07:00
Ignacio
a671567596 Update nvtt to use icbc library. 2020-04-13 18:01:33 -07:00
Ignacio
9489aed825 Merge changes from The Witness. 2018-02-05 18:55:07 -08:00
Lunkhound
0535ab3414 fix a bug where created normal maps were not packed prior to compression 2016-12-26 12:34:06 -08: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
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
a083337473 Merge changes from The Witness. 2015-03-24 12:14:49 -07:00
castano
d019cd7080 Merge changes from the witness. 2014-11-04 17:49:29 +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
castano@gmail.com
022944e49b Apply patch to fix issue 192. 2013-07-20 00:08:06 +00:00
castano
fa4ba97f6d Merge changes from the witness.
Fix parallel cluster fit compressor.
Luma compression experiment.
2012-04-30 23:03:44 +00:00
castano
035997bc2e Fix cube map processing bug reported by Cedric Perthuis. 2011-12-12 18:05:04 +00:00
castano
676a0b2908 work in progress. 2011-09-29 00:58:47 +00:00
castano
e15aa7a9bf Remove RGBE compressor. Implement as a color transform. 2011-09-28 18:44:18 +00:00
castano
8e586ca693 Rename files. 2011-09-28 16:46:01 +00:00
castano
03c3fa42a8 Cosine power filter. A bit of renaming. 2011-09-28 16:40:59 +00:00
castano
fcd296cd81 Merge changes from the witness. 2011-09-28 01:45:08 +00:00
castano
3c0ab2d3f3 Merge changes from the witness. 2011-09-27 17:48:46 +00:00
castano
af9ba8ae90 Add support for 3D texture. Integrate patch provided in issue 28 plus some additional changes. 2011-09-27 05:17:01 +00:00
castano
5d19ff392a Some pitch alignment fixes. Fixes issue 168. 2011-08-26 12:11:38 +00:00
castano
8a837981b6 Merge changes from The Witness. 2011-04-06 02:41:15 +00:00
castano
12bf7f9346 Implement quantization. 2011-01-25 09:17:53 +00:00
castano
5f8cd22cdb Merge changes from the-witness. 2011-01-08 04:54:06 +00:00
castano
a2f0e566c7 Use task dispatcher provided by user. 2010-12-10 10:29:04 +00:00
castano
96b757130d Fix build on powerpc/mac. 2010-11-26 07:20:23 +00:00
castano
c51f25f38d concurrency experiments. 2010-11-22 07:34:05 +00:00
castano
5f845513ee Fix msvc warnings and errors.
Test TexImage stuff more througly.
Test YCoCg and RGBM.
2010-11-06 02:34:34 +00:00
castano
c1204bfb66 Fix errors in new implementation of InputOptions.
Output cube map faces in DDS order. Fixes issue 147.
2010-11-05 00:36:50 +00:00
castano
5225f4810f Add stubs for quantization methods. 2010-11-03 18:53:51 +00:00
castano
1e2567e4a3 More work toward 2.1: Implement InputOptions using TexImage. 2010-11-03 18:31:16 +00:00
castano
09e46ead48 Fix some messages. Add support for range scaling in TexImage. 2010-10-22 00:28:46 +00:00
castano
bd74a9ffc6 Merge changes from the-witness. 2010-10-21 18:44:10 +00:00
castano
276c608f26 Fix alignment assumptions in DDS loading code. Fixes issue 132.
Merge misc changes from the-witness.
2010-09-07 18:24:50 +00:00
castano
e8dc679874 Merge recent changes from the witness. 2010-08-31 01:39:08 +00:00
castano
cfdc731634 Write BC6/BC7 headers in TexImage path. 2010-06-24 07:32:17 +00:00
castano
322dcd72c1 Some bug fixes and more progress toward BC6-7 support. 2010-06-03 07:58:03 +00:00
castano
68cbe543b0 Add missing files for previous change.
Some cleanup.
2010-06-03 07:07:37 +00:00
castano
da503d2b3e Imperative api is sort of working now. Fixed various bugs. 2010-06-01 02:04:33 +00:00
castano
4b08c20b0e More cleanup. 2010-05-31 08:13:23 +00:00
castano
035231a928 Minor changes. 2010-05-28 23:16:06 +00:00
castano
a32d780347 Experiment with output callbacks instead of handlers. 2010-05-18 17:13:30 +00:00
castano
f436a71479 Add support for RGBE. 2010-03-17 07:55:03 +00:00
castano
a19e25228f reorg. 2010-03-16 22:37:25 +00:00
castano
34cd266d8c Add todo item to perform color transforms before compression. 2009-10-21 19:19:09 +00:00
castano
8820c43175 Large refactoring of compressor codes:
- Define compressor interface.
- Implement compressor interface for different compressors.
- Add parallel compressor using OpenMP. Experimental.
- Add generic GPU compressor, so far only DXT1 enabled.
2009-10-21 07:48:27 +00:00