skip existing renders v2.1
This location is for Registered Users Only.
Perhaps you need to login or register.
6.1, 6.2, 6.3 or later
Linux, Mac, Windows
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 |
Please feel free to contact me with any questions or bugs -- feedback is welcome and encouraged.
Comments
there is a small edits i have made to escape the temp files that comes with a random numbers like eps1_Shot_2_006.tga.10496.tmp
i have added a new variable
tmpFrameWithNum = currentFrame + ".*.tmp"
then add it to the cheeking step
os.path.exists(tmpFrame) or glob.glob(tmpFr ameWithNum)
It seems to have an negative effect on the Write Render Dialog.
Error given:
showRenderDialog() takes at most 2 arguments (3 given)
Will explore more how the script work to see if it's possible to update for nuke 11.
RSS feed for comments to this post