https://github.com/OpenImageIO/oiio/pull/200
https://github.com/OpenImageIO/oiio/issues/193

Color processing now uses OpenColorIO.

OCIO is now a build-time optional dependency. (Defaulting to ON, if the
library can be found. If OCIO is not found, the build will continue but
OCIO support is disabled).

The binary ABI for OIIO is fixed no matter which build option is used, so
the library can be swapped out is color processing is later determined to
be needed. If OCIO is not enabled, a simple color processing implementation
is included in its place.

ColorTransfer, and all associated code has been removed.

Modifications include:
- include/color.h
- ImageBufAlgo
- maketx

The location of OpenColorIO can be specified using:
OCIO_PATH: (root of OCIO install)
or OCIO_INCLUDES / OCIO_LIBRARIES if you'd like to specify those dir
independently.

Those testing at SPI can update site/spi/Makefile-bits-arnold to include
-DOCIO_PATH=/shots/spi/home/lib/SpComp2/OpenColorIO/spinux1-gcc44m64/v2 to
MY_CMAKE_FLAGS for testing.

TODO: Add in-place, raw conversion to imageio.h. (float originally)
TODO: Add support to oiio-tool
Longer term TODO: Add support to the texture system to allow for color
conversion at tile-load time

-- Jeremy
_______________________________________________
Oiio-dev mailing list
Oiio-dev@lists.openimageio.org
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to