Date
1 - 3 of 3
disabling specific channels during view
Paul Miller <pa...@...>
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? |
|
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. |
|
Paul Miller <pa...@...>
Thanks Matt - that code is pretty much what I already had. But the
Nuke code doesn't handle a channelHot of 1,1,0,0 either. When I do
this, it solos the alpha channel instead.
toggle quoted message
Show quoted text
On 12/29/15 10:23 AM, Matt Plec wrote:
|
|