[Bf-committers] PyOpenColorIO

Xavier Thomas xavier.thomas.1980 at gmail.com
Tue Apr 30 01:49:20 CEST 2013


I made a better example script based on the one by Mark:
http://www.pasteall.org/41831/python
http://www.pasteall.org/pic/show.php?id=50340


2013/4/29 Xavier Thomas <xavier.thomas.1980 at gmail.com>

> Hi,
>
> 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:
> https://github.com/thmxv/OpenColorIO
> http://www.pasteall.org/pic/show.php?id=50327
>
> 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.
>
> Xavier
>


More information about the Bf-committers mailing list