I have read some topic about this subject but don’t find the solution about my problem (this one : http://www.vfxtalk.com/forum/nuke-cr…de-t17068.html )
I know we can add an "if" condition into the expression node with this syntax : if ? then : else and i would like to use it to replace some pixels value.
For example in the red channel i’ve tried that :
r>=1 ? 0 : r so i just want to replace the burned value by 0
The result is all pixels to 1 in the red channel
Here a copy/paste of the node :
Expression {
expr0 "r>=1 ? 0 : 1"
name Expression1
selected true
}
I know in Fusion, we can use the Custom tool with this expression :
if(r1>=1,0,r1).
If you have the solution… thanks a lot !
Nuke version 6.1 v2 64bits
Post a Comment