projects
/
OpenColorIO-Configs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
first public test version of the GH4 branch
[OpenColorIO-Configs.git]
/
aces_1.0.1
/
python
/
aces_ocio
/
generate_config.py
diff --git
a/aces_1.0.1/python/aces_ocio/generate_config.py
b/aces_1.0.1/python/aces_ocio/generate_config.py
index
5ceae55
..
1fd93d8
100755
(executable)
--- a/
aces_1.0.1/python/aces_ocio/generate_config.py
+++ b/
aces_1.0.1/python/aces_ocio/generate_config.py
@@
-19,6
+19,7
@@
from aces_ocio.colorspaces import canon
from aces_ocio.colorspaces import general
from aces_ocio.colorspaces import gopro
from aces_ocio.colorspaces import panasonic
from aces_ocio.colorspaces import general
from aces_ocio.colorspaces import gopro
from aces_ocio.colorspaces import panasonic
+from aces_ocio.colorspaces import panasonic_gh4
from aces_ocio.colorspaces import red
from aces_ocio.colorspaces import sony
from aces_ocio.process import Process
from aces_ocio.colorspaces import red
from aces_ocio.colorspaces import sony
from aces_ocio.process import Process
@@
-1064,6
+1065,12
@@
def create_config_data(odt_info,
for cs in panasonic_colorspaces:
config_data['colorSpaces'].append(cs)
for cs in panasonic_colorspaces:
config_data['colorSpaces'].append(cs)
+ # *Panasonic GH4* to *ACES*
+ panasonic_gh4_colorspaces = panasonic_gh4.create_colorspaces(
+ lut_directory, lut_resolution_1d)
+ for cs in panasonic_gh4_colorspaces:
+ config_data['colorSpaces'].append(cs)
+
# *RED* colorspaces to *ACES*
red_colorspaces = red.create_colorspaces(lut_directory,
lut_resolution_1d)
# *RED* colorspaces to *ACES*
red_colorspaces = red.create_colorspaces(lut_directory,
lut_resolution_1d)
@@
-1480,34
+1487,34
@@
def main():
usage = '%prog [options]\n'
usage += '\n'
usage = '%prog [options]\n'
usage += '\n'
- usage += 'An OCIO config generation script for ACES 1.0\n'
+ usage += 'An OCIO config generation script for ACES 1.0
.1
\n'
usage += '\n'
usage += '\n'
- usage += 'Command
line examples'
+ usage += 'Command
-
line examples'
usage += '\n'
usage += '\n'
- usage += ('Create a GUI-friendly ACES 1.0 config with no secondary, '
- 'baked LUTs
: \n')
+ usage += ('Create a GUI-friendly ACES 1.0
.1
config with no secondary, '
+ 'baked LUTs: \n')
usage += ('\tcreate_aces_config -a /path/to/aces-dev/transforms/ctl '
usage += ('\tcreate_aces_config -a /path/to/aces-dev/transforms/ctl '
- '--lutResolution1d
1024 --lutResolution3d 33 -c aces_1.0.0
'
+ '--lutResolution1d
4096 --lutResolution3d 65 -c aces_1.0.1
'
'--dontBakeSecondaryLUTs')
usage += '\n'
'--dontBakeSecondaryLUTs')
usage += '\n'
- usage += 'Create a more OCIO-compliant ACES 1.0
config
: \n'
+ usage += 'Create a more OCIO-compliant ACES 1.0
.1 config
: \n'
usage += ('\tcreate_aces_config -a /path/to/aces-dev/transforms/ctl '
usage += ('\tcreate_aces_config -a /path/to/aces-dev/transforms/ctl '
- '--lutResolution1d
1024 --lutResolution3d 33 -c aces_1.0.0
'
+ '--lutResolution1d
4096 --lutResolution3d 65 -c aces_1.0.1
'
'--createMultipleDisplays')
usage += '\n'
usage += '\n'
usage += 'Adding custom looks'
usage += '\n'
'--createMultipleDisplays')
usage += '\n'
usage += '\n'
usage += 'Adding custom looks'
usage += '\n'
- usage += ('Create a GUI-friendly ACES 1.0 config with an ACES-style CDL '
+ usage += ('Create a GUI-friendly ACES 1.0
.1
config with an ACES-style CDL '
'(will be applied in the ACEScc colorspace): \n')
usage += ('\tcreate_aces_config -a /path/to/aces-dev/transforms/ctl '
'(will be applied in the ACEScc colorspace): \n')
usage += ('\tcreate_aces_config -a /path/to/aces-dev/transforms/ctl '
- '--lutResolution1d
1024 --lutResolution3d 33 -c aces_1.0.0
'
+ '--lutResolution1d
4096 --lutResolution3d 65 -c aces_1.0.1
'
'\n\t\t--addACESLookCDL ACESCDLName '
'/path/to/SampleCDL.ccc cc03345')
usage += '\n'
'\n\t\t--addACESLookCDL ACESCDLName '
'/path/to/SampleCDL.ccc cc03345')
usage += '\n'
- usage += 'Create a GUI-friendly ACES 1.0
config with an
general CDL: \n'
+ usage += 'Create a GUI-friendly ACES 1.0
.1 config with a
general CDL: \n'
usage += ('\tcreate_aces_config -a /path/to/aces-dev/transforms/ctl '
usage += ('\tcreate_aces_config -a /path/to/aces-dev/transforms/ctl '
- '--lutResolution1d
1024 --lutResolution3d 33 -c aces_1.0.0
'
+ '--lutResolution1d
4096 --lutResolution3d 65 -c aces_1.0.1
'
'\n\t\t--addCustomLookCDL CustomCDLName "ACES - ACEScc" '
'/path/to/SampleCDL.ccc cc03345')
usage += '\n'
'\n\t\t--addCustomLookCDL CustomCDLName "ACES - ACEScc" '
'/path/to/SampleCDL.ccc cc03345')
usage += '\n'
@@
-1515,16
+1522,16
@@
def main():
'ACEScc colorspace, but the user could choose other spaces '
'by changing the argument after the name of the look. \n')
usage += '\n'
'ACEScc colorspace, but the user could choose other spaces '
'by changing the argument after the name of the look. \n')
usage += '\n'
- usage += ('Create a GUI-friendly ACES 1.0 config with an ACES-style LUT '
+ usage += ('Create a GUI-friendly ACES 1.0
.1
config with an ACES-style LUT '
'(will be applied in the ACEScc colorspace): \n')
usage += ('\tcreate_aces_config -a /path/to/aces-dev/transforms/ctl '
'(will be applied in the ACEScc colorspace): \n')
usage += ('\tcreate_aces_config -a /path/to/aces-dev/transforms/ctl '
- '--lutResolution1d
1024 --lutResolution3d 33 -c aces_1.0.0
'
+ '--lutResolution1d
4096 --lutResolution3d 65 -c aces_1.0.1
'
'\n\t\t--addACESLookLUT ACESLUTName '
'/path/to/SampleCDL.ccc cc03345')
usage += '\n'
'\n\t\t--addACESLookLUT ACESLUTName '
'/path/to/SampleCDL.ccc cc03345')
usage += '\n'
- usage += 'Create a GUI-friendly ACES 1.0
config with an
general LUT: \n'
+ usage += 'Create a GUI-friendly ACES 1.0
.1 config with a
general LUT: \n'
usage += ('\tcreate_aces_config -a /path/to/aces-dev/transforms/ctl '
usage += ('\tcreate_aces_config -a /path/to/aces-dev/transforms/ctl '
- '--lutResolution1d
1024 --lutResolution3d 33 -c aces_1.0.0
'
+ '--lutResolution1d
4096 --lutResolution3d 65 -c aces_1.0.1
'
'\n\t\t--addCustomLookLUT CustomLUTName "ACES - ACEScc" '
'/path/to/SampleCDL.ccc cc03345')
usage += '\n'
'\n\t\t--addCustomLookLUT CustomLUTName "ACES - ACEScc" '
'/path/to/SampleCDL.ccc cc03345')
usage += '\n'
@@
-1532,10
+1539,10
@@
def main():
'ACEScc colorspace, but the user could choose other spaces '
'by changing the argument after the name of the look. \n')
usage += '\n'
'ACEScc colorspace, but the user could choose other spaces '
'by changing the argument after the name of the look. \n')
usage += '\n'
- usage += ('Create a GUI-friendly ACES 1.0 config using the Dolby PQ '
+ usage += ('Create a GUI-friendly ACES 1.0
.1
config using the Dolby PQ '
'transfer function as the shaper: \n')
usage += ('\tcreate_aces_config -a /path/to/aces-dev/transforms/ctl '
'transfer function as the shaper: \n')
usage += ('\tcreate_aces_config -a /path/to/aces-dev/transforms/ctl '
- '--lutResolution1d
1024 --lutResolution3d 33 -c aces_1.0.0
'
+ '--lutResolution1d
4096 --lutResolution3d 65 -c aces_1.0.1
'
'--shaper DolbyPQ')
usage += '\n'
'--shaper DolbyPQ')
usage += '\n'