|
| 1 | +.. |
| 2 | + SPDX-License-Identifier: CC-BY-4.0 |
| 3 | + Copyright Contributors to the OpenColorIO Project. |
| 4 | +
|
| 5 | +OpenColorIO Configuration for ACES |
| 6 | +================================== |
| 7 | + |
| 8 | +.. image:: https://via.placeholder.com/720x320.png?text=WARNING: This+repository+is+under+construction! |
| 9 | + |
| 10 | +The `OpenColorIO Configuration for ACES <https://github.com/AcademySoftwareFoundation/OpenColorIO-Config-ACES/>`__ |
| 11 | +is an open-source `Python <https://www.python.org/>`__ package implementing |
| 12 | +support for the generation of the *OCIO* configurations for the |
| 13 | +`Academy Color Encoding System <https://www.oscars.org/science-technology/sci-tech-projects/aces>`__ |
| 14 | +(ACES). |
| 15 | + |
| 16 | +It is freely available under the |
| 17 | +`New BSD License <https://opensource.org/licenses/BSD-3-Clause>`__ terms. |
| 18 | + |
| 19 | +.. contents:: **Table of Contents** |
| 20 | + :backlinks: none |
| 21 | + :depth: 3 |
| 22 | + |
| 23 | +.. sectnum:: |
| 24 | + |
| 25 | +Features |
| 26 | +-------- |
| 27 | + |
| 28 | +The following features are available: |
| 29 | + |
| 30 | +- Automatic *OCIO* **Reference** configuration generation for *aces-dev* |
| 31 | + *CTL* reference implementation. |
| 32 | +- Configurable generator producing the *OCIO* **Studio** configuration. |
| 33 | + |
| 34 | +Installation |
| 35 | +------------ |
| 36 | + |
| 37 | +Docker |
| 38 | +^^^^^^ |
| 39 | + |
| 40 | +Installing the dependencies for the `previous config generator <https://github.com/imageworks/OpenColorIO-Configs>`__ |
| 41 | +was not a trivial task. For ease of use an `aswf-docker <https://github.com/AcademySoftwareFoundation/aswf-docker>`__ |
| 42 | +based container is now available. |
| 43 | + |
| 44 | +Creating the container from the `Dockerfile <https://docs.docker.com/engine/reference/builder/>`__ |
| 45 | +is done as follows:: |
| 46 | + |
| 47 | + docker build -t aswf/opencolorio-config-aces:latest . |
| 48 | + |
| 49 | +or alternatively, if the dependencies described in the next section are |
| 50 | +satisfied:: |
| 51 | + |
| 52 | + invoke docker build |
| 53 | + |
| 54 | +Then, to run *bash* in the container:: |
| 55 | + |
| 56 | + docker run -it -v ${PWD}:/home/aswf/OpenColorIO-Config-ACES aswf/opencolorio-config-aces:latest /bin/bash |
| 57 | + |
| 58 | + |
| 59 | +Pypi |
| 60 | +^^^^ |
| 61 | + |
| 62 | +The **OpenColorIO Configuration for ACES** package requires various |
| 63 | +dependencies in order to run and be able to generate the *OCIO* configurations: |
| 64 | + |
| 65 | +Primary Dependencies |
| 66 | +******************** |
| 67 | + |
| 68 | +- `python>=3.7 <https://www.python.org/download/releases/>`__ |
| 69 | +- `networkx <https://pypi.org/project/networkx/>`__ |
| 70 | +- `OpenColorIO <https://opencolorio.org/>`__ |
| 71 | + |
| 72 | +Plotting Dependencies |
| 73 | +********************* |
| 74 | + |
| 75 | +- `graphviz <https://www.graphviz.org/>`__ |
| 76 | +- `pygraphviz <https://pypi.org/project/pygraphviz/>`__ |
| 77 | + |
| 78 | +Development Dependencies |
| 79 | +************************ |
| 80 | + |
| 81 | +- `coverage <https://pypi.org/project/coverage/>`__ |
| 82 | +- `coveralls <https://pypi.org/project/coveralls/>`__ |
| 83 | +- `flake8 <https://pypi.org/project/flake8/>`__ |
| 84 | +- `invoke <https://pypi.org/project/invoke/>`__ |
| 85 | +- `nose <https://pypi.org/project/nose/>`__ |
| 86 | +- `pre-commit <https://pypi.org/project/pre-commit/>`__ |
| 87 | +- `pytest <https://pypi.org/project/pytest/>`__ |
| 88 | +- `restructuredtext-lint <https://pypi.org/project/restructuredtext-lint/>`__ |
| 89 | +- `sphinx <https://pypi.org/project/Sphinx/>`__ |
| 90 | +- `sphinx-rtd-theme <https://pypi.org/project/sphinx-rtd-theme/>`__ |
| 91 | +- `twine <https://pypi.org/project/twine/>`__ |
| 92 | +- `yapf==0.23.0 <https://pypi.org/project/yapf/>`__ |
| 93 | + |
| 94 | +Once the dependencies are satisfied, the **OpenColorIO Configuration for ACES** |
| 95 | +package can be installed from the `Python Package Index <http://pypi.python.org/pypi/opencolorio-config-aces>`__ |
| 96 | +by issuing this command in a shell:: |
| 97 | + |
| 98 | + pip install --user opencolorio-config-aces |
| 99 | + |
| 100 | +Usage |
| 101 | +----- |
| 102 | + |
| 103 | +Tasks |
| 104 | +^^^^^ |
| 105 | + |
| 106 | +Various tasks are currently exposed via `invoke <https://pypi.org/project/invoke/>`__. |
| 107 | + |
| 108 | +This is currently the recommended way to build the configuration until a |
| 109 | +dedicated CLI is provided. |
| 110 | + |
| 111 | +Listing the tasks is done as follows:: |
| 112 | + |
| 113 | + invoke --list |
| 114 | + |
| 115 | +Assuming the dependencies are satisfied, the task to build the reference |
| 116 | +configuration is:: |
| 117 | + |
| 118 | + invoke build-reference-config |
| 119 | + |
| 120 | +Alternatively, with the docker container built:: |
| 121 | + |
| 122 | + invoke docker-run-build-reference-config |
| 123 | + |
| 124 | +API |
| 125 | +^^^ |
| 126 | + |
| 127 | +The main reference for `OpenColorIO Configuration for ACES <https://github.com/AcademySoftwareFoundation/OpenColorIO-Config-ACES>`__ |
| 128 | +is the `manual <https://opencolorio-config-aces.readthedocs.io/>`__. |
| 129 | + |
| 130 | +.. {MANUAL-URL} |
| 131 | +
|
| 132 | +About |
| 133 | +----- |
| 134 | + |
| 135 | +| **OpenColorIO Configuration for ACES** by OpenColorIO Contributors |
| 136 | +| Copyright Contributors to the OpenColorIO Project – `[email protected] <[email protected]>`__ |
| 137 | +| This software is released under terms of New BSD License: https://opensource.org/licenses/BSD-3-Clause |
| 138 | +| `https://github.com/AcademySoftwareFoundation/OpenColorIO-Config-ACES <https://github.com/AcademySoftwareFoundation/OpenColorIO-Config-ACES>`__ |
0 commit comments