Problem summary In the Nuke 13 release, we updated the existing legacy 3D viewer to a newer viewer, Hydra and set this as the default 3D viewer.
It has been discovered within the Hydra viewer that if a Project3D node is using a source input that has a bounding box that does not match the resolution (Roto shapes etc.), the result in the 3D viewer will be distorted.
Note: This only occurs in the Hydra viewer and not the legacy (Nuke) viewer, the result is correct in the 2D viewer:
Customer reported version Nuke 13.0v2
Customer reported platform Windows 10
Steps to reproduce
Open attached script and view between viewers.
or
1) Within a new Nuke 13 session, create a Text node, entering in the word 'TEXT'
2) Create a Project3D node, using the Text node as the input
3) Create a Card node, using the Project3D node as the input
4) Create a Camera node and connect to the 'cam' input of the Project3D node
5) Translate the camera on the'z' axis till the entirety of the text is on the card
6) Create a ScanlineRender node, connecting the camera to the 'cam' input, and the card to the 'obj/scn' input
7) View the results from the ScanlineRender node in the 3D view. Result: Text will be incorrectly warped in Hydra viewer
8) Duplicate the Viewer node, and within the viewer preferences, change the renderer in the 3D tab to 'Nuke' Result: Text will be correctly displayed
9) View the results from the ScanlineRender node for in the legacy Nuke 3D viewer Result: Text will be correctly displayed
10) View the results of both from the ScanlineRender node in the 2D viewer (by pressing 'Tab' in the viewer) Result: Text will be correctly displayed
Expected behaviour The Hydra viewer should work the same as the Legacy (Nuke) viewer and not distort the input source.
Actual behaviour The Hydra viewer distorts the input source if a Project3D node carries through a bounding box that does not match the resolution.
Workaround There are two discovered workarounds to this issue:
a) Add a Crop node between the Project3D node and the Text node, this will reformat the bounding box to the resolution format.
b) As an alternative to the Project3D node, use the ProjectUV node, as the issue does not appear to occur using this method.
Reproduced by support This bug has been reproduced in: Nuke 13.0v2 - Windows 7 - MacOS 10.15.6 - CentOS 7 Nuke 13.0v1 - Windows 7
Unable to reproduce bug in: Nuke 12.2v5 - Windows 7 - MacOS 10.15.6 - CentOS 7
Earliest version tested Nuke 12.2v5 - The Hydra viewer was not introduced till Nuke 13.0v1