Color Management, Stage 1: Initial OpenColorIO library integration
authorSergey Sharybin <sergey.vfx@gmail.com>
Sat, 15 Sep 2012 10:03:17 +0000 (10:03 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sat, 15 Sep 2012 10:03:17 +0000 (10:03 +0000)
commitb93da9b01e163158a830872d29f8bd874f63d54d
tree59730d1145eba4638a5128d0cc2c5fe3215007ab
parent8add19d3ece8526f5334acec90fd4c1f1155218c
Color Management, Stage 1: Initial OpenColorIO library integration

This commit integrates support of OpenColorIO library into build systems.

It also contains C-API for OpenColorIO library which could be used by Blender.

CMake has got find rules familiar to OpenImageIO's one which makes it easier
for build system to find needed libraries and includes. Scons only could use
explicitly defined paths to libraries and includes.

C-API would be compiled and Blender would be linked against C-API and OpenColorIO
but it wouldn't affect on Blender behavior at all.

OpenColorIO could be disabled by setting up WITH_OCIO to Off in CMake and
setting WITH_BF_OCIO in Scons.
38 files changed:
CMakeLists.txt
SConstruct
build_files/cmake/Modules/FindOpenColorIO.cmake [new file with mode: 0644]
build_files/cmake/macros.cmake
build_files/scons/config/darwin-config.py
build_files/scons/config/linux-config.py
build_files/scons/config/win32-mingw-config.py
build_files/scons/config/win32-vc-config.py
build_files/scons/config/win64-mingw-config.py
build_files/scons/config/win64-vc-config.py
build_files/scons/tools/Blender.py
build_files/scons/tools/btools.py
intern/CMakeLists.txt
intern/SConscript
intern/opencolorio/CMakeLists.txt [new file with mode: 0644]
intern/opencolorio/SConscript [new file with mode: 0644]
intern/opencolorio/ocio_capi.cpp [new file with mode: 0644]
intern/opencolorio/ocio_capi.h [new file with mode: 0644]
intern/opencolorio/ocio_capi_stub.cpp [new file with mode: 0644]
release/datafiles/colormanagement/config.ocio [new file with mode: 0644]
release/datafiles/colormanagement/luts/aces_to_xyz.spimtx [new file with mode: 0644]
release/datafiles/colormanagement/luts/adx_adx10_to_cdd.spimtx [new file with mode: 0644]
release/datafiles/colormanagement/luts/adx_cdd_to_cid.spimtx [new file with mode: 0644]
release/datafiles/colormanagement/luts/adx_cid_to_rle.spi1d [new file with mode: 0644]
release/datafiles/colormanagement/luts/adx_exp_to_aces.spimtx [new file with mode: 0644]
release/datafiles/colormanagement/luts/colorworks_filmlg_to_p3.3dl [new file with mode: 0644]
release/datafiles/colormanagement/luts/dci_xyz.spi1d [new file with mode: 0644]
release/datafiles/colormanagement/luts/lg10.spi1d [new file with mode: 0644]
release/datafiles/colormanagement/luts/rec709.spi1d [new file with mode: 0644]
release/datafiles/colormanagement/luts/rec709_to_aces.spimtx [new file with mode: 0644]
release/datafiles/colormanagement/luts/rrt_ut33_dcdm.spi3d [new file with mode: 0644]
release/datafiles/colormanagement/luts/rrt_ut33_p3dci.spi3d [new file with mode: 0644]
release/datafiles/colormanagement/luts/rrt_ut33_rec709.spi3d [new file with mode: 0644]
release/datafiles/colormanagement/luts/rrt_ut33_sRGB.spi3d [new file with mode: 0644]
release/datafiles/colormanagement/luts/spi_ocio_srgb_test.spi3d [new file with mode: 0644]
release/datafiles/colormanagement/luts/srgb.spi1d [new file with mode: 0644]
release/datafiles/colormanagement/luts/srgb_to_xyz.spimtx [new file with mode: 0644]
release/datafiles/colormanagement/luts/vd16.spi1d [new file with mode: 0644]