-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor OCIO config handling, introduce fallback mechanism #834
Merged
iLLiCiTiT
merged 21 commits into
develop
from
enhancement/AY-6198_OCIO-fallback-for-profiles-and-templated-values
Oct 2, 2024
Merged
Refactor OCIO config handling, introduce fallback mechanism #834
iLLiCiTiT
merged 21 commits into
develop
from
enhancement/AY-6198_OCIO-fallback-for-profiles-and-templated-values
Oct 2, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Added function to extract config path from profile data - Updated global config retrieval to use new function - Introduced fallback mechanism for missing product entities
ynbot
added
type: enhancement
Improvement of existing functionality or minor addition
size/S
labels
Jul 31, 2024
… in colorspace and conversion modules. - Update version references to 0.4.5 for future removal in colorspace module. - Update function name and version reference to 0.4.4 for imageio config conversion in the conversion module.
Could this get better testing notes - and maybe a slightly more description PR description as well. Why are these changes made and what does it now allow us to do that wasn't possible before or what does it fix? |
- Removed redundant folder info handling - Added fallback mechanism for missing folder info
…files-and-templated-values
iLLiCiTiT
reviewed
Aug 8, 2024
iLLiCiTiT
reviewed
Aug 8, 2024
Improve handling of fallback data for OCIO config path. Simplified logic and error messages for better clarity.
Co-authored-by: Jakub Trllo <[email protected]>
…files-and-templated-values
iLLiCiTiT
reviewed
Aug 13, 2024
…files-and-templated-values
iLLiCiTiT
reviewed
Sep 23, 2024
iLLiCiTiT
reviewed
Sep 23, 2024
…files-and-templated-values
…files-and-templated-values
Adjust imageio config conversion function to handle changes in settings from 0.4.4 to 0.4.5, ensuring proper profile usage and plugin conversion consistency.
Simplified conditional check for ocio_config_profiles presence.
The commit updates the field name from "type" to "fallback_type" for consistency in the colorspace and settings modules.
Changed function name from '_conver_publish_plugins' to '_convert_publish_plugins' for consistency and clarity. Updated the function call accordingly in 'convert_settings_overrides'.
iLLiCiTiT
reviewed
Sep 25, 2024
iLLiCiTiT
reviewed
Sep 25, 2024
…files-and-templated-values
Co-authored-by: Jakub Trllo <[email protected]>
Co-authored-by: Jakub Trllo <[email protected]>
…files-and-templated-values
…files-and-templated-values
- Refactored code to improve readability by adjusting indentation and line breaks. - Made changes to ensure consistent formatting of the code.
iLLiCiTiT
approved these changes
Oct 2, 2024
iLLiCiTiT
deleted the
enhancement/AY-6198_OCIO-fallback-for-profiles-and-templated-values
branch
October 2, 2024 08:24
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changelog Description
Improved color management distribution now includes fallback options. If no published OCIO config is found, the system will default to any predefined OCIO config path.
Additional info
Testing notes:
1.This is very difficult to test. Approach me if you can so I can help you and discuss with you the way it should work.
2. For now, just deploy to your server the settings
3. Reboot server
4. Notice that ayon+settings://core/imageio/ocio_config_profiles/0/type
Published product
is having additional settings for fallback.5. Since you do not have any published product you can just type anything into the field
Product name
it does not matter what.6. In fallback section set it to build in ACES1.2
7. Open Nuke or any other DCC and see that its OCIO path is pointing to the build in path. You can observer this in AYON tray console just before the DCC is opened. Look for line with
>>> [ Setting OCIO environment to config path: <path>