Commit Graph

246 Commits

Author SHA1 Message Date
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
mpersano
db8fc561c3 Support assembling texture arrays. 2016-02-11 18:43:01 -02:00
Ignacio
9d6c7d6a69 Integrate more changes from cfcohen. 2015-12-05 15:16:14 -08:00
Ignacio Castaño
26723de502 Fix memory leak reported by Sylvain Rochette in issue #229. 2015-08-21 21:53:16 -07: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
d019cd7080 Merge changes from the witness. 2014-11-04 17:49:29 +00:00
castano
7e74261f92 Fixes issue 204. 2014-05-21 17:47:06 +00:00
castano
b06a6f46a5 Fixes issue 207. 2014-04-18 16:25:24 +00:00
castano
63d6036e3a Fix issue 206. 2014-04-03 22:10:12 +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
b2b367ef5f Fix xyzToCieLab bug and add CIE Lab DeltaE 1994 color differencing.
Fixes issue 197.
Fixes issue 198.
2013-09-04 01:08:39 +00:00
castano@gmail.com
94d0635285 Merge changes from the Witness. 2013-06-07 17:53:55 +00:00
castano
1d8d067caf Fix build under OSX with clang. Fixes issue 180. 2012-09-11 16:22:09 +00:00
castano
63897b3ecc Integrate 3D texture fixes from Ben Goldstein @ Nihilistic. 2012-08-28 17:22:37 +00:00
castano
ac3f2d1794 Misc changes. 2012-08-28 16:44:23 +00:00
castano
04bdc76749 Merge changes from The Witness. 2012-07-20 16:32:26 +00:00
castano
fea97461c5 Merge changes from The Witness. 2012-07-20 16:17:28 +00:00
castano
b130487c2a Merge changes from the witness. 2012-04-30 23:03:00 +00:00
castano
cb6c18efa4 Add info about Valve's texture format. 2012-02-14 16:15:20 +00:00
castano
f2d90ee844 Fix errors in new cluster fit compressor. 2012-01-02 08:49:13 +00:00
castano
e98d795d2b More header optimizations. 2011-10-11 18:52:24 +00:00
castano
d11d7a5f38 seamless cubemap filtering. 2011-10-11 06:40:40 +00:00
castano
2ec37026be Merge changes from the witness. 2011-10-10 20:24:12 +00:00
castano
94401919b8 Add some inline files to reduce amount of code parsed. 2011-10-10 19:35:21 +00:00
castano
78fa1e785d Fixes and optimizations. 2011-10-01 02:07:32 +00:00
castano
eb10483faf Fix bugs. In progress cube map loading. 2011-09-30 01:52:27 +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
fcd296cd81 Merge changes from the witness. 2011-09-28 01:45:08 +00:00
castano
95811dfdff Cleanups. 2011-09-27 23:05:46 +00:00
castano
91e6bbe5c3 Add convolution method to TexImage. Fixes issue 166. 2011-09-27 18:41:02 +00:00
castano
3c0ab2d3f3 Merge changes from the witness. 2011-09-27 17:48:46 +00:00
castano
17e01ed240 Fix errors, warnings. 2011-09-27 16:37:41 +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
b68d428492 Accumulate filter sums using doubles to avoid unsymmetries. Fixes issue 167. 2011-09-14 17:51:09 +00:00
castano
02709e1699 Set DDPF_FOURCC flag when using DX10 container. Fixes issue 165. 2011-09-13 19:20:51 +00:00
castano
8b096b4186 Remove unused code. 2011-09-01 22:16:37 +00:00
castano
5d19ff392a Some pitch alignment fixes. Fixes issue 168. 2011-08-26 12:11:38 +00:00
castano
2952480d30 Fix tabs. Fix leak. 2011-06-20 19:09:29 +00:00
castano
66d02325d8 Swap red and blue channels when using stb_image. Fixes issue 164. 2011-06-20 06:45:45 +00:00
castano
144a8d6d4b Fix errors in meta data api. 2011-04-06 06:42:22 +00:00
castano
8a837981b6 Merge changes from The Witness. 2011-04-06 02:41:15 +00:00
castano
9ebcff93de More tweaks. 2011-04-06 02:14:32 +00:00
castano
ce8647c51d Tweaks. 2011-04-06 01:56:51 +00:00
castano
43b16d85f4 Use STB image by default.
Add buffer object, try to reduce binary size.
2011-04-02 07:41:55 +00:00
castano
ad7a618222 Start adding ktx file support. 2011-03-22 22:52:43 +00:00
castano
765a0e394a Add more error estimation methods. 2011-03-06 22:23:24 +00:00
castano
cd6f798b85 tabs to spaces 2011-02-28 08:19:38 +00:00