Skip to content

Commit cb5e319

Browse files
Adsk Contrib - RB-2.0 release (#1289)
* Adsk Contrib - Shader textures now available via Python (#1268) 7110425 Signed-off-by: Bernard Lefebvre <[email protected]> * Add roles to API and fixes (#1267) Bernard Lefebvre 8cf0211 Signed-off-by: Bernard Lefebvre <[email protected]> * Adsk Contrib - Python repr and LogCameraTransform fixes (#1270) c033d11 Signed-off-by: Bernard Lefebvre <[email protected]> * Fix issue #1262 (#1271) d51962a Signed-off-by: Bernard Lefebvre <[email protected]> * Use OIIO-provided CMake find module (#1266) Michael Dolan <[email protected]> 8774ebf Signed-off-by: Bernard Lefebvre <[email protected]> * Transform Python Binding Fix (#1277) Frankie Eder <[email protected]> c324ba5 Signed-off-by: Bernard Lefebvre <[email protected]> * Adsk Contrib - Avoid NaN values in certain Lut1D arrays (#1272) 50e5d8b Signed-off-by: Bernard Lefebvre <[email protected]> * Adsk Contrib - More python tests and bindings fixes (#1274) 574ccd8 Signed-off-by: Bernard Lefebvre <[email protected]> * Restructure PyOpenColorIO, complete PyGpuShaderDesc (#1275) Michael Dolan <[email protected]> 081b8de Signed-off-by: Bernard Lefebvre <[email protected]> * Add UNIFORM_FLOAT3, setStrictParsingEnabled to PyOpenColorIO (#1280) Michael Dolan <[email protected]> 73be29a Signed-off-by: Bernard Lefebvre <[email protected]> * Adsk Contrib - Add new ACES builtin transforms (#1281) doug-walker <[email protected]> 8339210 Signed-off-by: Bernard Lefebvre <[email protected]> * Release v2 (#1279) 6d46d84 Signed-off-by: Bernard Lefebvre <[email protected]> * Test forgot to declare logger and fails if numpy is missing (#1290) 87f09ec Signed-off-by: Bernard Lefebvre <[email protected]> * Fix applyRGB (#1291) bc88857 Signed-off-by: Bernard Lefebvre <[email protected]>
1 parent d71748b commit cb5e319

File tree

250 files changed

+5769
-2214
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

250 files changed

+5769
-2214
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ project(OpenColorIO
3434
LANGUAGES CXX C)
3535

3636
# "dev", "beta1", rc1", etc or "" for an official release.
37-
set(OpenColorIO_VERSION_RELEASE_TYPE "rc1")
37+
set(OpenColorIO_VERSION_RELEASE_TYPE "")
3838

3939
enable_testing()
4040

docs/api/constants.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,27 @@ External Plugins (currently known)::
121121
this is a 1D HDR to LDR allocation. It is normally combined with
122122
another display transform in the host app for preview.
123123

124+
.. data:: PyOpenColorIO.ROLE_RENDERING
125+
126+
The rendering role may be used to identify a specific color space to be
127+
used by CGI renderers. This is typically a scene-linear space but the
128+
primaries also matter since they influence the resulting color, especially
129+
in areas of indirect illumination.
130+
131+
.. data:: PyOpenColorIO.ROLE_INTERCHANGE_SCENE
132+
133+
The aces_interchange role is used to specify which color space in the
134+
config implements the standard ACES2065-1 color space (SMPTE ST2065-1).
135+
This may be used when converting scene-referred colors from one config
136+
to another.
137+
138+
.. data:: PyOpenColorIO.ROLE_INTERCHANGE_DISPLAY
139+
140+
The cie_xyz_d65_interchange role is used to specify which color space in
141+
the config implements CIE XYZ colorimetry with the neutral axis at D65.
142+
This may be used when converting display-referred colors from one config
143+
to another.
144+
124145
.. group-tab:: C++
125146

126147
.. doxygengroup:: VarsRoles

docs/api/python/frozen/pyopencolorio_allocation.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,8 @@
3131
:module: PyOpenColorIO
3232
:value: <Allocation.ALLOCATION_UNKNOWN: 0>
3333

34+
35+
.. py:method:: Allocation.value
36+
:module: PyOpenColorIO
37+
:property:
38+

docs/api/python/frozen/pyopencolorio_allocationtransform.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@
1919
2. __init__(self: PyOpenColorIO.AllocationTransform, allocation: PyOpenColorIO.Allocation = <Allocation.ALLOCATION_UNIFORM: 1>, vars: List[float] = [], direction: PyOpenColorIO.TransformDirection = <TransformDirection.TRANSFORM_DIR_FORWARD: 0>) -> None
2020

2121

22-
.. py:method:: AllocationTransform.__str__(self: PyOpenColorIO.AllocationTransform) -> str
22+
.. py:method:: AllocationTransform.__str__()
2323
:module: PyOpenColorIO
2424

25+
Return str(self).
26+
2527

2628
.. py:method:: AllocationTransform.getAllocation(self: PyOpenColorIO.AllocationTransform) -> PyOpenColorIO.Allocation
2729
:module: PyOpenColorIO

docs/api/python/frozen/pyopencolorio_baker.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,10 @@
145145
.. py:class:: FormatIterator
146146
:module: PyOpenColorIO.Baker
147147

148+
Iterator on LUT baker Formats.
149+
150+
Each item is a tuple containing format name and format extension.
151+
148152

149153
.. py:method:: FormatIterator.__getitem__(self: PyOpenColorIO.Baker.FormatIterator, arg0: int) -> tuple
150154
:module: PyOpenColorIO.Baker

docs/api/python/frozen/pyopencolorio_bitdepth.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,8 @@
7575
:module: PyOpenColorIO
7676
:value: <BitDepth.BIT_DEPTH_UNKNOWN: 0>
7777

78+
79+
.. py:method:: BitDepth.value
80+
:module: PyOpenColorIO
81+
:property:
82+

docs/api/python/frozen/pyopencolorio_builtintransform.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@
1919
2. __init__(self: PyOpenColorIO.BuiltinTransform, style: str = 'IDENTITY', direction: PyOpenColorIO.TransformDirection = <TransformDirection.TRANSFORM_DIR_FORWARD: 0>) -> None
2020

2121

22-
.. py:method:: BuiltinTransform.__str__(self: PyOpenColorIO.BuiltinTransform) -> str
22+
.. py:method:: BuiltinTransform.__str__()
2323
:module: PyOpenColorIO
2424

25+
Return str(self).
26+
2527

2628
.. py:method:: BuiltinTransform.getDescription(self: PyOpenColorIO.BuiltinTransform) -> str
2729
:module: PyOpenColorIO

docs/api/python/frozen/pyopencolorio_cdlstyle.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,8 @@
3131
:module: PyOpenColorIO
3232
:value: <CDLStyle.CDL_NO_CLAMP: 1>
3333

34+
35+
.. py:method:: CDLStyle.value
36+
:module: PyOpenColorIO
37+
:property:
38+

docs/api/python/frozen/pyopencolorio_cdltransform.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,18 @@
1818

1919
Load the CDL from the src .cdl, .cc, or .ccc file.
2020

21+
2122
.. note::
2223
The cccid can be the ID of a CDL or the index of the CDL (as string). If cccid is NULL or empty the first CDL is returned. The cccid is case-sensitive. The src must be an absolute path reference, no relative directory or envvar resolution is performed. Throws if file does not contain any CDL or if the specified cccid is not found.
2324

2425

25-
.. py:method:: CDLTransform.CreateGroupFromFile(src: str) -> OpenColorIO_v2_0rc1::GroupTransform
26+
.. py:method:: CDLTransform.CreateGroupFromFile(src: str) -> PyOpenColorIO.GroupTransform
2627
:module: PyOpenColorIO
2728
:staticmethod:
2829

2930
Load all of the CDLs in a .cdl or .ccc file into a single :ref:`GroupTransform`.
3031

32+
3133
.. note::
3234
This may be useful as a quicker way for applications to check the contents of each of the CDLs. The src must be an absolute path reference, no relative directory or envvar resolution is performed.
3335

@@ -44,9 +46,11 @@
4446
3. __init__(self: PyOpenColorIO.CDLTransform, slope: List[float[3]] = [1.0, 1.0, 1.0], offset: List[float[3]] = [0.0, 0.0, 0.0], power: List[float[3]] = [1.0, 1.0, 1.0], sat: float = 1.0, id: str = '', description: str = '', direction: PyOpenColorIO.TransformDirection = <TransformDirection.TRANSFORM_DIR_FORWARD: 0>) -> None
4547

4648

47-
.. py:method:: CDLTransform.__str__(self: PyOpenColorIO.CDLTransform) -> str
49+
.. py:method:: CDLTransform.__str__()
4850
:module: PyOpenColorIO
4951

52+
Return str(self).
53+
5054

5155
.. py:method:: CDLTransform.equals(self: PyOpenColorIO.CDLTransform, other: PyOpenColorIO.CDLTransform) -> bool
5256
:module: PyOpenColorIO

docs/api/python/frozen/pyopencolorio_channelordering.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,8 @@
4747
:module: PyOpenColorIO
4848
:value: <ChannelOrdering.CHANNEL_ORDERING_RGBA: 0>
4949

50+
51+
.. py:method:: ChannelOrdering.value
52+
:module: PyOpenColorIO
53+
:property:
54+

0 commit comments

Comments
 (0)