Zdepth - something weird

Hi everyone,
I’m trying to do a little animation and to save time I want to do DOF in post.
I’m trying to set up a zdepth…but something looks weird.
I think the tap should not look like that

Also, if I change setting it doesn’t restart the render in ipr mode, and even if I try to refresh the render manually it doesn’t change settings.
I have to stop it and start it again.
Is it normal?

Could you send the scene via the contact form so we can take a look? Address it to me in the subject and include a link to this thread in the message.

I literally sent the scene last night via the contact form about another subject (chaos cloud).
let me try to get the dropbox link and I’ll share the scene with you.
Thanks for helping me out.

Lorenzo

I created a new link, with the latest test I did yesterday, and I just sent the request.
scene has state sets, if it doesn’t make sense (I’m messy) please let me know.
For the moemtn, thanks.
Lorenzo

Check the shader, ensuring the reflection part is *not* set to “affect all channels”.

Hi Lele,
thanks for your help!
Just because I come from other softwares…what is the advantage to have this option?
and, like just happened because I didn’t know, what should I do to correct the problem?
I left the option in every material…

The option is so some data channels get info from the reflection or refraction.
For example, some users want glass to affect their alpha channels, and there’s an option for that, while to denoise stuff behind refractive shaders, one needs to select “affect all channels”, so that the normals from things behind it can be stored in the proper normals RE, for example.

We default to *not* affecting anything else than the RGB, so it doesn’t come from a default of ours, i think.
To remove it, simply run this piece of script on your scene, and you should be good (copy/paste the line below in the listener, press the keypad enter at the end of the pasted line, you should see “OK” printed in blue.).
for m in getclassinstances vraymtl do m.reflection_affectAlpha=0