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%2F__init__.py;h=a0f169bba78c44874f29263b1b8c42efdf6665d5;hp=40635b6f85c2de8d18f0c0474bdcffc943b3f85e;hb=cad9d48a0f1067769435904348e9fffeffd25eb9;hpb=75d8749d3630921f8ced18c026cd3cf0d9af14b6 diff --git a/aces_1.0.0/python/aces_ocio/__init__.py b/aces_1.0.0/python/aces_ocio/__init__.py index 40635b6..a0f169b 100644 --- a/aces_1.0.0/python/aces_ocio/__init__.py +++ b/aces_1.0.0/python/aces_ocio/__init__.py @@ -1,6 +1,81 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +""" +ACES OCIO +========= + +Usage +----- + +Python +****** + +>>> from aces_ocio.aces_config import create_ACES_config +>>> aces_ctl_directory = '/path/to/github/checkout/releases/v1.0.0/transforms/ctl' +>>> config_directory = '/path/to/configuration/dir' +>>> create_ACES_config(aces_ctl_directory, config_directory, 1024, 33, True) + +Command Line +************ + +Using the *create_aces_config* binary: + +$ create_aces_config -a '/path/to/github/checkout/releases/v0.7.1/transforms/ctl' -c '/path/to/config/dir' --lutResolution1d 1024 --lutResolution3d 33 --keepTempImages + +It is possible to set the following environment variables to avoid passing +the paths to the binary: + +- *ACES_OCIO_CTL_DIRECTORY* +- *ACES_OCIO_CONFIGURATION_DIRECTORY* + +The above command line call would be done as follows: + +$ create_aces_config --lutResolution1d 1024 --lutResolution3d 33 --keepTempImages + +Testing the generated configuration is needs the +*ACES_OCIO_CTL_DIRECTORY* environment variable to be set and is done as +follows: + +$ tests_aces_config + +Build +----- + +Mac OS X - Required packages +**************************** + +OpenColorIO +___________ + +$ brew install -vd opencolorio --with-python + +OpenImageIO +___________ + +$ brew tap homebrew/science + +Optional Dependencies +_____________________ + +$ brew install -vd libRaw +$ brew install -vd OpenCV +$ brew install -vd openimageio --with-python + +CTL +___ + +$ brew install -vd CTL + +OpenColorIO +___________ + +*ociolutimage* will build with *openimageio* installed. + +$ brew uninstall -vd opencolorio +$ brew install -vd opencolorio --with-python +""" + __author__ = 'ACES Developers' __copyright__ = 'Copyright (C) 2014 - 2015 - ACES Developers' __license__ = '' @@ -13,4 +88,4 @@ __minor_version__ = '0' __change_version__ = '0' __version__ = '.'.join((__major_version__, __minor_version__, - __change_version__)) \ No newline at end of file + __change_version__))