Commit Graph

234 Commits

Author SHA1 Message Date
josh adams
dfbca5dd63 Restored the following change, after fixing up some issues found with FN builds
- Added system to only save config sections, to user Saved/Config files, that are opted in
- Currently disabled, allowing people to test locally by setting a bool in Base.ini (affects all hierarchical configs)
#rb gwennael.arbona

[CL 27589933 by josh adams in ue5-main branch]
2023-09-04 18:06:04 -04:00
josh adams
3094a829b3 [Backout] - CL27544349
#fyi Josh.Adams
Original CL Desc
-----------------------------------------------------------------
- Added system to only save config sections, to user Saved/Config files, that are opted in
- Currently disabled, allowing people to test locally by setting a bool in Base.ini (affects all hierarchical configs)
#rb gwennael.arbona

[CL 27546792 by josh adams in ue5-main branch]
2023-08-31 22:40:32 -04:00
Josh Adams
3ce7be40b1 - Added system to only save config sections, to user Saved/Config files, that are opted in
- Currently disabled, allowing people to test locally by setting a bool in Base.ini (affects all hierarchical configs)
#rb gwennael.arbona

[CL 27544349 by Josh Adams in ue5-main branch]
2023-08-31 19:38:56 -04:00
eric renaudhoude
b1cd8ebc47 OCIO: Support $OCIO or %OCIO% environment variables in config paths, per client request.
#rb ruslan.idrisov, rod.bogart
#rnx

[CL 27484785 by eric renaudhoude in ue5-main branch]
2023-08-30 10:52:11 -04:00
eric renaudhoude
914fe9cc44 OCIO: General improvements before MRQ CPU integration.
#jira UE-187781
#rb ruslan.idrisov, rod.bogart

[CL 27412612 by eric renaudhoude in ue5-main branch]
2023-08-28 11:33:42 -04:00
eric renaudhoude
19f56d6a3c OCIO: Fix just-added blueprint interface for CPU color transform.
#jira UE-193732
#rb none
#rnx

[CL 27345303 by eric renaudhoude in ue5-main branch]
2023-08-24 12:21:00 -04:00
eric renaudhoude
0c95463c3f OCIO: Exposing CPU transformation to colors (and not only images).
#jira UE-193732
#rb ruslan.idrisov, rod.bogart

[CL 27343764 by eric renaudhoude in ue5-main branch]
2023-08-24 11:34:07 -04:00
eric renaudhoude
0c859d4248 OCIO: Minor fixes.
* Make sure we properly display <None> in the config menu when nothing is selected.
* Added log message to force-disable on invalid viewport settings.

#rb ruslan.idrisov
#rnx

[CL 26714756 by eric renaudhoude in ue5-main branch]
2023-07-31 14:14:58 -04:00
eric renaudhoude
672f3a11cf OCIO: Force disable on invalid editor viewport settings.
#rb none

[CL 26691405 by eric renaudhoude in ue5-main branch]
2023-07-28 18:42:43 -04:00
eric renaudhoude
0b3f74bfb4 OCIO: Avoid relying on invalid configs/settings to skip rendering.
We update the default enabled value to false, and let users manually enable the transform.

#jira UE-191362
#rb ruslan.idrisov, rod.bogart

[CL 26672329 by eric renaudhoude in ue5-main branch]
2023-07-28 09:58:22 -04:00
eric renaudhoude
4bbe50c3ae OCIO: Fix non-unity build, and added missing editor settings processing.
#rb none
#rnx

[CL 26581559 by eric renaudhoude in ue5-main branch]
2023-07-25 14:01:28 -04:00
eric renaudhoude
d0ea1970b3 OCIO: Remove cached state in slate preventing real-time updates from scripts.
* Further simplifications to inverted view transforms support (if plugin setting is enabled): simply exposed with a checkbox now.
* Replaced <Invalid> with <None> as requested.
* Enforce forward view transforms if the inverse setting is disabled.

#jira UE-190864
#rb ruslan.idrisov, rod.bogart

[CL 26580093 by eric renaudhoude in ue5-main branch]
2023-07-25 13:28:44 -04:00
eric renaudhoude
cad09895dc OCIO: Ensure that the config hash also takes into account the bSupportInverseViewTransforms setting.
#rb trivial
#rnx

