Hey Daniel,
The easiest way is probably by using an expression node like the one
copied below. You might wanna use a matrix node, edge blur or maybe a
coverage pass to take care of the resulting edge artifacts - object or
ID passes always become somewhat troublesome when things like
motionblur and occlusions come into play, that stuff requires a bit of
a more sophisticated approach, especially with overbright values.
set cut_paste_input [stack 0]
version 6.3 v8
push $cut_paste_input
Expression {
expr0 0
expr1 0
expr2 0
expr3 r==10?1:0
name Expression1
selected true
xpos 124
ypos -330
}
Cheers, m.
On Tue, Jul 24, 2012 at 9:23 AM, Danimator <[email protected]> wrote:
> I have a render layer that has all the surfaces of a 3D geomtry in a
> single image. Similar to RGB mat passes but each surface is
> represented by a pixel value of 1, 2, 3, 4, 5, etc. How can I just
> extract a pixel value of say 10 without selecting the values below 10
> as well as above? I have the clamp node, but I could only get it to
> give me a threshold where I could get values at a threshold and
> above.
>
> --
> Cheers,
> -Daniel
>
>
> Daniel L Smith
> VFX Supervisor & Stereographer
> http://www.danimation.com
>
> 716-435-0735 [email protected]
> _______________________________________________
> Nuke-users mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users