Re: disabling specific channels during view


Matt Plec <mp...@...>
 

Hi Paul -

The Nuke OCIO Display node does that and also sets up a matrix transform for a swizzle with setChannelView() -- https://github.com/imageworks/OpenColorIO/blob/master/src/nuke/OCIODisplay/OCIODisplay.cpp#L337

One thing to watch out for: If I'm remembering right, this is applied before the view colorspace conversion in the display transform, so if there's crosstalk in that then you can still end up with non-zero values in channels you had zeroed out.



On Mon, Dec 28, 2015 at 9:05 AM, Paul Miller <pa...@...> wrote:
I'm trying to figure out how I can get just red and green to show up for example. I've tried setting channelsHot to [1, 1, 0, 0] in the MatrixTransform::View() function but that doesn't do the right thing. I've also tried setting lumcoeff[2] = 0 but that doesn't have any effect.

Any suggestions?

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

Join ocio-dev@lists.aswf.io to automatically receive all group messages.