Commit graph

151 commits

Author SHA1 Message Date
Olivier Prat
a93a081a9d Fixed small bug 2019-03-26 18:31:00 +01:00
Olivier Prat
311f3f43ac Fixed issue with EXR images on Android 2019-03-26 16:24:16 +01:00
Olivier Prat
92c406fc65 Fixed bug 2019-03-26 11:49:17 +01:00
Olivier Prat
d2011481bf Successfull buid and link of Oven with OpenEXR 2019-03-26 11:37:32 +01:00
sabrina-shanman
3016860bab Fix QFile::open complaining the device was already open in
TextureBaker::processTexture
2019-03-14 13:31:29 -07:00
Ryan Huffman
62f17acaf7 Fix warnings in TGAReader 2019-03-08 14:01:29 -08:00
Ryan Huffman
1f0a8b18c8 Fix warning about TGAOrientation 2019-03-08 13:01:56 -08:00
Ryan Huffman
2af9dc886a Add logging category to TGAReader 2019-03-08 11:56:04 -08:00
Ryan Huffman
c55811ced5 Add support for TGA orientation 2019-03-08 09:47:35 -08:00
Ryan Huffman
5fd2b0699a Add more complete support for .tga files 2019-03-08 09:47:35 -08:00
sabrina-shanman
08ef9b6f84 Remove unused duplicate ColorChannel enum 2019-02-12 16:44:37 -08:00
sabrina-shanman
b2af6d1374 Have only one ColorChannel enum as header in image library 2019-02-12 16:14:41 -08:00
sabrina-shanman
2b355e9d52 Re-name ColorChannelMapping to ColorChannel and put versions in two specific libraries rather than shared 2019-02-12 11:56:44 -08:00
sabrina-shanman
5840f272ed Store mapped single channel texture with alpha of 255 just to be safe 2019-02-11 09:07:45 -08:00
sabrina-shanman
23806ed67d Add support for GLTF roughness/metallic 2019-02-08 18:54:40 -08:00
Howard Stearns
66ae01e0c3 Merge branch 'master' of github.com:highfidelity/hifi into no-url-logging 2018-11-12 12:55:20 -08:00
Brad Davis
8c4f0ec774 Vcpkg migration 2018-11-08 12:28:06 -08:00
Roxanne Skelly
cef7000a72 Case 19754 - Remove logging URLs and related file locations.
The goal is to strip out data that can be used by untoward users in
copying models, avatars, etc.
2018-11-06 16:24:32 -08:00
Ryan Huffman
9fadf58e7b Add threads lib to image lib 2018-08-10 13:56:48 -07:00
Ryan Huffman
6be0c43fca Update generateIrradiance to take a BackendTarget 2018-08-08 10:00:02 -07:00
Ryan Huffman
140b9be1c4 Update BackendTarget to include version 2018-08-08 10:00:02 -07:00
Ryan Huffman
f1e63f489b Update image::processImage to use compress flag for GLES 2018-08-08 10:00:01 -07:00
Ryan Huffman
9ea08f1850 Add ETC2 support to Oven 2018-08-08 10:00:01 -07:00
Clément Brisset
11d84e780d
Merge pull request #13283 from huffman/feat/uncompressed-ktx-in-texmeta
Add uncompressed KTX files to baked texture output
2018-06-13 11:49:41 -07:00
Ryan Huffman
569f7dc308 Fix crash in image baking due to undefined mip format
A recent change caused formatMip to no longer be specified. This causes
an issue deeper in the code when generating mips, causing a
Q_UNREACHABLE to be hit.
2018-06-13 08:33:22 -07:00
Clément Brisset
91d7990d7a
Merge pull request #12854 from birarda/bug/hdr-format-static
fix skybox bake assert on HDR_FORMAT static order initialization
2018-06-12 17:19:27 -07:00
Stephen Birarda
016a6dcd84 use ref for HDR_FORMAT to avoid static order 2018-06-12 16:31:57 -07:00
Ryan Huffman
3e65e0b0cd Update processImage to not compress by default 2018-06-08 13:21:47 -07:00
Ryan Huffman
24182d3451 Remove compression variables & functions in image.cpp 2018-06-08 12:14:52 -07:00
Ryan Huffman
faafd26d2a Add uncompressed KTX files to baked texture output 2018-06-08 11:39:47 -07:00
SamGondelman
12b91a2ab7 compress skyboxes 2018-05-18 13:18:43 -07:00
SamGondelman
6b268191c8 local compression, patched etc2comp 2018-05-15 14:05:21 -07:00
SamGondelman
7418fe782c local compression on android 2018-05-09 14:30:33 -07:00
SamGondelman
07600f2a81 add etc2comp dependency on desktop and android 2018-05-08 17:30:48 -07:00
SamGondelman
44ea5a2e84 add etc2/eac support 2018-04-05 18:59:22 -07:00
Brad Davis
49dea19b26 Fix BGR/RGB bug on GLES 2018-02-22 14:11:05 -08:00
Brad Davis
d087530423 Add nvtt to android build 2018-02-02 13:42:26 -08:00
Brad Davis
104dbabee9 Infinite loop guard 2018-01-19 11:42:13 -08:00
Brad Davis
bdfa1273ba Merge remote-tracking branch 'upstream/master' into android 2018-01-18 17:33:10 -08:00
Clément Brisset
956f45b5af
Merge pull request #11932 from birarda/bug/baking-folder-number
fix sparse rectification for small textures, export for same model at diff URL
2018-01-18 14:25:33 -08:00
Brad Davis
bd5af2b493 Working on android avatar rendering 2018-01-09 11:40:32 -08:00
Gabriel Calero
6050737e7c Resolving comments in PR 2018-01-08 17:36:08 -03:00
Gabriel Calero
3d86c24b34 Fix uncompressed textures. Generate CPU mipmaps for android 2018-01-03 16:42:19 -03:00
Gabriel Calero
e418339876 Fix uncompressed textures for android 2018-01-03 16:42:19 -03:00
SamGondelman
ee3c47d5ec fix equirectangular skybox loading 2017-12-18 13:21:12 -08:00
Clément Brisset
833f98b98b
Merge pull request #11920 from Atlante45/feat/reduce-memory-usage
Reduce Image library memory usage
2017-12-11 09:29:22 -08:00
Atlante45
d6ac0dc3c2 CR - indentation 2017-12-07 12:54:34 -08:00
Atlante45
4fd83ddd0e Reduce Image memory usage by moving the data 2017-12-07 12:54:34 -08:00
Ryan Huffman
94a58a2471 Remove baking dependency from assignment-client 2017-12-07 10:53:23 -08:00
Atlante45
a4b3180271 Fix sparse rectification for small textures 2017-12-05 14:44:11 -08:00
Bradley Austin Davis
d6072f2bf2 Add bullet and draco to precompiled libraries 2017-11-28 11:32:34 -08:00
Olivier Prat
01c3ca17ee Fixed cube map conversion from equirectangular maps when done after HDR conversion 2017-10-13 11:05:27 +02:00
samcake
592a4de1e5 Fix the HDR generation of cube maps from equirect images (1x2) 2017-10-11 15:56:22 -07:00
Atlante45
cea0f48e5c Fix warnings 2017-10-10 15:19:09 -07:00
Olivier Prat
db9a9e723c Merged with master 2017-10-10 12:11:23 +02:00
Bradley Austin Davis
e42068f681 Merge branch 'master' into android_new 2017-09-26 14:31:29 -07:00
Olivier Prat
23c77d528a Merged with master with new abotProcessing in image 2017-09-25 09:48:24 +02:00
Olivier Prat
98820f720d KTX serialization / unserialization working with compressed HDR. Not sure with packed floats 2017-09-21 13:17:25 +02:00
Olivier Prat
5ec9c5bb45 Fixed some coding standard issues 2017-09-21 09:32:34 +02:00
Stephen Birarda
a8ac015bc4 address code review comments 2017-09-19 13:56:42 -07:00
Bradley Austin Davis
b93e91b9f3 New android toolchain 2017-09-19 13:45:12 -07:00
Stephen Birarda
e1d79ee8f4 add abort to Baker and subclasses 2017-09-19 13:18:23 -07:00
Olivier Prat
037550f176 Switched back to R11G11B10 for HDR cube maps because of sometimes wrong hue shifts with RGB9E5 2017-09-18 10:58:38 +02:00
Olivier Prat
b8065d46ce Fixed bugs with conversion to packed floats 2017-09-13 19:15:51 +02:00
Olivier Prat
aab63bf109 Added support for R11G11B10F and RGB9E5 cubemaps. Weird colors though but it doesn't crash 2017-09-13 14:32:22 +02:00
Stephen Birarda
1508edb459 use store/load to be clearer about atomics 2017-09-07 12:07:58 -07:00
Stephen Birarda
7859b3b11f remove image compression choices from Interface settings 2017-09-07 12:07:57 -07:00
Stephen Birarda
84b5afaa4d mark task dispatcher as override 2017-08-30 17:28:17 -07:00
Ryan Huffman
8e73eae341 Update nvtt to only use a single thread 2017-08-21 13:40:50 -07:00
Stephen Birarda
07440e325f fix force of BC3 instead of BC1a compression 2017-05-26 12:04:35 -07:00
Stephen Birarda
9cdd7cc895 fix model check for filenames with periods 2017-05-23 15:46:45 -07:00
Stephen Birarda
898433f42e force BC3 instead of BC1a compression for alpha textures 2017-05-23 14:16:43 -07:00
Atlante45
a8b1a29a4a Add support for BC7 compression 2017-05-18 13:11:41 -07:00
Brad Hefta-Gaub
a88f72024d Merge pull request #10243 from birarda/bake-textures
Add an internal tool for domain/model/skybox KTX texture baking
2017-05-12 12:26:33 -07:00
Seth Alves
4aa683363c back out previous changes, do compressionOptions.setPitchAlignment(4) instead 2017-05-11 16:22:12 -07:00
Atlante45
ecda313223 Add runtime access to compression settings 2017-05-04 15:07:59 -07:00
Atlante45
542923839d Change name to VEC2NU8_XY 2017-05-04 10:33:34 -07:00
Atlante45
10289f5423 Format non compressed normal maps to new format. 2017-05-04 10:33:34 -07:00
Stephen Birarda
0b4a8d05aa fix references to moved texture type enum 2017-04-26 18:37:36 -07:00
Atlante45
33f58f99d1 CR 2017-04-25 16:09:31 -07:00
Atlante45
9dbae4b54e CR 2017-04-25 15:56:23 -07:00
Atlante45
56f656f92a Disable compression during runtime 2017-04-25 15:56:23 -07:00
Atlante45
1820207259 Fix processTextureAlpha 2017-04-25 15:56:23 -07:00
Atlante45
d6ab35ba1a Logging cleanup 2017-04-25 15:56:23 -07:00
Atlante45
b98cd7355e Code cleanup 2017-04-25 15:56:23 -07:00
Atlante45
77d8bf20a7 Fix warnings 2017-04-25 15:56:23 -07:00
Atlante45
fae49668b4 Disable CubeMap and NormalMap compression 2017-04-25 15:56:23 -07:00
Atlante45
145af2b911 Fix ImageReader for images with a wrong extension 2017-04-25 15:56:23 -07:00
Atlante45
fc1b920341 Add ability to disable texture compression 2017-04-25 15:56:23 -07:00
Atlante45
ad16a935e9 Texture::create returns shared pointer 2017-04-25 15:56:23 -07:00
Atlante45
63e564c178 Add source hash to KTX metadata 2017-04-25 15:56:23 -07:00
Atlante45
d9a7615cc8 Add compression support for skyboxes 2017-04-25 15:56:23 -07:00
Stephen Birarda
d72e5e5b24 add handling for install_name_tool calls on OS X 2017-04-25 15:56:23 -07:00
Stephen Birarda
3a217f75f4 force release for NVTT on Win32 2017-04-25 15:56:23 -07:00
Stephen Birarda
5c12180b58 use pre-built NVTT on windows 2017-04-25 15:56:23 -07:00
Atlante45
ae73cf4038 Add support for Grayscale and NormalMap textures 2017-04-25 15:56:23 -07:00
Stephen Birarda
27c6011e6e change nvtt external to ignore release type 2017-04-25 15:56:23 -07:00
Stephen Birarda
ee62e7dcb8 update nvtt external to build from source 2017-04-25 15:56:22 -07:00
Atlante45
69a27d516f Fix roughness 2017-04-25 15:56:22 -07:00
Atlante45
5ceb30b69c Make sure mips are copied to memory 2017-04-25 15:56:22 -07:00