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
castano
c1f9c4df42
Create default output handle on setFileName to avoid modifying const argument.
...
Fix ref counting errors in TexImage.
Format TODO messages.
2009-10-18 08:09:20 +00:00
castano
18474cdb33
Some more progress towards 2.1:
...
- Add raw input methods in context.
- Implement some of the TexImage input methods in context.
- Add output header context method for TexImage.
2009-10-12 07:56:02 +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
f1ebbd4da6
Add more third-party compressors.
2009-07-06 09:04:29 +00:00
castano
782a127071
Add alpha flag to DXT1a files.
2009-04-16 20:06:08 +00:00
castano
8529dcf755
Fix memory leaks.
...
Shutdown CUDA properly when nvtt context is destroyed.
Fixes issue 83.
2009-03-18 05:46:53 +00:00
castano
6b67f4a0d7
More progress with imperative api.
...
Rename Texture to TexImage.
Implement image initialization.
Add stubs for all methods.
2009-03-16 08:37:07 +00:00
castano
a02649faa9
Fallback to CPU compressor only on smaller images.
2009-03-14 03:29:14 +00:00
castano
a28ebb4ccf
Some more progress in the imperative API.
2009-03-07 07:14:00 +00:00
castano
3df66be089
Do not use CUDA to compress small mipmaps.
2009-03-02 09:09:05 +00:00