Problem summary
DeepMerge has artifacts in depth pass when merging two scanlinerenders
Customer reported version
nuke.11.0v2
Customer reported platform
windows10
Steps to reproduce
1) Open provided script in Nuke.
2) View the "DeepMerge" node. Note: The Viewer should already be set to "30" for the Gain setting and ".09" for the Gamma setting. The viewer should also be set to the depth channel.
3) Double click the "Write2" node to open its properties. Toggle the "read file" option on and off. Result: Artifacts appear when "read file" is toggled off, but disappear when toggled on. Rerendering the same scanline render will reproduce the same results.
Workaround
Write out each scanline render as an EXR. Choose "read from file" and attach a DeepfromImage node. Use the DeepMerge on the DeepfromImage nodes.
Reproduced by support
11.0v2 - Windows 10, OSX 10.13, Centos 6.9
11.0v1 - Windows 10, OSX 10.13
10.5v6 - Windows 10, OSX 10.13
10.5v1 - Windows 10, OSX 10.13
10.0v6 - Windows 10, OSX 10.13, Centos 6.9
10.0v1 - Windows 10, OSX 10.13
9.0v9 - Windows 10, OSX 10.13
9.0v1 - Windows 10, OSX 10.13
8.0v7 - Windows 10, OSX 10.13
8.0v1 - Windows 10, OSX 10.13
7.0v10 - Windows 10, Centos 6.9
7.0v1 - Windows 10, Centos 6.9
Earliest version tested
7.0v1 - Windows 10, Centos 6.9 (Earliest version support tests to, problem reproduced)
Expected behaviour
Two scanline renders merged via a DeepMerge node should merge the two passes correctly.
Actual behaviour
The depth pass contains artifacts in the viewer. However, the RGB information appears to be correct.