Бранимир Караџић
b3c9a34a3a
Added EAC texture formats.
2025-11-11 08:12:04 -08:00
attilaz
b8603b8456
ktx: fixed srgb for etc2/bc7 textures ( #97 )
2025-11-11 14:52:12 +00:00
Бранимир Караџић
446b9eb111
Removed requirement that .dds file set DDSD_CAPS and DDSD_PIXELFORMAT.
2025-03-06 19:29:43 -08:00
Бранимир Караџић
c5c7b6e187
Happy New Year!
2025-01-13 15:45:33 -08:00
Бранимир Караџић
b7130927db
Cleanup.
2024-12-07 22:49:58 -08:00
Branimir Karadžić
e9fa0ceff2
DDS: Fixed legacy formats.
2024-03-27 22:00:55 -07:00
Бранимир Караџић
0903ea21d5
DDS: Fix legacy BGR formats.
2024-02-09 22:12:49 -08:00
Branimir Karadžić
af81ff7a3c
DDS: Recognize more formats.
2024-02-09 21:39:48 -08:00
Paul Gruenbacher
daedacc877
Fix ktx parsing failing if texture array has 6 layers ( #84 )
...
* Fix ktx parsing failing if texture array has 6 layers
Fixing line in code that assumes if numSides == 6 then it must be a cubemap even though numSides in this situation can refer to numLayers as well.
* Update src/image.cpp
confirmed this works and makes sense
Co-authored-by: Raziel Alphadios <64050682+RazielXYZ@users.noreply.github.com >
---------
Co-authored-by: Raziel Alphadios <64050682+RazielXYZ@users.noreply.github.com >
2024-01-31 12:00:16 -08:00
Бранимир Караџић
964a5b8548
Happy New Year!
2024-01-14 01:56:15 -08:00
Raziel Alphadios
82781e44d8
Ktx fixes ( #82 )
...
* Fix ktx issues that were making it out of spec
* Fix ktx cubemap mip size to follow spec (must not be multiplied by size in a cubemap)
* Remove numLayers from cubemap image size calculation since it is always 1 in this case
2023-10-07 23:07:25 -07:00
Branimir Karadžić
ec02df824a
Added bx::Location, and removed allocator macros.
2023-04-23 19:19:15 -07:00
Бранимир Караџић
f12bf096f6
Happy New Year!
2023-01-14 10:04:54 -08:00
Branimir Karadžić
6a15b31f19
Fixed build.
2023-01-01 19:12:09 -08:00
Бранимир Караџић
8c3aabc3c1
Updated astc-encoder.
2022-11-10 17:27:01 -08:00
von
58c0869be5
remove unnecessary line
2022-10-31 13:14:46 +08:00
von
3d0678e3cc
fix dds texture array
2022-10-31 10:05:35 +08:00
von
6a2599324f
fix dds texture array bug
2022-10-31 09:53:59 +08:00
Raziel Alphadios
e0e9fef6a8
Drop astc-codec and use astc-encoder for decoding too
...
Add missing ASTC formats to imageEncode path too
2022-10-26 04:39:59 +03:00
Raziel Alphadios
3e096a4a50
Add support for remaining unsupported ASTC formats
2022-10-26 02:34:33 +03:00
Бранимир Караџић
603dff3fb7
Fixed warning.
2022-09-18 19:23:59 -07:00
Sandy Carter
9a074b7fcc
pixelformats: Add B5G6R5
2022-08-24 11:04:43 -04:00
Sandy Carter
5d840d38a6
pixelformats: Add BGR5A1
2022-08-24 10:22:56 -04:00
Sandy Carter
21e42e98c8
pixelformats: Add BGRA4
2022-08-24 09:57:27 -04:00
Бранимир Караџић
9d6af16116
Happy New Year!
2022-01-15 11:58:54 -08:00
Christophe Dehais
6c6bb12137
Fix ktx cubemap size calculation
...
Change was introduced by commit #63 (b8a7a90 )
2021-10-26 16:07:40 +02:00
Бранимир Караџић
c4941995d3
Fixed assert macros, and improved error handling.
2021-10-25 18:59:22 -07:00
attilaz
b8a7a901db
Fixes for cubemap loading from ktx/pvr3 container
2021-08-06 09:07:59 +02:00
attilaz
ceea976049
added etc2a decoder
2021-08-03 09:47:41 +02:00
attilaz
4aa1353311
ETC2 decompression fixes
2021-08-02 10:38:39 +02:00
Бранимир Караџић
a8686f9a20
Happy New Year!
2021-01-14 15:53:32 -08:00
Бранимир Караџић
bf830a85f5
texturec: Added support for vertical cubemap strip.
2020-11-25 17:08:29 -08:00
Бранимир Караџић
bfe3c683f9
RRenamed BX_CHECK to BX_ASSERT.
2020-06-16 10:06:08 -07: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
Бранимир Караџић
dab021bc46
Cleanup.
2019-07-27 20:12:31 -07:00
Бранимир Караџић
6fc9933183
Fixed crash when reading out of bounds.
2019-07-22 19:35:29 -07:00
Branimir Karadžić
cf58871928
Fixed ASTC decoding.
2019-02-16 21:52:23 -08:00