Бранимир Караџић
17bcbaf414
Fixed warnings.
2020-06-09 20:09:51 -07:00
NPatch
b336e20b9e
Removing hasAlpha from bimg::TextureInfo and bimg::imageGetSize
2020-05-17 04:16:45 +03:00
NPatch
5de76c05a3
LodePNG and EXR parsers now set ImageContainer.m_hasAlpha.
...
hasAlpha field added in bimg::TextureInfo and bimg::imageGetSize.
2020-05-16 18:08:21 +03:00
Бранимир Караџић
5ee42f6de1
Removed alignment macros, and added functions instead.
2020-04-19 18:22:49 -07:00
Robin Allen
d69aef2368
Fix bug where loading uncompressed sRGB KTX files would swap B/R
2020-03-04 17:55:17 +00:00
Robin Allen
7d226675ea
Enable KTX sRGB formats
...
- When parsing, set m_srgb flag on the ImageContainer if the image
is in an sRGB format.
- When writing, take a new srgb parameter. If set, use the appropriate
sRGB format.
2020-03-03 22:14:59 +00:00
Бранимир Караџић
f19841e815
Removed error.
2020-02-20 07:54:11 -08:00
Бранимир Караџић
29a722a729
Cleanup.
2020-02-08 15:41:35 -08:00
Vladimir Vukicevic
504ea68273
Add BIMG_DECODE_ASTC
2020-01-31 17:28:41 -08:00
Бранимир Караџић
bfbafce461
Happy New Year!
2020-01-14 21:26:10 -08:00
Brick
ea12e899d5
Optimized decodeBlockBc6h
2019-12-31 04:56:23 +00:00
Christophe Dehais
c93f4b5808
Use the correct layer size in imageWriteKtx
2019-11-26 22:07:25 +01:00
David Amador
e80463a5e7
fixed build error
2019-11-14 08:52:15 +00:00
Бранимир Караџић
2676f06e89
Cleanup.
2019-11-13 21:26:49 -08:00
Бранимир Караџић
cab4328a94
Cleanup.
2019-11-13 20:39:07 -08:00
Бранимир Караџић
0ab650f972
Cleanup.
2019-11-12 21:36:24 -08:00
Бранимир Караџић
9b5edc85ae
WIP: Added ability to enable/disable decoders.
2019-11-10 20:26:04 -08:00
Sebastian Marketsmueller
42cd01203d
fix integer log2 for asmjs
2019-10-25 14:45:12 -07:00
Бранимир Караџић
dab021bc46
Cleanup.
2019-07-27 20:12:31 -07:00
Бранимир Караџић
50833b01ac
Cleanup.
2019-07-23 20:42:41 -07:00
Бранимир Караџић
6a8a1cbe38
Merge pull request #24 from andrewwillmott/astc-nmap-encoding
...
ASTC normal map support
2019-07-23 20:38:08 -07:00
Andrew Willmott
73fa013ec0
ASTC normal map support
...
- Update astc to 57af6af from https://github.com/andrewwillmott/astc-encoder
- Expand bimg::Quality to include source-as-normal-map
modes, intended as a hint to the encoder.
- Hook this up for ASTC, and in texturec
2019-07-24 01:35:33 +01:00
Бранимир Караџић
6fc9933183
Fixed crash when reading out of bounds.
2019-07-22 19:35:29 -07:00
Бранимир Караџић
58d682e633
Cleanup.
2019-07-15 20:45:22 -07:00
Бранимир Караџић
f0947b794c
Cleanup.
2019-02-17 16:55:25 -08:00
Branimir Karadžić
cf58871928
Fixed ASTC decoding.
2019-02-16 21:52:23 -08:00
Бранимир Караџић
7ad9c896ba
Added astc-codec decoder.
2019-02-16 13:11:06 -08:00
Бранимир Караџић
e1edb3b72c
Cleanup.
2019-01-29 15:03:00 -08:00
Бранимир Караџић
db9122c255
Happy New Year!
2019-01-13 17:12:46 -08:00
Branimir Karadžić
baffd743b9
Cleanup.
2018-12-21 18:02:22 -08:00
Branimir Karadžić
c37ce95e22
Removing old vector math.
2018-12-20 23:25:19 -08:00
Branimir Karadžić
18248c9492
Fixed decoding into image with different destination pitch.
2018-12-20 16:39:05 -08:00
william7ba
a4d5eb104e
Add scaled mip-chain for sdf textures
2018-12-17 16:38:54 -08:00
Branimir Karadžić
7224cff4dc
EXR: Added more info about cause of failure to parse.
2018-12-04 18:32:16 -08:00
Branimir Karadžić
ba69d9e52c
Cleanup.
2018-11-25 20:10:40 -08:00
Branimir Karadžić
08e5d46037
Removing old vector math.
2018-11-17 20:01:38 -08:00
Branimir Karadžić
3bb8625872
Cleanup.
2018-11-14 20:01:36 -08:00
Branimir Karadžić
d9d6e81ce1
Removed writePrintf.
2018-11-12 20:26:14 -08:00
Branimir Karadžić
8a7d5589c2
texturec: Added --linear option.
2018-11-02 17:16:32 -07:00
Branimir Karadžić
084e14e301
texturec: Fixed SDF generation.
2018-11-01 18:06:19 -07:00
Branimir Karadžić
65b7c21db8
Cleanup.
2018-07-25 05:19:25 +02:00
Andrew Willmott
03ad3921ef
ASTC encoding support
...
- Add 3rdparty/astc with lib version of the standard encoder
- Add astc_compress call for ASTC formats
- Add BIMG_CONFIG_ASTC_DECODE-gated decompression support. This is just for
testing, the decompress code is currently too heavy to include in the core lib.
- Add fourcc support for DDS decode so ASTC and other formats not covered by
dxgi can be read
- Add --formats option to texturec, lists all supported formats
- Update genie files -- add astc to bimg_encode and remove redundant files from
texturec
2018-07-23 19:05:11 +01:00
Branimir Karadžić
3a72f45d7d
Cleanup.
2018-07-19 19:55:59 -07:00
Branimir Karadžić
dc121dbc27
Cleanup.
2018-07-18 20:30:45 -07:00
Branimir Karadžić
e802985376
Calculate mip size based on block size.
2018-07-18 20:27:24 -07:00
Branimir Karadžić
8f382eb408
Fixed GGC radiance filtering.
2018-07-17 14:43:31 -07:00
Branimir Karadžić
ef8639ca40
Improved GGX cubemap filter.
2018-07-13 18:02:48 -07:00
Branimir Karadžić
0e5b5bbf8e
[texturec] Added support for converting strip to cubemap.
2018-07-02 16:31:16 -07:00
Branimir Karadžić
732e6e88b0
Added GGX radiance cubemap filter.
2018-06-29 13:23:15 -07:00
Branimir Karadžić
31defc6701
Cleanup.
2018-06-26 18:08:09 -07:00