Added ACES Transform IDs where possible.
authorHaarm-Pieter Duiker <hpd1@duikerresearch.com>
Tue, 30 Jun 2015 19:59:51 +0000 (12:59 -0700)
committerHaarm-Pieter Duiker <hpd1@duikerresearch.com>
Tue, 30 Jun 2015 19:59:51 +0000 (12:59 -0700)
aces_1.0.0/python/aces_ocio/colorspaces/aces.py
aces_1.0.0/python/aces_ocio/colorspaces/arri.py
aces_1.0.0/python/aces_ocio/colorspaces/sony.py

index c4eb9f7..b45cd43 100644 (file)
@@ -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.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)
 
 
     pprint.pprint(lmt_values)
 
index fc77c5c..efd7c07 100644 (file)
@@ -64,6 +64,9 @@ def create_log_c(gamut,
     cs.family = 'Input/ARRI'
     cs.is_data = False
 
     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
     # A linear space needs allocation variables
     if transfer_function == '':
         cs.allocation_type = ocio.Constants.ALLOCATION_LG2
index 1d4e059..2d221f9 100644 (file)
@@ -61,6 +61,10 @@ def create_s_log(gamut,
     cs.family = 'Input/Sony'
     cs.is_data = False
 
     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
     # A linear space needs allocation variables
     if transfer_function == '':
         cs.allocation_type = ocio.Constants.ALLOCATION_LG2