Commit Graph

854 Commits (eb34681ce8cc7ff1dcaa77a1d096fe424d2944a8)

Author SHA1 Message Date
Ignacio c591c5f8b4 Compute spherical harmonics from cube maps. Work in progress. 5 years ago
leper 2ac75fc932 Remove duplicate link instruction. 5 years ago
leper 542711f862 Link with -fPIC when using Clang.
Remove the need for a few workarounds by handling this in just one place.
5 years ago
Ignacio 7c68e09d77 Fix ATOC overflow error on large textures. Merge fix from The Witness. 6 years ago
Ignacio a9a6f6968e Fix minor warnings.
Add output directories to ignore list.
6 years ago
Starnick 0f65d60602 Updated C-API to support 2D array textures + added missing enum values from nvtt.h 6 years ago
Ignacio d2b514a3c1 Comment out hack. 6 years ago
Ignacio a1c54bc7f7 Add fast sRGB conversion. 6 years ago
Ignacio bc60e8c154 Use our own parallel for by default to avoid dependencies. 6 years ago
Ignacio 1722b00802 FloatImage does not need a virtual dtor. 6 years ago
Ignacio 95f1f60490 Enable stb libraries for image loading. This was disabled by error. 6 years ago
Ignacio 5c70ffef0b
Merge pull request #287 from madscientist159/master
Fix build on OpenPOWER (ppc64le) platforms
6 years ago
Ignacio 005b2518c9 Install nvtt_wrapper.h. Fix issue #288. 6 years ago
Timothy Pearson 95454e9024 Fix build on OpenPOWER (ppc64le) platforms 6 years ago
Ignacio 95bd6193cc Fix bug 281. 6 years ago
Stefan Brüns ff3bd55892 Fix compilation on Linux - missing include, semicolon
According to http://man7.org/linux/man-pages/man3/memalign.3.html ,
memalign() is defined in malloc.h.
Also, the line should be terminated with a semicolon.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
6 years ago
Ignacio 9489aed825 Merge changes from The Witness. 6 years ago
Stefan Brüns 00d7e249e2 Add nvimgdiff to TOOLS target, so it is installed by default
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
6 years ago
Stefan Brüns 389f7582e5 Fix linking of bc7, needs symbols from nvmath
If nvtt is build with -Wl,--as-needed, the linker will not resolve bc7
symbols from any library listed earlier, make sure it (also) appears
after libbc7.a
6 years ago
Remi Papillie b03d5178fc Fix .hdr images being loaded as LDR before compression 6 years ago
Ignacio befe79d103 Merge changes from thekla-atlas. 7 years ago
Ignacio e442d6d390 Remove incorrect assert. Fixes issue #261. 7 years ago
Ignacio ed735ac2cb Fix alpha coverage subsampling. Fixes issue #266. 7 years ago
Justin Meiners d47de35893 added noalpha option to assemble and fixed RGB write 7 years ago
Ignacio 4fb0070b7e Do not use undeclared format. 7 years ago
Ignacio fa03dfc291 Add option to control prefered swizzle. 7 years ago
Ignacio 923b57db45 Merge pull request #255 from AMDmi3/patch-3
Use libexecinfo on FreeBSD as well
7 years ago
Ignacio ef30f69c9d Merge pull request #256 from AMDmi3/patch-4
Use HW_NCPU on FreeBSD as well
7 years ago
Ignacio 7849ee9e71 Merge pull request #260 from leper/master
Add virtual destructor to TaskDispatcher.
7 years ago
Ken Cooke 01597842fe Update CMakeLists.txt and vc8/9/10 projects 7 years ago
Ken Cooke 96b73af196 Fast implementations of toLinear() and toGamma() for default gamma=2.2 7 years ago
leper 78054e977b Add virtual destructor to TaskDispatcher.
This removes a GCC warning about that missing while virtual functions exist.
7 years ago
Dmitry Marakasov a64cc24169 Use HW_NCPU on FreeBSD as well 7 years ago
Dmitry Marakasov 6b24b1f45c Use libexecinfo on FreeBSD as well 7 years ago
Lunkhound 0535ab3414 fix a bug where created normal maps were not packed prior to compression 8 years ago
Lectem 24e63456c6 Fix compression for non multiple of 4 texture size
If the width or the height was not a multiple of 4, we would read data outside of the bitmap array
8 years ago
Ignacio 6fb57d3478 Fix order of kaiser parameters. 8 years ago
Ignacio 383331bb42 Fix issue #240. 8 years ago
Ignacio 1a75484520 Minor fixes. 8 years ago
Ignacio a11a6739c2 Fix comments. Minor fixes. 8 years ago
Lectem 1770ad7280 Fix build on VC2015
On VC2015 the project wouldn't build because of the missing typedefs.
This was tested on both 2013 and 2015.
8 years ago
Ignacio b0afc82d7d Minor osx fixes.
Remove FindCUDA and use cmake version instead.
8 years ago
Kamil Rytarowski 3c4ccd41fa Add basic NetBSD support 8 years ago
Timothy Pearson f8790a536a Fix remaining issues on PPC64EL
One AltiVec-related build issue remained
Self tests now pass on LE POWER platforms

Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
8 years ago
Timothy Pearson 203eda1d47 Fix build on PPC64LE
Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
8 years ago
Timothy Pearson 47b06d3255 Fix build failure due to PPM save incorrect data types
Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
8 years ago
sanderd17 65b3dfa4a6 Fix compilation on GCC 6
GCC 6 apparently doesn't want to cast booleans to pointers anymore. So this fixes it for us. See also our changeset: http://trac.wildfiregames.com/changeset/18364
8 years ago
Ignacio 875a78a124 Merge pull request #236 from mpersano/master
Add support for compressing texture arrays.
8 years ago
mpersano 46e5c6a8ee Fix nvassemble command-line options parsing. 8 years ago
mpersano 2bd367a4dc Add support for compressing texture arrays.
Also add support for reading/writing DX10 uncompressed (RGB/lumi) textures, so
now it's possible to compress a texture array assembled with nvcompress.
8 years ago
Ignacio 49677da371 Remove executable property. 8 years ago
mpersano db8fc561c3 Support assembling texture arrays. 8 years ago
Ignacio 9b79638f79 Disable test code from nvdecompress. Update vc12 projects and fix vc12 build. Fixes bug #232. 9 years ago
Ignacio 7596650a2d Be more clear that Qt4 is not used. From cfcohen. 9 years ago
Ignacio 9d6c7d6a69 Integrate more changes from cfcohen. 9 years ago
Ignacio a20044bccc Integrate changes from cfcohen to supress warning. 9 years ago
Ignacio 268e6abd65 Integrate cfcohen changes to fix linker problems with gcc. 9 years ago
Ignacio 87ca69bd14 Do not output messages for disabled libraries. 9 years ago
Ignacio 63d29a508e Fix compiler warning. 9 years ago
Ignacio e9a8630a3f Increase array size to supress compiler warning. 9 years ago
Ignacio c0ad0f4d31 Merge changes from The Witness. 9 years ago
Ignacio Castaño a382ea5b21 Fix compiler warning. 9 years ago
Ignacio Castaño 26723de502 Fix memory leak reported by Sylvain Rochette in issue #229. 9 years ago
Ignacio 58617584d4 Apply patch provided in issue #224. Add support for ARM64. 9 years ago
Ignacio 4ef408b591 Remove debug code. 9 years ago
Ignacio d32f0e0173 Merge pull request #223 from cmdrf/no-include-library-h
Do not include Library.h
9 years ago
cmdrf 7b031aa4bf Do not include removed Library.h 9 years ago
cmdrf d01d72f8e7 Update NV_FOREACH for C++11 9 years ago
Ignacio 0d205015ae Merge pull request #221 from cmdrf/snprintf-vs2015
Do not redefine snprintf on VS2015
9 years ago
Ignacio 7aa0390f32 Merge pull request #220 from cmdrf/cmakecuda
Fix CMake CUDA introspection
9 years ago
cmdrf fa062aa298 Do not redefine snprintf on VS2015 9 years ago
cmdrf 205f492e2e Fix CMake CUDA introspection 9 years ago
cmdrf 899a99a106 Fix link order for Linux 9 years ago
cmdrf 766edcb1a6 Fix more link order for Linux 9 years ago
Thomas Roß 9ad63e7f3a Fixed compiler flag being set on wrong target. 9 years ago
Ignacio 81336cc3e9 Remove unnecessary files. 9 years ago
Ignacio e9d44813d2 Merge pull request #216 from esok/master
Added support for gcc and c++11 features.
9 years ago
Ignacio a083337473 Merge changes from The Witness. 9 years ago
esok 6bc3224fe7 Added support for gcc and c++11 features. 9 years ago
castano 7e2a9d1adb osx fixes. Fix issue 211. 10 years ago
castano 2d6fc0e304 DXT1 compressor tweaks. 10 years ago
castano d019cd7080 Merge changes from the witness. 10 years ago
castano@gmail.com 4cb60cc5ba Fix vc12 build. 10 years ago
castano ac87eefa6d Apply patch to update C# wraper. Fixes issue 184. 10 years ago
castano f705b2eaa1 Fixes issue 93. 10 years ago
castano 6ade0e27b7 Fixes issue 202. 10 years ago
castano 7e74261f92 Fixes issue 204. 10 years ago
castano 57298c71c8 Fix issue 194. 10 years ago
castano b06a6f46a5 Fixes issue 207. 10 years ago
castano 63d6036e3a Fix issue 206. 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
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). 11 years ago
castano@gmail.com 57b99a1595 Apply CubeSurface fold/unfold patch. Fixes issue 199. 11 years ago
castano@gmail.com b2b367ef5f Fix xyzToCieLab bug and add CIE Lab DeltaE 1994 color differencing.
Fixes issue 197.
Fixes issue 198.
11 years ago
castano@gmail.com 022944e49b Apply patch to fix issue 192. 11 years ago
castano@gmail.com 27024253ce Handle 3d textures in nvcompress. 11 years ago
castano 22bc0b949d Fix assert. Fixes issue 190. 11 years ago
castano ac0759efc8 Update cmake file. Fixes issue 189. 11 years ago