Jeremy Selan <jeremy...@...>
This one will actually build on other people's machines...
please see INSTALL file for instructions on how to build the Nuke
example (posted here as well):
Make a build directory, cd into it:
mkdir -p buildConfigure cmake, pointing at your nuke include dir:
cmake -D NUKE:FILEPATH=/usr/local/nuke6.0.3/include/ -D CMAKE_BUILD_TYPE=Release ../Build all targets:
makeYou will now see the built .so files:
lsSet the environment variable pointing at which configuration to use:
(Point this to your install)
setenv OCS /net/homedirs/jeremys/git/Color/configs/spivfx/config.ocsLaunch nuke (the same version you used for the include files), then
load the plugin (this can also go in your init.py)
nuke.load('/net/homedirs/jeremys/git/Color//build/libNukeColorSpaceConversion.so')Connect an image to the OCSColorSpaceConversion node.
Our 'spivfx' config has only a few example colorspaces, this one
demonstrates a conversion between scene linear and a film-log