Commit Graph

271 Commits

Author SHA1 Message Date
castano
94401919b8 Add some inline files to reduce amount of code parsed. 2011-10-10 19:35:21 +00:00
castano
78fa1e785d Fixes and optimizations. 2011-10-01 02:07:32 +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
e15aa7a9bf Remove RGBE compressor. Implement as a color transform. 2011-09-28 18:44:18 +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
3c0ab2d3f3 Merge changes from the witness. 2011-09-27 17:48:46 +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
02709e1699 Set DDPF_FOURCC flag when using DX10 container. Fixes issue 165. 2011-09-13 19:20:51 +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
144a8d6d4b Fix errors in meta data api. 2011-04-06 06:42:22 +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
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
92db15b8d9 Do not compile old quantization code anymore. 2011-01-25 09:18:42 +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
3265c36e14 Reallocate float image data properly. Fixes issue 155. 2010-12-08 19:56:06 +00:00
castano
23b140416a Work in progress. Experiment with lightmap compression. 2010-11-12 03:32:46 +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
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
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
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
bd74a9ffc6 Merge changes from the-witness. 2010-10-21 18:44:10 +00:00
castano
5d80fb8219 Fix TGA loading using FreeImage. Fixes issue 141. 2010-10-13 17:49:16 +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
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
9e881f28d1 Merge changes from the-witness.
Fix DXT5n compressor.
2010-07-22 10:25:14 +00:00
castano
9094756997 Merge changes from the witness. 2010-07-13 03:08:45 +00:00
castano
e5736fcf92 Add explicit load methods to DirectDrawSurface. 2010-07-01 00:25:44 +00:00
castano
f2c581dec1 Remove unused methods. Add float color block. 2010-06-21 22:23:01 +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
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
caff2c9006 Fix assert when reading paletted TGA images. Fixes issue 125. 2010-06-01 17:51:57 +00:00
castano
da503d2b3e Imperative api is sort of working now. Fixed various bugs. 2010-06-01 02:04:33 +00:00
castano
035231a928 Minor changes. 2010-05-28 23:16:06 +00:00
castano
51a4fe7e2d Merge private branch. 2010-05-27 23:18:39 +00:00
castano
56401d5f7d fix polyphase filter 2010-05-27 19:28:49 +00:00
castano
8cbd2c9ec6 Add mipmap scaling according to alphatest coverage. 2010-05-27 00:37:15 +00:00
castano
f6a39d6eab Remove duplicate code. 2010-05-14 04:58:08 +00:00
castano
85db14f213 Add vertical flip. 2010-05-05 00:24:31 +00:00
castano
447634d263 Fix cmake build in msvc. Fixes issue 111. 2010-03-18 00:13:31 +00:00
castano
96f22f8cd4 Fix isColorNoAlpha, but leave it commented out. 2010-03-10 08:49:40 +00:00
castano
acc02abaf1 Fix messages. 2009-11-03 23:17:11 +00:00
castano
8ea52efbf4 Add DXT3 nvidia decoder. 2009-10-21 07:40:49 +00:00
castano
d86a89742e Update info message. 2009-10-21 07:40:23 +00:00
castano
fd11f5e7ef Implement generic swizzle, remove specialized ones. 2009-10-21 07:39:59 +00:00
castano
a088ae5789 Implement normal map generation for floating point images. 2009-10-18 20:03:21 +00:00
castano
a52d3b7cdc Tweak implementation of scaleBias. 2009-10-18 20:02:43 +00:00
castano
573cc1b371 Add support for UINT16 images when using freetype. 2009-07-28 08:03:36 +00:00
castano
2ca6e4a1bd Add support function for stb compressor. 2009-07-06 09:06:40 +00:00
castano
43893d5d0f Add NV5x DXT5 decompressor. 2009-07-06 09:00:30 +00:00
castano
009eaf2aa6 Fix msvc warnings. 2009-07-06 08:59:48 +00:00
castano
8d361eee22 Use memory allocator correctly. 2009-06-13 14:17:10 +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
5ac76b68c9 Add option to select decompression algorithm to test suite. 2009-03-24 17:35:40 +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
8a48250bcb Fix win32 errors and errors in the png saving code. 2009-03-19 08:57:28 +00:00
castano
56543e1a92 Merge changes from 2.0 2009-03-18 04:05:39 +00:00
castano
72543c9307 Add todo message. 2009-03-17 08:16:00 +00:00
castano
872c61e1d1 Add image saving code. 2009-03-17 08:14:28 +00:00
castano
7f3cee4db9 Remove commented out code. 2009-03-17 06:33:31 +00:00
castano
8e836591ee Fix warning. 2009-03-15 18:34:46 +00:00
castano
50b8b67185 Hide file format especific savers. Add generic image saver.
Misc fixes under OSX.
2009-03-15 10:18:54 +00:00
castano
098bc2f905 Fix some endiannes errors. 2009-03-04 09:36:40 +00:00
castano
03c9ec0f62 More cleanup. Remove files that are not strictly required. 2009-03-01 02:38:24 +00:00
castano
88fc5ca18e Merge changes from private tree.
Eliminate files that are not needed for NVTT.
2009-03-01 00:18:47 +00:00
castano
69c74d7a5e Add support for comments. 2009-02-03 09:23:58 +00:00
castano
7741a99b90 Add support for saving PNG files. Patch by Frank Richter. Fixes issue 79. 2009-02-03 09:06:21 +00:00
castano
36dd7fb76b Merge changes from p4. 2009-02-03 08:22:35 +00:00
castano
1afdf2da8a Fix alpha-weighted filtering. 2009-01-28 12:10:04 +00:00
castano
4f576d5539 Add support for alpha weighting to float image. 2009-01-28 10:55:23 +00:00
castano
2411f3f5db Fix generation of blended sobel filter. Fixes issue 77. 2009-01-28 00:56:27 +00:00