Nice !! I was actucally wondering if it was possible to access the OCIO py wrapper from blender. This is great ! Thx Xavier
2013/4/30 Xavier Thomas <[email protected]> > 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 <[email protected]> > > > 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 > > > _______________________________________________ > Bf-committers mailing list > [email protected] > http://lists.blender.org/mailman/listinfo/bf-committers > -- ____________________ François Tarlier www.francois-tarlier.com www.linkedin.com/in/francoistarlier _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
