[Bf-committers] PyOpenColorIO

Xavier Thomas xavier.thomas.1980 at gmail.com
Tue Apr 30 00:42:14 CEST 2013


Soon after the integration of OpenColorIO in Blender, Mark Meyer posted a
cool article about Exploring Color Theory with Blender (
http://www.photo-mark.com/notes/2013/mar/13/color-theory-blender/). I
downloaded the blend file and was disappointed in discovering the color
conversions were done "manually" using python and simple math. This while
OpenColorIO have a python API!

So i decided to do something about it, or at least try.
And here it is:

Just a port of OpenColorIO (trunk) pyglue to python 3. No changes needed
for Blender source except changing the cmake options. I think Blender link
statically against OCIO and the python module use the dynamic library so
there might be a problem there but it is working here anyway.

It might be something interesting to get working in the default blender
install so that users can write addons for
blender's color-management system.


More information about the Bf-committers mailing list