castano
d019cd7080
Merge changes from the witness.
2014-11-04 17:49:29 +00:00
castano@gmail.com
4cb60cc5ba
Fix vc12 build.
2014-09-23 17:49:18 +00:00
castano
ac87eefa6d
Apply patch to update C# wraper. Fixes issue 184.
2014-06-11 21:02:04 +00:00
castano
f705b2eaa1
Fixes issue 93.
2014-06-11 19:46:17 +00:00
castano
6ade0e27b7
Fixes issue 202.
2014-05-21 18:09:47 +00:00
castano
7e74261f92
Fixes issue 204.
2014-05-21 17:47:06 +00:00
castano
57298c71c8
Fix issue 194.
2014-05-21 17:23:05 +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
f2fa0517b5
Ported over James Arvo's SVD code from ZOH. It's a good deal slower than the eigensolver, and no better in RMSE - so didn't use it, but left the code in place for future reference.
...
Also replaced doubles with floats in the eigensolver code. Speeds up BC6 another 5%. No change to RMSE in test suite.
2013-12-05 02:13:17 +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
nathaniel.reed@gmail.com
77188a42ac
Fix VC10 project files. Fix code to build with CUDA 5.5 (the cudaMemcpyToSymbol overload that takes the symbol name as a string was removed).
2013-10-16 21:18:16 +00:00
castano@gmail.com
57b99a1595
Apply CubeSurface fold/unfold patch. Fixes issue 199.
2013-09-04 01:10:52 +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
022944e49b
Apply patch to fix issue 192.
2013-07-20 00:08:06 +00:00
castano@gmail.com
27024253ce
Handle 3d textures in nvcompress.
2013-07-09 17:16:41 +00:00
castano
22bc0b949d
Fix assert. Fixes issue 190.
2013-06-25 17:03:08 +00:00
castano
ac0759efc8
Update cmake file. Fixes issue 189.
2013-06-12 05:57:08 +00:00
castano@gmail.com
94d0635285
Merge changes from the Witness.
2013-06-07 17:53:55 +00:00
castano
634229a842
Fix issue 182.
2013-02-05 18:38:39 +00:00
castano
eb5556548d
Fix issue 186. Confirmed it works on gcc and clang.
2013-02-05 18:35:38 +00:00
castano
14faa8e564
Fix linux/osx compiler errors. Fixes issue 168.
2013-02-05 07:35:15 +00:00
castano
2f12bfdb41
Fix issue 158.
2013-02-05 07:17:25 +00:00
castano
358bd0296e
Fix issue 181.
2013-02-01 23:19:58 +00:00
castano
aa6cd0d2e5
Fix alpha detection code. Fixes issue 183. Thanks rocatis!
2013-01-29 20:37:15 +00:00
castano
83bdcb541c
OpenBSD fixes. Fixes issue 176.
2012-09-11 16:41:02 +00:00
castano
1d8d067caf
Fix build under OSX with clang. Fixes issue 180.
2012-09-11 16:22:09 +00:00
castano
15f5e19d40
Add missing semicolon. Fixes issue 179.
2012-09-05 04:06:37 +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
bff3dab505
Fix errors.
2012-07-20 16:36:20 +00:00
castano
04bdc76749
Merge changes from The Witness.
2012-07-20 16:32:26 +00:00
castano
3b4fcd0369
Merge changes from The Witness.
2012-07-20 16:19:03 +00:00
castano
fea97461c5
Merge changes from The Witness.
2012-07-20 16:17:28 +00:00
castano
897cc78397
Port fix from 2.0 to trunk. Problem discovered thanks to Jern-Kuan.
2012-07-20 16:10:25 +00:00
castano
0eb7c3eb71
Integrate skylight model. Work in progress.
2012-05-22 18:47:38 +00:00
castano
20c5078e93
Fix tabs.
2012-05-03 17:12:49 +00:00
castano
c784e03be5
Try to increase robustness of thread pool.
2012-05-03 17:04:53 +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
b130487c2a
Merge changes from the witness.
2012-04-30 23:03:00 +00:00
castano
8ff802dac1
Merge changes from the witness.
2012-04-30 23:02:46 +00:00
castano
69e8641db5
Merge changes from the witness.
2012-04-30 23:02:23 +00:00
castano
d5a3c1d3a7
Minor cleanups to testsuite output.
2012-03-09 07:44:13 +00:00
castano
79360e6501
Fix msvc build.
2012-03-09 07:08:16 +00:00
castano
b6b47ff254
Fix pedantic warning.
2012-03-01 03:50:07 +00:00
castano
095737d863
Linux build fix from Matthaus.
2012-03-01 03:48:34 +00:00
castano
9609d1e2fd
Darwin/Lion fixes.
...
Integrate Linux and Unicode fixes from Matthaus.
2012-03-01 03:48:05 +00:00
castano
21af952fec
osx fixes. Update cmake files.
2012-02-14 18:00:47 +00:00
castano
f1c943cd57
Merge changes from The Witness.
2012-02-14 16:37:15 +00:00
castano
1248743859
Merge changes from The Witness.
2012-02-14 16:35:42 +00:00
castano
fa468b04ab
Merge changes from The Witness.
2012-02-14 16:31:25 +00:00
castano
06c170b41b
Merge changes from The Witness.
2012-02-14 16:16:27 +00:00
castano
cb6c18efa4
Add info about Valve's texture format.
2012-02-14 16:15:20 +00:00
castano
d44a65c7b7
Fix unicode builds.
2012-02-03 16:23:52 +00:00
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
e46f48f0a3
Better stack trace parser for OSX.
2012-01-04 02:24:30 +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
086bf0343c
Minor opt.
2011-11-11 02:19:28 +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
0b3959e1a1
Linux fixes. Thanks to Rico Tzschichholz.
2011-10-11 22:22:29 +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
e462e3ef58
build nvthread properly
2011-10-04 06:09:50 +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
f0d9497e1f
Add missing changes.
2011-09-28 19:54:05 +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
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
8c65e4c62d
Do not depend on external int limits.
2011-09-27 18:25:39 +00:00
castano
2364f539eb
Porting parallel stuff to unix.
2011-09-27 18:12:32 +00:00
castano
5081360073
Add missing file.
2011-09-27 17:51:13 +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
4906642ac3
Revert Library.*, needed for CUDA stuff.
2011-09-26 05:33:53 +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
fe108af32e
Pitch is specified in bytes and always byte aligned. Fixes issue 168.
2011-09-13 17:08:09 +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
69ff14a54c
Apply changes suggested in issue 161.
2011-04-30 23:13:07 +00:00
castano
71d53e0d4e
Fix leak.
2011-04-22 00:04:29 +00:00
castano
2643a62d4a
Undo buffer class. Use plain array for easier debugging.
2011-04-07 07:41:58 +00:00
castano
144a8d6d4b
Fix errors in meta data api.
2011-04-06 06:42:22 +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
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
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
609db2639e
Move foreach to its own header.
2011-02-28 09:05:03 +00:00
castano
b74cd8ec97
Add target decoder compression option.
2011-02-28 08:27:24 +00:00
castano
cd6f798b85
tabs to spaces
2011-02-28 08:19:38 +00:00
castano
b72a69f25c
Supress msvc warning.
...
Replace tabs with spaces.
2011-02-25 09:51:09 +00:00
castano
0a290a64cc
Add support for D3D9 and D3D10 decoders. Fixes issue 157.
2011-02-25 09:27:40 +00:00
castano
94dce3b623
Fix vc warnings.
2011-02-25 09:26:27 +00:00
castano
92db15b8d9
Do not compile old quantization code anymore.
2011-01-25 09:18:42 +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
4f098c4ff9
Workaround GCC error.
2011-01-19 07:26:22 +00:00
castano
4fc1952539
Fix tabs.
2011-01-19 07:25:49 +00:00
castano
5324156cc4
Fix kernel offset. Fixes issue 158.
2011-01-19 07:12:22 +00:00
castano
5f8cd22cdb
Merge changes from the-witness.
2011-01-08 04:54:06 +00:00
castano
993e853a5f
Set OpenMP compiler flags.
2010-12-10 10:29:43 +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
3265c36e14
Reallocate float image data properly. Fixes issue 155.
2010-12-08 19:56:06 +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
260097151d
Link against pthreads library on systems that do not include it automatically. Fixes issue 149.
2010-11-30 20:30:11 +00:00
castano
c21fa98ba5
Fix Linux build.
2010-11-26 08:47:48 +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
1484c667a0
Add missing files.
2010-11-11 19:13:01 +00:00
castano
1f1afe0c33
Add SCIE-Lab error metric. Work in progress.
2010-11-11 19:10:14 +00:00
castano
5cf219a22e
Add perceptual color distance function.
2010-11-10 03:28:44 +00:00
castano
26283c8c25
Minor fixes.
2010-11-09 19:34:45 +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
ea42b83573
Fix linux build errors.
2010-11-02 01:03:19 +00:00
castano
5ae77ae037
Fix warnings.
2010-10-28 05:39:35 +00:00
castano
1c588e3311
Fix some warnings.
2010-10-28 05:39:02 +00:00
castano
4bbf62855c
osx/iphone fixes.
2010-10-28 05:38:39 +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
47df8ff7d6
Fix readBlock. Fixes issue 145.
2010-10-21 18:58:49 +00:00
castano
f0bcbdca5c
Fix seek bug. Fixes issue 144.
2010-10-21 18:47:27 +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
5d80fb8219
Fix TGA loading using FreeImage. Fixes issue 141.
2010-10-13 17:49:16 +00:00
castano
2bd7db4244
Fix error after changes in Memory.h
2010-10-09 07:45:48 +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
06bf4ea960
Fix typo, fixes issue 137.
2010-09-20 17:14:13 +00:00
castano
765a89951d
tabs -> spaces
2010-09-20 06:59:24 +00:00
castano
19f872161e
Use posh typedefs.
...
Enable stacktraces on OS X.
2010-09-20 06:58:20 +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
2c969b70a5
Fix mirror sampling in trunk. Fixes issue 135.
2010-09-07 18:08:53 +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
da548fd03a
Use noinline.
2010-07-13 23:28:31 +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
e5736fcf92
Add explicit load methods to DirectDrawSurface.
2010-07-01 00:25:44 +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
f2c581dec1
Remove unused methods. Add float color block.
2010-06-21 22:23:01 +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
82da6ea0a0
Do not enable CUDA under mingw.
2010-06-10 02:27:51 +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