Re: disabling specific channels during view
Matt Plec <mp...@...>
toggle quoted messageShow quoted text
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 = 0 but that doesn't have any effect.