RenderMultiFrame script splits frame ranges across parallel jobs for efficient, multi-threaded rendering in Nuke, ideal for complex scenes and workflows.
RenderMultiFrame
Updated: 26 October 2024
Author: Kategari
Compatible Nuke versions: 13.0 or later
Compatibility:
Shoutout to Serhat Baykal who created the original RenderMultiFrame script in 2017. I've been merely trying to improve it.
The RenderMultiFrame script is a Nuke tool designed to optimize rendering workflows by splitting frame ranges into multiple jobs, each processed by a separate thread. This enables more efficient use of resources, particularly for lengthy renders.
Key Features:
- Job Splitting: Define the number of concurrent jobs (up to 12) to break down your frame range, maximizing parallel processing.
- Frame Range Selection: Easily specify custom frame ranges, with validation to ensure accurate parsing.
- Node Flexibility: Option to render from the selected Write node only, ensuring targeted renders without unnecessary processing.
- Error Handling: Checks for required elements like the Nuke executable path and selected nodes, providing informative prompts if issues arise.
- Threaded Processing: Uses a
Worker
thread for each job, displaying progress within Nuke's Progress Task interface, with options to cancel jobs mid-process if needed.
This script is particularly useful for compositors handling complex scenes, offering both customization and control over multi-frame rendering.
In your Menu.py, add the following:
import renderMultiFrame1v6
customPlugin = nuke.menu('Nodes').addMenu('Custom Plugin')
customPlugin.addCommand('Render Multiple Frame', 'renderMultiFrame1v6.main()',[Hotkey])
I recommend giving yourself a Hotkey by replacing [Hotkey] with something. I've been using 'ctrl+shift+w'