AcademySoftwareFoundation / AcademySoftwareFoundation/OpenColorIO

ocioview: MatrixTransform input parameter persistence

Open
#1,880 0 comments 0 reactions 0 assignees View on GitHub
Python Tools
Dominant language
C++
Stars
2.1k
Forks
503
PR merge metrics
No merged PRs in 30d

Description

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](https://www.colour-science.org/) data to easily populate matrices with color primary or chromatic adaptation transforms.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.