Commit Graph

23 Commits (d019cd7080144a7881f49919b426e8be8c497780)

Author SHA1 Message Date
castano d019cd7080 Merge changes from the witness. 10 years ago
castano 7e74261f92 Fixes issue 204. 10 years ago
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.
11 years ago
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.
11 years ago
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.
11 years ago
castano@gmail.com 94d0635285 Merge changes from the Witness. 11 years ago
castano 1d8d067caf Fix build under OSX with clang. Fixes issue 180. 12 years ago
castano fa468b04ab Merge changes from The Witness. 12 years ago
castano@gmail.com 23bfc1b514 Fix errors and enable new cluster fit compressor. 13 years ago
castano 94401919b8 Add some inline files to reduce amount of code parsed. 13 years ago
castano 5f8cd22cdb Merge changes from the-witness. 14 years ago
castano 23b140416a Work in progress. Experiment with lightmap compression. 14 years ago
castano bd74a9ffc6 Merge changes from the-witness. 14 years ago
castano 9ae9ec1975 Fix power method initial estimate as in squish. 14 years ago
castano c09067e477 Merge private branch. 14 years ago
castano 88fc5ca18e Merge changes from private tree.
Eliminate files that are not needed for NVTT.
15 years ago
castano a30490ab9b Preserve cluster location for empty partitions. 16 years ago
castano 379605d30a Use metric to measure distance to clusters. 16 years ago
castano d4a713451e Fix 4 means clustering. 16 years ago
castano a4dcd414ca Fix errors. 16 years ago
castano 48da357385 Add PCA, and 4-means implementation. 16 years ago
castano 59be16d40a Remove unused fitting code. 16 years ago
castano 7543dd1efa Import all sources from perforce. 17 years ago