X-Git-Url: http://users.mur.at/ms/git/gitweb/?a=blobdiff_plain;f=aces_1.0.0%2Fpython%2Faces_ocio%2Fcreate_arri_colorspaces.py;h=e0ec4675accc93fa223a2d5cc3b33d79b44db090;hb=e01006569dceecf813d49a22d3ea6ec7b486b2c0;hp=13533d509b64c6edcdf816fa2f1a18f32a26415c;hpb=89360f70a6c71121580324ed3c125a83c3973887;p=OpenColorIO-Configs.git diff --git a/aces_1.0.0/python/aces_ocio/create_arri_colorspaces.py b/aces_1.0.0/python/aces_ocio/create_arri_colorspaces.py index 13533d5..e0ec467 100644 --- a/aces_1.0.0/python/aces_ocio/create_arri_colorspaces.py +++ b/aces_1.0.0/python/aces_ocio/create_arri_colorspaces.py @@ -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 @@ -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'