AcademySoftwareFoundation / AcademySoftwareFoundation/OpenColorIO

ocioview: MatrixTransform input parameter persistence

Offen
#1,880 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Python Tools
Vorherrschende Sprache
C++
Sterne
2.1k
Forks
503
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne damit, die Bearbeitung von MatrixTransform und das Neuladen der Konfiguration in ocioview nachzuverfolgen, und untersuche anschließend, wie MatrixTransform FormatMetadata speichert. Definiere die Metadatenrepräsentation für den ausgewählten Konstruktor und seine Parameter und stelle sicher, dass das Speichern und Neuladen die Konstruktorargumente beibehält, ohne vorhandene CLF/CTF-Metadaten zu beeinträchtigen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
cpp
Bereich
desktop
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.