.. SPDX-License-Identifier: CC-BY-4.0 Copyright Contributors to the OpenColorIO Project. Process ======= aces-dev Discovery & Classification ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The config generation process starts with a set of definitions and classes to discover, parse and classify the CTL transforms from `aces-dev `__: - :func:`opencolorio_config_aces.discover_aces_ctl_transforms` - :func:`opencolorio_config_aces.classify_aces_ctl_transforms` - :func:`opencolorio_config_aces.print_aces_taxonomy` .. note:: This approach allowed us to improve the consistency of the **CTL** transforms ``ACEStransformID`` while fixing various filename issues. Using ``ACES2065-1`` as connection spaces, it is possible to build a colour conversion graph with all the high-level relevant transforms. - :func:`opencolorio_config_aces.build_aces_conversion_graph` - :func:`opencolorio_config_aces.plot_aces_conversion_graph` .. only:: html .. image:: _static/ACES_Conversion_Graph.svg An initial mapping of *ACES* **AMF** components is generated after the classification process. The mapping defines the ``ACEStransformID`` relationships. Its generation is automated but needs to be guided by an external file, i.e., ``opencolorio_config_aces/config/reference/discover/resources/ACES_AMF_Components.json``, because a few relationships cannot be derived automatically. Analytical & Reference Configs Generation ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The colour conversion graph is then used to create the *Analytical* config that maps 1-to-1 the **aces-dev** **CTL** transforms to theoretical **OpenColorIO** builtin transforms. This config does not work but it is useful to test basic generation capabilities whilst diagnosing issues in the mapping. The *Reference* config is driven by a *CSV* file generated from a `spreadsheet `__ mapping the ``ACEStransformID`` to **OpenColorIO** builtin transforms. - :func:`opencolorio_config_aces.generate_config_aces` CLF Transforms Generation, Discovery & Classification ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The working group decided to express additional colour transforms using `CLF `__. Some *CLF* transforms can be serialised into a config which reduces the need for external files. Each *CLF* transform has a ``CLFtransformID`` specified according to the `CLF Formatting for ACES OCIO Config `__ document. The repository contains code to generate, discover and classify the additional *CLF* transforms that the *CG* and *Studio* configs require. - :func:`opencolorio_config_aces.discover_clf_transforms` - :func:`opencolorio_config_aces.classify_clf_transforms` - :func:`opencolorio_config_aces.print_clf_taxonomy` CG Config Generation ^^^^^^^^^^^^^^^^^^^^ The *CG* config generator also uses a *CSV* file generated from a `spreadsheet `__ pivot table that expresses which ``ACEStransformID`` should be used from the ``Reference`` config and which ``CLFtransformID`` should be used from the shipped *CLF* transforms. - :func:`opencolorio_config_aces.generate_config_cg` The conversion process is as follows: *aces-dev Discovery & Classification* -> *Reference Config Generation* -> *CLF Transforms Generation, Discovery & Classification* -> *CG Config Generation* Studio Config Generation ^^^^^^^^^^^^^^^^^^^^^^^^ The *Studio* config generator follows the same approach but uses a different `pivot table `__ of the spreadsheet. - :func:`opencolorio_config_aces.generate_config_studio` The conversion process is as follows: *aces-dev Discovery & Classification* -> *Reference Config Generation* -> *CLF Transforms Generation, Discovery & Classification* -> *Studio Config Generation* Config Versioning Rules ======================= The following rules have been adopted to version up the config name colorspaces: +-------------------------------------------+----------------------------------------+-------------------------------------------------------+ | Major Version Increase | Minor Version Increase | Patch Version Increase | +===========================================+========================================+=======================================================+ | Remove **Colorspace** | Add **Colorspace** | Add **Colorspace** to ``inactive_colorspaces`` | +-------------------------------------------+----------------------------------------+-------------------------------------------------------+ | Remove **Look** | Add **Look** | Add **Look** to ``inactive_colorspaces`` | +-------------------------------------------+----------------------------------------+-------------------------------------------------------+ | Remove **NamedTransform** | Add **NamedTransform** | Add **NamedTransform** to ``inactive_colorspaces`` | +-------------------------------------------+----------------------------------------+-------------------------------------------------------+ | Remove **DisplayColorspace** | Add **DisplayColorspace** | Add **DisplayColorspace** to ``inactive_colorspaces`` | +-------------------------------------------+----------------------------------------+-------------------------------------------------------+ | Remove **ViewTransform** / **SharedView** | Add **ViewTransform** / **SharedView** | | +-------------------------------------------+----------------------------------------+-------------------------------------------------------+ | Remove **Role** | Add **Role** | | +-------------------------------------------+----------------------------------------+-------------------------------------------------------+ | Reassign **Role** | | | +-------------------------------------------+----------------------------------------+-------------------------------------------------------+ | Change to Transform Processing Output | | Fix Incorrect Transform Processing Output? | +-------------------------------------------+----------------------------------------+-------------------------------------------------------+ | Remove alias from ``aliases`` | Add alias to ``aliases`` | | +-------------------------------------------+----------------------------------------+-------------------------------------------------------+ | Remove *AMF* component | Add *AMF* component | | +-------------------------------------------+----------------------------------------+-------------------------------------------------------+ | | | Change to ``categories`` | +-------------------------------------------+----------------------------------------+-------------------------------------------------------+ | | | Change to ``encoding`` | +-------------------------------------------+----------------------------------------+-------------------------------------------------------+ | | | Change to ``family`` | +-------------------------------------------+----------------------------------------+-------------------------------------------------------+ | | | Change to Transform Description | +-------------------------------------------+----------------------------------------+-------------------------------------------------------+ | | | Change to Config Description | +-------------------------------------------+----------------------------------------+-------------------------------------------------------+ | | | Change to ``file_rules`` | +-------------------------------------------+----------------------------------------+-------------------------------------------------------+ | | | Change to ``viewing_rules`` | +-------------------------------------------+----------------------------------------+-------------------------------------------------------+ | | | Change to ``active_displays`` | +-------------------------------------------+----------------------------------------+-------------------------------------------------------+ | | | Change to ``active_views`` | +-------------------------------------------+----------------------------------------+-------------------------------------------------------+ | | | Change to ``inactive_colorspaces`` | +-------------------------------------------+----------------------------------------+-------------------------------------------------------+ | | | Reassign ``default_view_transform`` | +-------------------------------------------+----------------------------------------+-------------------------------------------------------+ | Change ``luma``? | | | +-------------------------------------------+----------------------------------------+-------------------------------------------------------+