Commit Graph

78 Commits

Author SHA1 Message Date
Ignacio
9489aed825 Merge changes from The Witness. 2018-02-05 18:55:07 -08: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
mpersano
db8fc561c3 Support assembling texture arrays. 2016-02-11 18:43:01 -02: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
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
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
fea97461c5 Merge changes from The Witness. 2012-07-20 16:17:28 +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
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
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
02709e1699 Set DDPF_FOURCC flag when using DX10 container. Fixes issue 165. 2011-09-13 19:20:51 +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
5f8cd22cdb Merge changes from the-witness. 2011-01-08 04:54:06 +00:00
castano
5ae77ae037 Fix warnings. 2010-10-28 05:39:35 +00:00
castano
47df8ff7d6 Fix readBlock. Fixes issue 145. 2010-10-21 18:58:49 +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
e5736fcf92 Add explicit load methods to DirectDrawSurface. 2010-07-01 00:25:44 +00:00
castano
322dcd72c1 Some bug fixes and more progress toward BC6-7 support. 2010-06-03 07:58:03 +00:00
castano
f233188963 Fix format. 2010-06-01 19:25:49 +00:00
castano
c3bc24b165 Merge changes from 2.0. 2010-06-01 19:23:37 +00:00
castano
51a4fe7e2d Merge private branch. 2010-05-27 23:18:39 +00:00
castano
d86a89742e Update info message. 2009-10-21 07:40:23 +00:00
castano
782a127071 Add alpha flag to DXT1a files. 2009-04-16 20:06:08 +00:00
castano
ae744f88e6 Add constructor that takes a stream. 2009-04-01 07:13:13 +00:00
castano
9aaee3ae16 Add proper todo message. 2009-03-21 07:42:36 +00:00
castano
19477d60c0 Fix errors in the pixel format conversion code. 2009-03-19 08:57:49 +00:00
castano
098bc2f905 Fix some endiannes errors. 2009-03-04 09:36:40 +00:00
castano
1f4d313d0f Merge changes from internal branch. Whitespace changes only. 2008-12-29 11:34:39 +00:00
castano
68be24bf00 Set correct DXT5n swizzle code.
Select swizzle codes in nvtt instead of nvimage.
2008-10-01 22:28:57 +00:00
castano
0b13b6d0d9 Update version number. 2008-08-20 22:31:14 +00:00
castano
e9002a7d86 Adding support for floating point input/output. Work in progress. 2008-07-31 02:04:44 +00:00
castano
3161fca9d9 Decompress DDS10 files. Only BC# supported so far. 2008-07-30 02:28:09 +00:00
castano
1941e27148 Fix DDS10 header initialization.
Fix depth initialization.
2008-07-29 08:43:42 +00:00
castano
96655b3e7c Work in progress:
- better support for DDS10 file format.
- support for RGBA pixel formats with more than 32 bits.
- support for pixel types other than UNORM.
2008-07-26 10:03:12 +00:00
castano
c70e5d6121 Reorg header files. 2008-07-05 09:10:45 +00:00
castano
34ae5bcb6f Merge 2.0 branch fixes. 2008-04-17 07:17:46 +00:00
castano
7d3facd81a Merge private branch. 2008-04-17 06:59:13 +00:00
castano
9d47e100f1 Add better support for the DX10 DDS formats. 2008-04-11 23:58:41 +00:00
castano
4c759f999c Integrate decompressor tool improvements submitted by Amorilia. 2008-04-11 22:03:42 +00:00