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=b05b81ad30597f6b034813de8a1bcf655f178025;hp=40635b6f85c2de8d18f0c0474bdcffc943b3f85e;hb=70a314dd5edd3eeadf3593ef37b908993db3e801;hpb=1f6e648af71fe0649f971c33f3624b1d5a780214 diff --git a/aces_1.0.0/python/aces_ocio/__init__.py b/aces_1.0.0/python/aces_ocio/__init__.py index 40635b6..b05b81a 100644 --- a/aces_1.0.0/python/aces_ocio/__init__.py +++ b/aces_1.0.0/python/aces_ocio/__init__.py @@ -1,6 +1,67 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +""" +ACES OCIO +========= + +Usage +----- + +Python +****** + +>>> import sys +>>> sys.path.append("/path/to/script") +>>> import create_aces_config as cac +>>> acesReleaseCTLDir = "/path/to/github/checkout/releases/v0.7.1/transforms/ctl" +>>> configDir = "/path/to/config/dir" +>>> cac.createACESConfig(acesReleaseCTLDir, configDir, 1024, 33, True) + +Command Line +************ + +From the directory with 'create_aces_config.py': + +$ python create_aces_config.py -a "/path/to/github/checkout/releases/v0.7.1/transforms/ctl" -c "/path/to/config/dir" --lutResolution1d 1024 --lutResolution3d 33 --keepTempImages + +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__ = ''