X-Git-Url: http://users.mur.at/ms/git/gitweb/?p=OpenColorIO-Configs.git;a=blobdiff_plain;f=aces_1.0.0%2Fpython%2Faces_ocio%2Fgenerate_config.py;fp=aces_1.0.0%2Fpython%2Faces_ocio%2Fgenerate_config.py;h=5ceae55fe6504c2964ecbef6a5d501e0a73dbfd9;hp=4f018188b3163e6058957ab2a9e4afba9c713bf5;hb=544178c9268d253c364a93d4b8d7f10d6d84da6b;hpb=5af97e4c92efec7ac9b0e1e0ac2e65dddafbc420 diff --git a/aces_1.0.0/python/aces_ocio/generate_config.py b/aces_1.0.0/python/aces_ocio/generate_config.py index 4f01818..5ceae55 100755 --- a/aces_1.0.0/python/aces_ocio/generate_config.py +++ b/aces_1.0.0/python/aces_ocio/generate_config.py @@ -945,7 +945,7 @@ def create_config(config_data, for colorspace in config_data['colorSpaces']: colorspace.name = prefixed_names_inverse[colorspace.name] except: - print('Prefixed names') + print('Error with Prefixed names') for original, prefixed in prefixed_names.iteritems(): print('%s, %s' % (original, prefixed)) @@ -1189,11 +1189,11 @@ def generate_baked_LUTs(odt_info, odt_prefix = odt_values['transformUserNamePrefix'] odt_name = odt_values['transformUserName'] - if odt_name in ['P3-D60 PQ (1000 nits)']: + if odt_name in ['P3-D60 ST2048 (1000 nits)', 'Rec.2020 ST2048 (1000 nits)']: odt_shaper = shaper_name.replace("48 nits", "1000 nits") - elif odt_name in ['P3-D60 PQ (2000 nits)']: + elif odt_name in ['P3-D60 ST2048 (2000 nits)']: odt_shaper = shaper_name.replace("48 nits", "2000 nits") - elif odt_name in ['P3-D60 PQ (4000 nits)']: + elif odt_name in ['P3-D60 ST2048 (4000 nits)']: odt_shaper = shaper_name.replace("48 nits", "4000 nits") else: odt_shaper = shaper_name @@ -1373,7 +1373,8 @@ def generate_config(aces_ctl_directory, prefix_colorspaces_with_family_names=True, shaper_base_name='Log2'): """ - Creates the ACES configuration. + Generates LUTs, matrices and configuration data and then creates the + *ACES* configuration. Parameters ----------