Skip to content
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

ocioview: MatrixTransform input parameter persistence #1880

Open
michdolan opened this issue Oct 6, 2023 · 0 comments
Open

ocioview: MatrixTransform input parameter persistence #1880

michdolan opened this issue Oct 6, 2023 · 0 comments
Labels
Python Issues that involve majority python development (vs C++). Tools Issues related to auxiliary OCIO tools (ex. ocioview, ociocheck)

Comments

@michdolan
Copy link
Collaborator

michdolan commented Oct 6, 2023

When editing a MatrixTransform in ocioview, you have the option of using a number of matrix constructors (fit, sat, scale, view). These take simplified input parameters and populate the transform's matrix and offset arrays. The problem is that there is currently no persistence for the chosen input method. The constructors work for initial entry, but reloading the transform from the config loses the input parameters.

MatrixTransform supports storage of FormatMetadata, which is primarily used when transforms are created from reading a CLF/CTF file. An element could be added to the transform's metadata to store ocioview data including Matrix parameters. This would also allow use of new transform constructors, such as using colour-science data to easily populate matrices with color primary or chromatic adaptation transforms.

@michdolan michdolan added Size-M Python Issues that involve majority python development (vs C++). labels Oct 6, 2023
@carolalynn carolalynn added Tools Issues related to auxiliary OCIO tools (ex. ocioview, ociocheck) and removed Size-M labels Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Python Issues that involve majority python development (vs C++). Tools Issues related to auxiliary OCIO tools (ex. ocioview, ociocheck)
Projects
None yet
Development

No branches or pull requests

2 participants