- Two modes of creating the list of OCIO Displays and Views
### CTL Source
-The configuration depends on the **'hotfixes' fork of the 1.0 ACES CTL** that is available here:
+The configuration depends on the **'hotfixes' fork of the 1.0 ACES CTL**. The fork contains a number of minor bug fixes and small additions in the utilities folder but is otherwise the same as the master ACES 1.0 release.
+
+The fork is available here:
- https://github.com/ampas/aces-dev/tree/hotfixes/transforms/ctl
-- The fork contains a number of minor bug fixes and small additions in the utilities folder but is otherwise the same as the master ACES 1.0 release.
+- Clone this repo using the following command
+ - git clone --branch hotfixes https://github.com/ampas/aces-dev.git
Dependencies
ctls = [os.path.join(
aces_ctl_directory,
'utilities',
- 'ACESlib.DolbyPQ_to_lin_param.a1.0.0.ctl')]
+ 'ACESlib.OCIOShaper_to_lin_param.a1.0.0.ctl')]
lut = '%s_to_linear.spi1d' % name
lut = sanitize(lut)
dolby_pq_scaled_shaper_name,
os.path.join('%s',
'utilities',
- 'ACESlib.DolbyPQ_to_Lin_param.a1.0.0.ctl'),
+ 'ACESlib.OCIOShaper_to_Lin_param.a1.0.0.ctl'),
os.path.join('%s',
'utilities',
- 'ACESlib.Lin_to_DolbyPQ_param.a1.0.0.ctl'),
+ 'ACESlib.Lin_to_OCIOShaper_param.a1.0.0.ctl'),
1.0,
log2_params]
print('Adding regular colorspaces')
- for colorspace in sorted(config_data['colorSpaces']):
+ for colorspace in sorted(config_data['colorSpaces'],
+ cmp=lambda x,y: cmp(x.family.lower(), y.family.lower())):
# Adding the colorspace *Family* into the name which helps with
# applications that presenting colorspaces as one a flat list.
if prefix: