ID 589659 - Bokeh can produce artifacts in the Alpha channel when a Deep Input is provided

Follow

Problem summary:
Bokeh can produce artifacts in the Alpha channel when a Deep Input is provided
 
Customer reported version:
Nuke 14.1v4
 
Customer reported platform:
Rocky 8
 
Steps to reproduce:
1) Launch Nuke and create a GeoCube node in the Node Graph.
2) In the GeoCube's Properties, add some Rotation values like the following:


3) Create a ScanlineRender2 node, and a Camera node.
4) Connect the Camera to the ScanlineRender2's cam input.
5) In the Camera's Properties, set the Translate z to 6.5 (or similar).
6) Create a Bokeh node, and attach the Deep Input and Input connections to the ScanlineRender2.
7) Set the Bokeh's Multiplier knob to something like 10, and the Focal Plane knob to a value like 6:

8) In the Viewer, view the Bokeh's Alpha channel and set the Gamma slider to 0.
9) Observe the various artifacts where the Alpha should be solid white:
 
 
Expected behavior:
The Bokeh node should produce consistent Alpha values between in-focus and out-of-focus areas.
 
Actual behavior:
When using the Bokeh node's Deep Input, the resulting Alpha channel can have unexpected holes in it.
 
This issue is not specific to the ScanlineRender2 setup described above, and will also occur when using rendered Deep EXR files with the Bokeh node.
 
Workaround:
No known workaround at this time.
 
Reproduced by Support in:
Nuke 15.1v4 - Windows 11, macOS 13 Ventura
Nuke 15.0v1 - Windows 11
Nuke 14.1v1 - Windows 11
Nuke 14.0v2 - Windows 11
 
Earliest version tested:
Nuke 14.0v2 - This feature (the Bokeh node) did not exist before this version

    We're sorry to hear that

    Please tell us why