|
| 1 | +.. |
| 2 | + SPDX-License-Identifier: CC-BY-4.0 |
| 3 | + Copyright Contributors to the OpenColorIO Project. |
| 4 | +
|
| 5 | +Process |
| 6 | +======= |
| 7 | + |
| 8 | +aces-dev Discovery & Classification |
| 9 | +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 10 | + |
| 11 | +The config generation process starts with a set of definitions and classes to discover, parse and classify the CTL transforms from `aces-dev <https://github.com/ampas/aces-dev>`__: |
| 12 | + |
| 13 | +- :func:`opencolorio_config_aces.discover_aces_ctl_transforms` |
| 14 | +- :func:`opencolorio_config_aces.classify_aces_ctl_transforms` |
| 15 | +- :func:`opencolorio_config_aces.print_aces_taxonomy` |
| 16 | + |
| 17 | +.. note:: This approach allowed us to improve the consistency of the **CTL** transforms ``ACEStransformID`` while fixing various filename issues. |
| 18 | + |
| 19 | +Using ``ACES2065-1`` and ``OCES`` as connection spaces, it is possible to build a colour conversion graph with all the high-level relevant transforms. |
| 20 | + |
| 21 | +- :func:`opencolorio_config_aces.build_aces_conversion_graph` |
| 22 | +- :func:`opencolorio_config_aces.plot_aces_conversion_graph` |
| 23 | + |
| 24 | +.. only:: html |
| 25 | + |
| 26 | + .. image:: _static/ACES_Conversion_Graph.svg |
| 27 | + |
| 28 | +Analytical & Reference Configs Generation |
| 29 | +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 30 | + |
| 31 | +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. |
| 32 | +This config does not work but it is useful to test basic generation capabilities whilst diagnosing issues in the mapping. |
| 33 | + |
| 34 | +The *Reference* config is driven by a *CSV* file generated from a `spreadsheet <https://docs.google.com/spreadsheets/d/1SXPt-USy3HlV2G2qAvh9zit6ZCINDOlfKT07yXJdWLg>`__ mapping the ``ACEStransformID`` to **OpenColorIO** builtin transforms. |
| 35 | + |
| 36 | +- :func:`opencolorio_config_aces.generate_config_aces` |
| 37 | + |
| 38 | +CLF Transforms Generation, Discovery & Classification |
| 39 | +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 40 | + |
| 41 | +The working group decided to express additional colour transforms using `CLF <https://acescentral.com/knowledge-base-2/common-lut-format-clf>`__. |
| 42 | +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 <https://docs.google.com/document/d/1uYNnq1IlKqP8fRXnPviZHrAAu37ctvVsjJZeajOFF2A>`__ document. |
| 43 | + |
| 44 | +The repository contains code to generate, discover and classify the additional *CLF* transforms that the *CG* and *Studio* configs require. |
| 45 | + |
| 46 | +- :func:`opencolorio_config_aces.discover_clf_transforms` |
| 47 | +- :func:`opencolorio_config_aces.classify_clf_transforms` |
| 48 | +- :func:`opencolorio_config_aces.print_clf_taxonomy` |
| 49 | + |
| 50 | +CG Config Generation |
| 51 | +^^^^^^^^^^^^^^^^^^^^ |
| 52 | + |
| 53 | +The *CG* config generator also uses a *CSV* file generated from a `spreadsheet <https://docs.google.com/spreadsheets/d/1nE95DEVtxtEkcIEaJk0WekyEH0Rcs8z_3fdwUtqP8V>`__ that expresses which ``ACEStransformID`` should be used from the `Reference` config and which ``CLFtransformID`` should be used from the shipped *CLF* transforms. |
| 54 | + |
| 55 | +- :func:`opencolorio_config_aces.generate_config_cg` |
| 56 | + |
| 57 | +The conversion process is as follows: |
| 58 | + |
| 59 | + *aces-dev Discovery & Classification* -> *Reference Config Generation* -> *CLF Transforms Generation, Discovery & Classification* -> *CG Config Generation* |
| 60 | + |
| 61 | +Studio Config Generation |
| 62 | +^^^^^^^^^^^^^^^^^^^^^^^^ |
| 63 | + |
| 64 | +The *Studio* config generator follows the same approach but uses a different `pivot table <https://docs.google.com/spreadsheets/d/1nE95DEVtxtEkcIEaJk0WekyEH0Rcs8z_3fdwUtqP8V4/edit#gid=1155125238>`__ of the spreadsheet. |
| 65 | + |
| 66 | +- :func:`opencolorio_config_aces.generate_config_studio` |
| 67 | + |
| 68 | +The conversion process is as follows: |
| 69 | + |
| 70 | + *aces-dev Discovery & Classification* -> *Reference Config Generation* -> *CLF Transforms Generation, Discovery & Classification* -> *Studio Config Generation* |
0 commit comments