This is a Nuke 11 updated version of a script by Jep Hill (tested on windows). v2.2 - Updated to work on Nuke 11 v2.1 - This updates the default 'render selected' behavior to render all write nodes in the selection and ignore the others (rather than fail). v2.1 - Now works properly with EXRs when autocrop is selected. (Hat tip to Marty Blumen for finding this bug) v2.0 - Now adds very efficient and selective output directory verification and creation to interactive and background renders. v1.0 - 'skip existing frames' functionality only works for interactive renders still however, the dialoge box behavior has been improved so it won't show as an option for background renders.
skip existing renders
Updated: 21 December 2018
Author: DBB
Compatible Nuke versions: 10.5 or later
Compatibility:
The original script can be found here: http://www.nukepedia.com/python/render/skip-existing-renders
v2.2 - Updated to work on Nuke 11
The v2.1 update features the following improvements:
- Updated the default 'Render Selected' bahaviour to render the write nodes in the group of selected nodes rather than just failing out with an error
- Now works properly with EXRs when autocrop is selected. (hat tip to Marty Blumen for finding this bug)
This is an update to my modification of The Foundry's renderdialog.py script that adds a 'skip existing' checkbox to the render dialog allowing users to skip existing frames when rendering interactively. This update removes the 'skip existing frames' option from the render dialog when background rendering is selected. This also includes extremely efficient output directory verification and generation for both interactive and backgrounded renders. It only checks the path of the write node(s) selected to render, at render time.
The skip existing frames feature stil doesn't work with backgrounded renders due to the fact that the callback 'addBeforeBackgroundFrameRender' is not yet exposed. There are definitely other ways to do solve the issue when background rendering, however, I figured I'd share this in case any one is interested in this funcionality in the interim.
Place the j3p_renderdialog.py script in your ~/.nuke ($HOME/.nuke) directory and add the follwing lines to your menu.py living in the same directory:
1 2 |
import j3p_renderdialog nukescripts.showRenderDialog = j3p_renderdialog.showRenderDialog |