Issue:
http://github.com/imageworks/OpenColorIO/issues#issue/64
Prior Thread:
http://groups.google.com/group/ocio-dev/browse_thread/thread/61f660d1eb96121b
This adds support for loading .cc and .ccc files in the FileTransform
operator / node.
.CC files are the ASC CDL <ColorCorrection> text stored in a single file
.CCC files are the ASC CDL <ColorCorrectionCollection> group of
transforms (a well defined format).
To support the .ccc format, a new parameter on filetransform is added,
"cccid". When a .ccc file is specified, this is required to
determine which transform contained in the list is used. The new
cccid parameter supports the Context lookups (woohoo!), so one can
define it conveniently using an environment variable. This should
fully address the context/per-shot grade workflow mentioned above by
Ben.
There is one known bug in this implementation; when I exposed this new
cccid property as a String_Knob in nuke, when I update the value in
the interface it does not appear that the value is being incorporated
into the Op's hash id. Is this a limitation of Nuke? An issue with
using PixelIop(s)? I have confirmed that if I use the File_Knob UI
type, everything works as expected...
-- Jeremy
This adds support for loading .cc and .ccc files in the FileTransform
operator / node.
.CC files are the ASC CDL <ColorCorrection> text stored in a single file
.CCC files are the ASC CDL <ColorCorrectionCollection> group of
transforms (a well defined format).
To support the .ccc format, a new parameter on filetransform is added,
"cccid". When a .ccc file is specified, this is required to
determine which transform contained in the list is used. The new
cccid parameter supports the Context lookups (woohoo!), so one can
define it conveniently using an environment variable. This should
fully address the context/per-shot grade workflow mentioned above by
Ben.
There is one known bug in this implementation; when I exposed this new
cccid property as a String_Knob in nuke, when I update the value in
the interface it does not appear that the value is being incorporated
into the Op's hash id. Is this a limitation of Nuke? An issue with
using PixelIop(s)? I have confirmed that if I use the File_Knob UI
type, everything works as expected...
> I wonder, could the cccid's be presented in a drop-down, similar to the
> colour-space listings?
I like this, but I'm not sure that there's a nuke UI widget rich
enough for this behavior. What we want is a popdown that lets you
choose from a bunch of pre-defined options, but also lets you type in
new values (such as envvars). Im not sure that nuke popdowns can
allow text entry capability. The other difficulty is that in nuke if
you use the popdowns, the underlying value is an int index rather than
a string. This sucks because if you were to update the array, change
the underlying value, etc, the only precious data for nuke is what
order it was in the list. (Whereas in our case the value is precious).
So I think it's safer to keep it a string for now. But... what if
we added a button that when pressed provided a popup for the user?
(Calling out to OCIO to enumerate the options). That would make it
convenient + keep data value 'native'.
I like the use of the invisible flag. I'll investigate setting it up.
-- Jeremy
.malcolm
Started writing a "contexts" page for the docs. Does this explanation match with how you intended them to work?
It would be great to restructure this a bit so the idea of contexts being part of the viewing transforms comes through.
But... what if
we added a button that when pressed provided a popup for the user?
(Calling out to OCIO to enumerate the options). That would make it
convenient + keep data value 'native'.
-- Jeremy