Commit Graph

498 Commits

Author SHA1 Message Date
castano
d08c9e61e3 Fix merge error. 2012-02-02 16:21:48 +00:00
castano
8922ab86d6 Fix msvc build. Fixes issue 171.
Improve sse perf.
Fix rmse computation in nvimgdiff.
2012-01-12 16:54:10 +00:00
castano
6d843c78cf HDR encoding tests. 2012-01-04 02:25:28 +00:00
castano
f2d90ee844 Fix errors in new cluster fit compressor. 2012-01-02 08:49:13 +00:00
castano@gmail.com
23bfc1b514 Fix errors and enable new cluster fit compressor. 2012-01-01 21:29:27 +00:00
castano
035997bc2e Fix cube map processing bug reported by Cedric Perthuis. 2011-12-12 18:05:04 +00:00
castano
78d48e62a9 Merge changes from The Witness. 2011-11-11 02:02:58 +00:00
castano
2e9afac689 Add tone mapping operators. 2011-11-11 00:48:22 +00:00
castano@gmail.com
fa0800a24a Some bug fixes. 2011-10-12 00:01:58 +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
cbf4b2e3bf Some debugging. 2011-10-04 06:10:34 +00:00
castano
9e7651e2d5 Work in progress. 2011-10-04 01:33:31 +00:00
castano
78fa1e785d Fixes and optimizations. 2011-10-01 02:07:32 +00:00
castano
149a50a26f Filtering optimizations. 2011-09-30 17:21:08 +00:00
castano
18b3f8025e Add test. 2011-09-30 16:36:35 +00:00
castano
eb10483faf Fix bugs. In progress cube map loading. 2011-09-30 01:52:27 +00:00
castano
dc13d9e9d2 Add support for float10 and float11 formats. Not tested. 2011-09-29 23:14:18 +00:00
castano
676a0b2908 work in progress. 2011-09-29 00:58:47 +00:00
castano
9de43e7757 Fix build errors/warnings. 2011-09-28 22:02:46 +00:00
castano
d87b7edd5f RGBE conversion fixes. 2011-09-28 19:53:02 +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
91e6bbe5c3 Add convolution method to TexImage. Fixes issue 166. 2011-09-27 18:41:02 +00:00
castano
2364f539eb Porting parallel stuff to unix. 2011-09-27 18:12:32 +00:00
castano
3c0ab2d3f3 Merge changes from the witness. 2011-09-27 17:48:46 +00:00
castano
9c0658edca Fixes. 2011-09-27 17:29:50 +00:00
castano
86b43e55c1 cubemap support, work in progress. 2011-09-27 17:28:01 +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
fe108af32e Pitch is specified in bytes and always byte aligned. Fixes issue 168. 2011-09-13 17:08:09 +00:00
castano
5d19ff392a Some pitch alignment fixes. Fixes issue 168. 2011-08-26 12:11:38 +00:00
castano
69ff14a54c Apply changes suggested in issue 161. 2011-04-30 23:13:07 +00:00
castano
11d04287c9 Fix errors. 2011-04-06 06:42:10 +00:00
castano
76a7adf83e Apply patch suggested in issue 161. 2011-04-06 06:41:57 +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
765a0e394a Add more error estimation methods. 2011-03-06 22:23:24 +00:00
castano
92d7ebded3 Add dual paraboloid transform. 2011-03-01 03:02:40 +00:00
castano
9302ee2cb0 Add normal encoding test. 2011-02-28 09:49:47 +00:00
castano
28592e73a8 Add normal transforms and reconstruction. 2011-02-28 09:05:28 +00:00
castano
b74cd8ec97 Add target decoder compression option. 2011-02-28 08:27:24 +00:00
castano
0a290a64cc Add support for D3D9 and D3D10 decoders. Fixes issue 157. 2011-02-25 09:27:40 +00:00
castano
12bf7f9346 Implement quantization. 2011-01-25 09:17:53 +00:00
castano
95b5e1decd Cleanup clusterfit. 2011-01-19 07:27:04 +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
a607aadf32 Reenable openmp task dispatcher. 2010-12-10 02:14:56 +00:00
castano
8d99f2c6c4 Add tbb code. 2010-12-09 20:57:41 +00:00
castano
f4cf5dd32c Experiments with microsoft concurrency runtime. 2010-12-09 00:37:34 +00:00
castano
f99761c813 Disable new experimental compressor. 2010-12-08 20:11:11 +00:00
castano
3ee2c39be4 Generate mipmaps until both extents are 1. Fixes issue 156. 2010-12-08 19:53:59 +00:00
castano
b2f59ea0d7 Fix memory overrun. 2010-12-06 19:28:44 +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
0bb3011f7f Add cluster fit implementation based on squish. 2010-11-12 03:35:28 +00:00
castano
23b140416a Work in progress. Experiment with lightmap compression. 2010-11-12 03:32:46 +00:00
castano
4cbf43165c Undo changes. 2010-11-11 19:53:45 +00:00
castano
d6f6c1f1d4 Undo changes. 2010-11-11 19:52:00 +00:00
castano
5cf219a22e Add perceptual color distance function. 2010-11-10 03:28:44 +00:00
castano
49482d1441 Work in progress.
Merging squish into nvtt. 
Using squish only to find endpoints, do discrete refinement afterwards.
2010-11-09 03:38:03 +00:00
castano
1d4a2ea710 Testsuite outputs graphs using google api. 2010-11-08 19:03:20 +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
188d5043d8 Use tabs. 2010-10-22 05:12:35 +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
5d498d6824 Fix cuda compressor. Start work on new UI. 2010-10-18 08:47:50 +00:00
castano
df13c904b2 Stop using custom memory allocators.
Fix aliasing errors. Fixes issue 139 in trunk.
Fix build errors under OSX.
2010-10-06 02:56:35 +00:00
castano
765a89951d tabs -> spaces 2010-09-20 06:59:24 +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
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
ac7c017c35 DXT1a single color compressor. Fixes issue 131.
Init single color tables at startup.
2010-07-22 09:23:17 +00:00
castano
9094756997 Merge changes from the witness. 2010-07-13 03:08:45 +00:00
castano
50d80e3b81 Add simple dds file viewer. 2010-07-01 00:26:37 +00:00
castano
1e0dea0738 Fix build. Minor cleanups. 2010-06-24 07:45:39 +00:00
castano
cfdc731634 Write BC6/BC7 headers in TexImage path. 2010-06-24 07:32:17 +00:00
castano
528b93ab14 Replace tabs with spaces. 2010-06-24 07:17:36 +00:00
castano
39c291e2a6 Fix build. 2010-06-24 07:10:34 +00:00
castano
5c60989043 BC6/7 progress. Work in progress. 2010-06-21 22:23:28 +00:00
castano
f9753b649a Fix mingw warning. 2010-06-10 02:30:38 +00:00
castano
11411bae2b Do not compile ui. 2010-06-10 02:30:25 +00:00
castano
42a641f0a5 Fix errors when cuda is not enabled. 2010-06-10 02:30:01 +00:00
castano
b19cd63558 Fix mingw error. 2010-06-10 02:29:04 +00:00
castano
5bb6a54f61 Fix mingw errors/warnings. 2010-06-10 02:28:49 +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
f08e2c4f64 Add alpha map processor. 2010-06-03 05:49:04 +00:00
castano
e5ffd618f7 Replace tabs with spaces. 2010-06-03 00:32:49 +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
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
c8bf853ba4 More cleanup. 2010-05-31 07:41:01 +00:00
castano
8e074b2e28 Remove executable properties. Add cmake file. 2010-05-30 05:43:14 +00:00
castano
757e372726 Integrate bc6 compressor into nvtt. 2010-05-30 05:40:29 +00:00
castano
cf2b20dd43 Fix build error on OSX. 2010-05-29 05:33:28 +00:00
castano
fd6b8449bf Add bc6 and bc7 compressors from nvidia. 2010-05-29 02:47:57 +00:00
castano
035231a928 Minor changes. 2010-05-28 23:16:06 +00:00
castano
1454cbac14 Fix build. 2010-05-28 07:45:11 +00:00
castano
8cbd2c9ec6 Add mipmap scaling according to alphatest coverage. 2010-05-27 00:37:15 +00:00
castano
77bfabca3b Remove experimental callback mechanism. 2010-05-20 05:25:50 +00:00
castano
27f84c5caa Start work on a simple dds viewer. 2010-05-20 05:25:15 +00:00
castano
a32d780347 Experiment with output callbacks instead of handlers. 2010-05-18 17:13:30 +00:00
castano
d38b89edc7 fix comment. 2010-05-18 17:12:36 +00:00
castano
0322f1b54a Add comment. 2010-05-18 17:12:01 +00:00
castano
639f11d0b9 Use the same defaults as nvtt 2.0 2010-05-11 17:18:08 +00:00
castano
85db14f213 Add vertical flip. 2010-05-05 00:24:31 +00:00
castano
ac5f849e91 Better estimation of principle component. Fixes issue 120. 2010-04-19 18:41:42 +00:00
castano
4783d5621e Add missing files to cmake build as reported by amorilia. 2010-03-21 18:38:26 +00:00
castano
f436a71479 Add support for RGBE. 2010-03-17 07:55:03 +00:00
castano
78b55e1e37 Finish pixel format converter. 2010-03-17 02:25:06 +00:00
castano
3b0e0c3402 Fix errors after merge. Update cmake files. 2010-03-16 22:46:09 +00:00
castano
a19e25228f reorg. 2010-03-16 22:37:25 +00:00
castano
d8ed531e4c minor optimization. 2010-03-16 22:36:14 +00:00
castano
1fafffd8af Detect OpenMP properly. 2010-03-16 22:31:27 +00:00
castano
0e5a1877a8 Some progress on the CUDA compressors. 2009-11-05 09:27:03 +00:00
castano
dfe081d32a Update messages. 2009-11-03 23:27:24 +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
8c7f54056c Add more todo items.
Delete images more efficiently?
2009-10-21 19:20:30 +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
18a3abf794 Enable alpha dithering when using DXT3.
Update timing message.
2009-10-21 07:43:24 +00:00
castano
384f74ba39 Use minimal set by default. 2009-10-21 07:42:33 +00:00
castano
7d75840398 Add todo messages.
Use DXT3 nvidia decoder if requested.
2009-10-21 07:42:08 +00:00
castano
ea7dabc6b1 Add comment. 2009-10-19 05:42:27 +00:00
castano
0878c0e967 Add expand and pack normal methods.
Set normal map flag.
2009-10-18 20:04:39 +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
9de3298d6b Fix cmake build. 2009-10-11 23:51:22 +00:00
castano
568f34d838 Fix color weighted compression for single color blocks. Fixes issue 96. 2009-09-21 18:46:48 +00:00
castano
e38e584db2 Rename texture to teximage. 2009-09-14 22:43:53 +00:00
castano
8655259379 Fix comment. 2009-08-26 01:27:50 +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
126816ef72 Experimental quality improvements and speed optimizations. 2009-07-06 09:08:09 +00:00
castano
b839b873e1 Remove commented out code. 2009-07-06 09:06:17 +00:00
castano
ab473f4ec5 Add DXT5 tests.
Use timer class.
2009-07-06 09:05:54 +00:00
castano
f1ebbd4da6 Add more third-party compressors. 2009-07-06 09:04:29 +00:00
castano
ac79935c88 Init default values. 2009-07-06 09:03:12 +00:00
castano
2aca4673ab Some progress implementing new api. 2009-07-06 09:02:20 +00:00
castano
60022acaa7 Add dxt5 tests to testsuite. 2009-07-04 19:34:42 +00:00