Color Node on Frame v1.2
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Johnny Chan
Change node color when the time marker hits a specific frame or frame range.
Requirements:
8.0, 7.1 or later
Linux, Mac, Windows
8.0, 7.1 or later
Linux, Mac, Windows
27 May 2017
310
A workmate needed some kind of Node Color indicator when the 'time marker' hits a certian frame or frame range.
So he asked me if I could write a script for that, I thought I'll share it to you guys. ^_^
This script will read the number values within a nodes 'label' property entered by the user (eg.'15-20' or '15') if the current frame is equal to or within its range then it will change the nodes color to RED.
How to Use
- Install 'Color Node on Frame' script (see bottom of page for install steps).
- Once installed you have a new menu named 'PicoStyle>Color on Frame'
- Selected a node that you want to modify under the label properties add a frame or frame range to your liking.
- Using the hotkeys you can advance next frame, previous frame and toggle, see the node change colors.
- alt + . : advance next frame.
- alt + , : advance previous frame.
- alt + / : toggle colors on current frame
How to Install
- Download the zip file from the 'Download Script' button above.
- Unzip the package and then copy the 'menu.py' and the 'ColorNodeOnFrame.py' folder into your '.nuke' folder.
- Restart Nuke and you should have a menu named 'PicoStyle'
- If you already have an existing 'menu.py' file you'll need to add this snippet:
import nuke import ColorNodeOnFrame main_menu = nuke.menu('Nuke') pico_menu = main_menu.addMenu('PicoStyle') pico_menu.addCommand('Colour on Frame/Next Frame', 'ColorNodeOnFrame.color_on_next_frame()', 'alt+.') pico_menu.addCommand('Colour on Frame/Last Frame', 'ColorNodeOnFrame.color_on_prev_frame()', 'alt+,') pico_menu.addCommand('Colour on Frame/Toggle Colored On | Off', 'ColorNodeOnFrame.color_on_current_frame()', 'alt+/')
Version Notes:
- v1.1 allows the user to pass both frame ranges and frames separated by a comma.
- v1.1 now allows the user to easily change the indicator color through the nuke preferences.
Please login in order to download these files.
Comments
Just a question, can you modify this to work in real-time as "Play" mode? (not just frame by frame, so when i play the comp i can see node color changes)
Just need one help ,
would you please make a script for Render Progress Bar with color changing effects.
I agree with Federico that it would be useful for it to update on playback and every time I manually change the frame.
RSS feed for comments to this post