Commit Graph

54 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
Ignacio
c0ad0f4d31 Merge changes from The Witness. 2015-10-28 23:53:08 -07:00
Ignacio
4ef408b591 Remove debug code. 2015-07-20 14:32:16 +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
f705b2eaa1 Fixes issue 93. 2014-06-11 19:46:17 +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
27024253ce Handle 3d textures in nvcompress. 2013-07-09 17:16:41 +00:00
castano
ac3f2d1794 Misc changes. 2012-08-28 16:44:23 +00:00
castano
f1c943cd57 Merge changes from The Witness. 2012-02-14 16:37:15 +00:00
castano
3c0ab2d3f3 Merge changes from the witness. 2011-09-27 17:48:46 +00:00
castano
b68d428492 Accumulate filter sums using doubles to avoid unsymmetries. Fixes issue 167. 2011-09-14 17:51:09 +00:00
castano
9ebcff93de More tweaks. 2011-04-06 02:14:32 +00:00
castano
5f8cd22cdb Merge changes from the-witness. 2011-01-08 04:54:06 +00:00
castano
1e2567e4a3 More work toward 2.1: Implement InputOptions using TexImage. 2010-11-03 18:31:16 +00:00
castano
e8dc679874 Merge recent changes from the witness. 2010-08-31 01:39:08 +00:00
castano
47e8f23e9f Merge fix for issue 134 into trunk. 2010-08-26 16:46:03 +00:00
castano
9e881f28d1 Merge changes from the-witness.
Fix DXT5n compressor.
2010-07-22 10:25:14 +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
035231a928 Minor changes. 2010-05-28 23:16:06 +00:00
castano
8cbd2c9ec6 Add mipmap scaling according to alphatest coverage. 2010-05-27 00:37:15 +00:00
castano
bcf0df2b49 use default pixel format, add comment to indicate where to change default 2009-10-30 01:05:31 +00:00
castano
18a3abf794 Enable alpha dithering when using DXT3.
Update timing message.
2009-10-21 07:43:24 +00:00
castano
cb62c3c461 Add support for R16 in DDS headers.
Cleanup DDS header output code.
Temporary testing code added to nvcompress.
2009-07-28 08:05:23 +00:00
castano
720be412fa Return correct error codes. Fix issue 92. 2009-06-13 14:17:46 +00:00
castano
3a52923697 Add alpha command line option. 2009-03-02 09:07:07 +00:00
castano
9953883d26 Cleanup cmake files. 2009-03-02 07:32:00 +00:00
castano
f92a2191f2 Print message when cuda acceleration enabled. 2009-01-20 10:43:56 +00:00
castano
19342d8adf Use timer class instead of clock.
Check that file exists before opening.
2009-01-09 05:46:24 +00:00
castano
16adf94635 Add support for floating point output formats.
Images are currently output in linear space, some color transforms not applied.
2008-07-31 09:55:22 +00:00
castano
e9002a7d86 Adding support for floating point input/output. Work in progress. 2008-07-31 02:04:44 +00:00
castano
bb5b02df0e Adding support for floating point images as input. 2008-07-29 08:56:40 +00:00
castano
c2508d9eeb Add option to use dds10 headers. 2008-07-29 02:31:57 +00:00
castano
58e5f6534f Print version number in copyright statement. 2008-05-22 21:48:40 +00:00
castano
ea340443d9 Add -mipfilter command line option, per request of Noel Llopis. 2008-05-19 20:10:05 +00:00
castano
0f186e688f Remove 'virtual' from non virtual methods. 2008-05-08 21:15:05 +00:00
castano
307c8b99ee Add support for premultiplied alpha. Patch by Charles Nicholson. 2008-03-07 00:41:03 +00:00
castano
a9bd20270b Fix DDS reading code. 2008-02-11 07:00:45 +00:00
castano
e1d5bda3e9 prevent overflow when compressing large images. 2008-02-05 22:41:58 +00:00
castano
3c90686e00 Final API changes.
Rename OutputHandler::mipmap method to beginImage.
Add NVTT_VERSION.
Add nvtt::version function.
2008-02-05 00:28:13 +00:00
castano
357f18c162 Cleanup interface. Provide mipmap filter using a separate method. 2008-02-03 09:30:32 +00:00
castano
3fcf9c9773 Remove commented out code. 2008-02-03 08:27:02 +00:00
castano
039035ae25 Cleanup public header. 2008-02-03 08:24:58 +00:00
castano
90a0dc505b Fix typo.
Add bc1n option.
2008-02-01 19:50:55 +00:00
castano
ebf8234dc6 Update tools to new interface. 2008-01-26 02:47:43 +00:00
castano
92c3dd3f75 remove error threshold. 2008-01-18 23:51:47 +00:00
castano
eb96117989 Add ui tool temporarily called main... 2007-12-17 05:26:14 +00:00