remove display names in UIs

26 views
Skip to first unread message

zac...@moving-picture.tv

unread,
May 2, 2017, 4:55:44 PM5/2/17
to OpenColorIO Users
the OCIO config requires you to have a group/display name for a set of views.  But this name always shows up in UIs (like Nuke/Maya, etc).

Is there a way to have that display name not show up in the UIs?  Based on config below I get "rec709 (MPC)"  in the UIs.   I can put just  :  but then i get     "rec709 (~)"  and with   "":    "rec709 ()"

I'd like to clean that up and remove the display name and () entirely.

My config is:

<snip>


displays:
  "MPC":
    - !<View> {name: MyLUT, colorspace: AlexaV3LogC, looks: MyLook}
    - !<View> {name: rec709, colorspace: rec709}
    - !<View> {name: Linear, colorspace: linear}
    - !<View> {name: LogC, colorspace: AlexaV3LogC}

<snip>

Sean Cooper

unread,
May 5, 2017, 2:09:15 PM5/5/17
to ocio-...@googlegroups.com, mdo...@imageworks.com
This is bit more of a Nuke-side question, but I asked one of our Nuke developers to get the best approach, so here's a direct quote from our dev Michael Dolan:

Each view/display option in Nuke's viewer is just a reference to a ViewerProcess, which under the hood points to an arbitrary node. So you can do:

import nuke
nuke.ViewerProcess.register(
    name='My Cool View',
    call=nuke.nodes.OCIODisplay,
    args=(),
    kwargs={'display': display, 'view': view, 'layer': 'all'})

If you want to remove an existing option first, do for example:

nuke.ViewerProcess.unregister('sRGB')


--
You received this message because you are subscribed to the Google Groups "OpenColorIO Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ocio-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Deke Kincaid

unread,
May 6, 2017, 12:41:55 AM5/6/17
to ocio-...@googlegroups.com, mdo...@imageworks.com
Normally you would do this with OCIO_ACTIVE_VIEWS  & OCIO_ACTIVE_DISPLAYS.  Sadly doesn't support this feature yet.


To unsubscribe from this group and stop receiving emails from it, send an email to ocio-users+...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "OpenColorIO Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ocio-users+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages