Hi Patrick,
There is a way of doing this by displacing those deep sample into a
difference coordinate then crop them.
Use a deep expression with this :
rgba.alpha==0?deep.front==-1:deep.front
rgba.alpha==0?deep.back==-1:deep.back
Then put a deep crop node using only the znear a bit above 0 (like 0.001)
and then your sample will disappear !
Let me know if it does work for you.
In Nuke 7 the deep holdout will keep the deep stream ;)
Cheers
Denis


2012/11/16 Patrick Heinen <mailingli...@patrickheinen.com>

> Hi Colin,
>
> thanks for you reply! Unfortunately this won't work. I have "dead" alpha
> samples pretty much everywhere, so also in front of the element I would
> like to keep. Doing a DeepHoldout results in a pure black image. And with a
> 2d DeepHoldout I loose my deep samples anyway. Using the DeepMerge set on
> holdout has the same result. Also I couldn't find a "remove empty pixel"
> checkbox, do you mean the "drop hidden samples"?
> So I guess there is no way of getting rid of deepsamples without writining
> my own DeepOp?
>
> Best Regards
> Patrick
>
> ----- Original Message -----
> From: colin.doncas...@gmail.com
> To: nuke-users@support.thefoundry.co.uk
> Date: 17.10.2012 19:05:27
> Subject: Re: [Nuke-users] Delete Deep Pixel samples
>
>
> >
> > You could use a deep expression to create a version of the image that
> turns all samples with an alpha of 0.0 to an alpha of 1.0 and black RGBA
> with the rest being set to 0.0 - then use that as a deep holdout with
> remove empty pixels on.
> >
> > Maybe.  I haven't tried it with Nukes tools - but a thought.
> >
> > On 2012-10-17, at 12:18 PM, mailingli...@patrickheinen.com wrote:
> >
> >> Hi everyone,
> >>
> >> even though this might sound crazy, is there a way to delete deep
> samples in Nuke? I have a rendering here, where some pixels have an alpha
> value of 0 and still a bunch of deep samples, which I want to get rid of.
> >> I tried using the deep expression node with
> "deep.front=rgba.alpha==0?0:deep.front". First of all, the expression
> doesn't do what I want, instead I get 0 everywhere, wheter alpha is 0 or
> something else. Second with a DeepSample Node I still have those samples,
> now with 0 for deep.front,back,r,g,b and a.
> >> Any ideas?
> >>
> >> Best Regards
> >> Patrick
> >> _______________________________________________
> >> Nuke-users mailing list
> >> Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
> >
> > _______________________________________________
> > Nuke-users mailing list
> > Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
> _______________________________________________
> Nuke-users mailing list
> Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to