Custom Frame Hold Current Frame

    A fresh out the box version of The Foundry's Nuke frame hold node doesn't use the current frame as a default value when generated. Well here's a way to do that! A quick google search led me to David Emeny's Wordpress blog with this snipped of code.

add this code to your menu.py file

#Custom Frame Hold
nuke.menu('Nodes').addCommand("Time/FrameHold","nuke.createNode('FrameHold')['first_frame'].setValue(nuke.frame())",icon='FrameHold.png')
 

Disclaimer: I am not claiming this code as my own. I just happed to come accross it and thought it was useful.

Source: https://davemne.wordpress.com/2013/07/03/f...

Proper Compositing Techniques & Tips

    Getting started in Nuke can feel a bit daunting at first. Without proper guidance you might even fall into terrible habits that will make your comps slow and harder to work with. When I was at The Molecule I met this amazing dude, Austin Meyers, who directed me to a Youtube link of him teaching practical compositing. I can say with confidence that this video has helped me tremendously with my compositing techniques and is a must see for anyone getting into visual effects compositing with Nuke. 

Quick Tips

    A few thing to keep in mind when starting out would be to work within the Nuke B-Line meaning to keep the main flow of the comp with the B side of the merge operation. A quick and dirty test you can do for this is if you select all your nodes in your comp and disable them it should read back to the source (plate) and not some random roto node.

    Bounding boxes (bbox) should also be kept to the smallest amount required. Be sure to set the "set bbox to" operation in your merge node to whichever results in the smallest bbox required to output. Having ridiculously big bounding boxes will make the computer calculate unnecessary pixels void of information.

    Although mask and stencil operations are great for 2D compositing sometimes they don't give you the result you want when working with multichannel source plates. To get the equivalent result in your multichannels you can use the in and out operations respectively. You would also have to switch the A and B inputs which breaks the first rule I said but you gotta know the rules first to break 'em! Don't forget to check your bounding boxes!

    Good luck with your VFX journey!