Added vendor-specific names in front of gamuts that may be confused with non-vendor...
[OpenColorIO-Configs.git] / aces_1.0.0 / python / aces_ocio / create_arri_colorspaces.py
index 13533d5..050dea2 100644 (file)
@@ -11,6 +11,8 @@ import array
 import math
 import os
 
+import PyOpenColorIO as ocio
+
 import aces_ocio.generate_lut as genlut
 from aces_ocio.utilities import ColorSpace, mat44_from_mat33, sanitize
 
@@ -51,7 +53,7 @@ def create_log_c(gamut,
 
     name = '%s (EI%s) - %s' % (transfer_function, exposure_index, gamut)
     if transfer_function == '':
-        name = 'Linear - %s' % gamut
+        name = 'Linear - ARRI %s' % gamut
     if gamut == '':
         name = '%s (EI%s)' % (transfer_function, exposure_index)
 
@@ -59,9 +61,14 @@ def create_log_c(gamut,
     cs.description = name
     cs.aliases = aliases
     cs.equality_group = ''
-    cs.family = 'ARRI'
+    cs.family = 'Input/ARRI'
     cs.is_data = False
 
+    # A linear space needs allocation variables
+    if transfer_function == '':
+        cs.allocation_type = ocio.Constants.ALLOCATION_LG2
+        cs.allocation_vars = [-8, 5, 0.00390625]
+
     # Globals.
     IDT_maker_version = '0.08'