ID 332389 - Writing an EXR file containing multiple views does not write out correct information in each view.

Follow

Problem summary
Writing an EXR file with multiple views does not write out correct information in both views. The EXR output does not derive its viewer data from the actual image data.
 

Customer reported version
nuke.11.0v3

Customer reported platform
windows10

Steps to reproduce

1) Launch Nuke and paste the following script into the Script Editor. (Shift + f4 for the Scripting Workspace)

nuke.addView( 'view' )nJ = nuke.nodes.JoinViews( inputs = [ nuke.nodes.Constant( format = 'HD_1080' ), nuke.nodes.Constant( format = 'UHD_4K' ) ] )nE = nuke.nodes.Expression( expr0 = 'x / width', expr1 = '( height - y ) / height', expr2 = '0', inputs = [ nJ ] )nR = nuke.nodes.Reformat( format = 'HD_1080', inputs = [ nE ] )nW = nuke.nodes.Write( file_type = 'exr', inputs = [ nR ] )
2) Highlight the code and execute it, (Ctrl + A) to select it and (Ctrl+Shift+A) to execute it. Note the script that is created in the node graph. 

3) With the same script selected use the write node to write out a simple .exr file to your desktop. 

4) Create a Read node and view the rendered exr file. In the view defined as "main", the file will appear normal as shown below. 



5) With the Viewer1 node connected to the same exr, select the "view" view listed in the viewport and note the result.

 

6) Despite writing out the same data to each view the images are totally different within the Viewer.  

Workaround
Substitute the JoinViews node with the Expression node so that the Expression is attached to each of the Constant nodes then connected via JoinViews.  



Reproduced by support
This bug has been reproduced in:
Nuke 11.1v1 - Windows 10 - MacOSX 10.13 - CentOS 7.4
Nuke 11.0v4 - Windows 10 - MacOSX 10.13 - CentOS 7.4
Nuke 11.0v1 - Windows 10 - MacOSX 10.13 - CentOS 7.4
Nuke 10.5v7 - Windows 10 - MacOSX 10.13 - CentOS 7.4
Nuke 10.5v1 - Windows 10 - MacOSX 10.13 - CentOS 7.4
Nuke 10.0v6 - Windows 10 - MacOSX 10.13 - CentOS 7.4
Nuke 10.0v1 - Windows 10 - MacOSX 10.13 - CentOS 7.4
Nuke 9.0v9 - Windows 10 - MacOSX 10.13 - CentOS 7.4
Nuke 9.0v1 - Windows 10 - MacOSX 10.13 - CentOS 7.4


Unable to reproduce bug in:
Nuke 8.0v7 - Windows 10 - MacOSX 10.13 - CentOS 7.4 (Regression)


Earliest version tested
Nuke 8.0v7 - Windows 10 - MacOSX 10.13 - CentOS 7.4 (Regression)

Expected behavior
EXR output derives from the expected image data and both images would be displayed correctly in their corresponding views in the Viewer.


Actual behavior
EXR output matches the expected image data that can also be observed in the viewer. The data displayed in each view would be the same. 


 

    We're sorry to hear that

    Please tell us why