From: Haarm-Pieter Duiker Date: Tue, 30 Jun 2015 19:59:51 +0000 (-0700) Subject: Added ACES Transform IDs where possible. X-Git-Url: http://users.mur.at/ms/git/gitweb/?p=OpenColorIO-Configs.git;a=commitdiff_plain;h=b7d0bac876f821f4ac326b9d78674722769fc2e4 Added ACES Transform IDs where possible. --- diff --git a/aces_1.0.0/python/aces_ocio/colorspaces/aces.py b/aces_1.0.0/python/aces_ocio/colorspaces/aces.py index c4eb9f7..b45cd43 100644 --- a/aces_1.0.0/python/aces_ocio/colorspaces/aces.py +++ b/aces_1.0.0/python/aces_ocio/colorspaces/aces.py @@ -672,6 +672,7 @@ def create_ACES_LMT(lmt_name, cs.is_data = False cs.allocation_type = ocio.Constants.ALLOCATION_LG2 cs.allocation_vars = [-8, 5, 0.00390625] + cs.aces_transform_id = lmt_values['transformID'] pprint.pprint(lmt_values) diff --git a/aces_1.0.0/python/aces_ocio/colorspaces/arri.py b/aces_1.0.0/python/aces_ocio/colorspaces/arri.py index fc77c5c..efd7c07 100644 --- a/aces_1.0.0/python/aces_ocio/colorspaces/arri.py +++ b/aces_1.0.0/python/aces_ocio/colorspaces/arri.py @@ -64,6 +64,9 @@ def create_log_c(gamut, cs.family = 'Input/ARRI' cs.is_data = False + if gamut and transfer_function: + cs.aces_transform_id = "IDT.ARRI.Alexa-v3-logC-EI%s.a1.v1" % exposure_index + # A linear space needs allocation variables if transfer_function == '': cs.allocation_type = ocio.Constants.ALLOCATION_LG2 diff --git a/aces_1.0.0/python/aces_ocio/colorspaces/sony.py b/aces_1.0.0/python/aces_ocio/colorspaces/sony.py index 1d4e059..2d221f9 100644 --- a/aces_1.0.0/python/aces_ocio/colorspaces/sony.py +++ b/aces_1.0.0/python/aces_ocio/colorspaces/sony.py @@ -61,6 +61,10 @@ def create_s_log(gamut, cs.family = 'Input/Sony' cs.is_data = False + if gamut and transfer_function: + cs.aces_transform_id = "IDT.Sony.%s_%s_10i.a1.v1" % ( + transfer_function.replace('-', ''), gamut.replace('-', '').replace(' ', '_')) + # A linear space needs allocation variables if transfer_function == '': cs.allocation_type = ocio.Constants.ALLOCATION_LG2