[CL 26530896 by eric renaudhoude in ue5-main branch]
2023-07-21 19:43:18 -04:00
eric renaudhoude
f5522680f4 OCIO: Fix menu crash on nullptr.
#jira UE-189359
#rb none
#rnx

[CL 26432452 by eric renaudhoude in ue5-main branch]
2023-07-18 09:35:17 -04:00
eric renaudhoude
a287ed3f6b OCIO: Prevent slate crash on invalid configuration settings.
Also simplified editor blueprint function signatures.

#jira UE-189604
#rb ruslan.idrisov
#rnx

[CL 26267316 by eric renaudhoude in ue5-main branch]
2023-06-27 15:16:03 -04:00
eric renaudhoude
949a1bb780 OCIO: Fix to ensure the OCIO is also active when a highres screenshot is being taken.
#jira UE-189477
#rb none

[CL 26212605 by eric renaudhoude in ue5-main branch]
2023-06-23 12:53:40 -04:00
joe kirchoff
fc49b3b34f Fix C4855: implicit capture of 'this' via '[=]' is deprecated in '/std:c++20'
#rnx

[CL 26110412 by joe kirchoff in ue5-main branch]
2023-06-19 19:55:34 -04:00
eric renaudhoude
a4ca6bb484 ColorManagement: Moving the OpenColorIO wrapper module to the engine.
OpenColorIOLib will now be linked against in editor builds. Module config is created lazily only if needed. To be used by subsequent TextureCompressor integration CL.

#jira UE-184127
#rb rod.bogart, ruslan.idrisov, alejandro.arango

[CL 26098141 by eric renaudhoude in ue5-main branch]
2023-06-19 14:31:30 -04:00
eric renaudhoude
cc450008af OCIO: Fix uninitialized variable warning.
#rb

[CL 26091297 by eric renaudhoude in ue5-main branch]
2023-06-19 11:18:29 -04:00
eric renaudhoude
ab662c2d1d OCIO: Parallelized (single) image processing.
Also removed heap allocations for image desc structs, and restructured the code around the parallel inner loop.

#jira UE-182792
#rb ruslan.idrisov
#rnx

[CL 26091148 by eric renaudhoude in ue5-main branch]
2023-06-19 11:09:20 -04:00
eric renaudhoude
ae948c4ce8 OCIO: Avoid adding the matrix transform when the source color space equals the working one.
#jira UE-182792
#rb ruslan.idrisov, rod.bogart
#rnx

[CL 26069322 by eric renaudhoude in ue5-main branch]
2023-06-16 16:45:40 -04:00
Ruslan Idrisov
3752c2adf7 OCIO: Added new universal method for applying OCIO transforms and shuffled a few things around.
#rb Eric.RenaudHoude
#jira UE-186625

[CL 26053368 by Ruslan Idrisov in ue5-main branch]
2023-06-16 11:22:27 -04:00
eric renaudhoude
97825ed24a OCIO: Added ARM64 architecture builds, now matching openexr coverage.
#jira UE-182792
#rb none
#rnx
#fyi ruslan.idrisov, rod.bogart

[CL 26014247 by eric renaudhoude in ue5-main branch]
2023-06-15 10:37:23 -04:00
eric renaudhoude
d3304b7ef4 OCIO: Allow OpenColorIOWrapper to be used outside of editor modes, but enforce editor linking at the plugin level. Privatized the wrapper module in the plugin as well.
(Re-do of CL 25959606, now with confirmation that the library isn't accidentally pulled in by the fornite server.)

#jira UE-182792
#rb none
[FYI] rod.bogart, ruslan.idrisov, brandon.schaefer

[CL 26001548 by eric renaudhoude in ue5-main branch]
2023-06-14 21:12:02 -04:00
eric renaudhoude
2dbafc81ac [Backout] - CL25959606
[FYI] eric.renaudhoude
Original CL Desc
-----------------------------------------------------------------
OCIO: Enable library/wrapper module use in non-editor builds as well.

#jira UE-182792
#rb ruslan.idrisov, rog.bogart
#rnx

[CL 25980225 by eric renaudhoude in ue5-main branch]
2023-06-14 11:32:46 -04:00