Re: New to OCIO, and viewer processes in Nuke

Sean Looper <sean....@...>

Addressing Jeremy's comment, at Imageworks, we've split up the share/nuke/ocionuke/ contents such that the registering of ViewerProcess nodes happens during the evaluation and the Viewer lut default value is set during the evaluation.  This was done to prevent the error that occurs during batch mode when opening a script that has a Viewer lut set to an unregistered value.  The nuke.knobDefault function must run within the evaluation for it to work successfully, hence the split.


On Wed, Aug 3, 2011 at 10:09 AM, Jeremy Selan <jeremy...@...> wrote:
The other issue is that the nuke-default ocio config is intended to
work in other applications other than nuke.  And many of  these other
apps dont automatically include a 'none' option by default, the same
way Nuke does.

Do you have concerns about removing the default Nuke 'None' option?
As ben mentions, register_viewers() should be removing all of the
original options.

Alternatively, as a compromise we could place the None option at the
bottom of the list.  Thus, while it would be duplicated in your case
at least the second copy wouldn't be getting in the way of the real

I should also note that at Imageworks, while we of course use
OCIODisplay for our viewer, we dont rely on the public
register_viewers() call to register the nodes.  I forget the exact
reason but it relates to splitting up the registration into two parts
( vs. so knob defaults can be appropriate set on
startup.  I'll ping our nuke guru to add further details.

-- Jeremy

On Wed, Aug 3, 2011 at 9:29 AM, dbr/Ben <dbr....@...> wrote:
> The ocionuke.viewer.register_viewers() should have an argument which will
> removal all viewer processes, including the default "none" proc (it's no
> different to any other, just applies a no op node)
> Sent from my iPad
> On 03/08/2011, at 11:32, Hugh Macdonald <> wrote:
> Hi all,
> New OCIO user here... Just playing around with it to see how it'll fit into
> our colour pipeline. Primarily playing with the Nuke side of things so far.
> One small thing that's cropped up is how, when using the nuke-default
> config, there are two "None" items in the viewer process drop-down.
> I'm thinking that None probably should still be left in the menu in
> ocionuke.viewer.register_viewers(), and the config files should just not
> re-define a None. I'm thinking that the nuke-default config file should
> maybe reflect this
> As I'm quite new to OCIO, I didn't want to start forking and making a pull
> request for this kind of change, so I thought I'd bring it up on here first.
> Hugh Macdonald
> nvizible – VISUAL EFFECTS
> +44(0) 207 659 2038
> +44(0) 7773 764 708

Join to automatically receive all group messages.