i have a problem with my zMerge in Nuke where a object intersects another where it definitely should not. I have attached 4 images that show that problem.
I have no idea why the Z Values of some pixel seem to be nearer to the cam as the object that is laying over them.
It does not even matter if Part A is switched to “primary visible” “off” or completly hidden…both times the object behind it gets zDepth values closer to the cam.
is there a chance, that these are antialiasing artifacts caused by using any filtering methods…?
Because I had a similar problem last days. These artifacts were widely produced in my render passes…
Turning the filtering method to none solved it.
Only one idea…
Cheers!
EDIT: Hm, but you would see the artifacts then in your passes, so this might not be the problem…
Definately looks like a precision issue. If you are rendering halffloat try rendering full float. If not you might want to try and set close ranges for the Z
We are rendering fullfloat…and i also tried to set our “Depth Black” and “Depth White” Values as tight as possible. It does not get better…only different pixels are f$%ked up.
Ok…now we have a different situation…see the picture and the comments below:
We have hidden only ONE visible filler object which is very far behind in terms of Z-Position. You see that the black artefacts shift to a different position and we have no clue why.
This is not going to work properly with a filtered Z-Depth element. You can try an unfiltered element with the option “Unfiltered fragment method” set to “Nearest to camera”.