Blur it

Grain it

Forget it


Some quick Nuke Tips

This month I decided to show you some tips and tricks that will help you working with Nuke. So let's start with a question I got yesterday pointed on the creation of a ramp:

1. How can I make a 2 colored ramp ?   The answer is easy but a little bit weird. Instead of using the Ramp node, that is located under the Draw menu, you simply use a Bezier. Draw a bezier mask around your image and jump to the color tap inside the Bezier node. There you see the ramp pulldown menu, and you would choose linear. Now you can select your colors and change your ramp in the viewer. 

Now let's continue

2. How can I use more than one Write node and render in different orders?

I really often have multiple Write nodes in my trees and sometimes, especially when doing some precomps, the processing order is important. In Nuke you have the possibility to set your rendering order really easy. Let's assume you have a tree like mine in the image below.

You would want to render out your Write1 node in advance, then the filters are applied and then the Write2 node will be executed. To set this up go into your Write nodes and check the settings in the render order parameter. For the Write1 node it should be set to 1, which is the standard, and in your Write2 node you change your order to 2. You will notice that in the DAG your node will show you a small 2 , indicating that the order was changed.

When you now Execute your script Nuke will recognize the Write orders and render appropriate.

3. Now how can I render the script outside Nuke ?

I got this question a few weeks ago. I for my part nearly always use the terminal to render my Nuke scripts. First I noticed that the rendering process was way faster, and second I got used to it, because especially in nuke4.6 when doing some retiming, the render process was not successful inside the app, and rendering in the terminal was sort of a workaround. So after saving your script you can close Nuke and go to your terminal and type in the following: nuke -x yourscript.nk 0,100 -> 0,100 is the timerange you want to render, so change this to what ever timerange you want to execute. You should also be aware, that you have to type in the whole path to your script. And if you have not set an alias to Nuke, you also have to type in the path like in the image below.

If you have multiple Write nodes in your script and only want to execute one of these, you can type in:

nuke -x Write1 yourscript.nk 0,100

this command will execute the Write1 node only. To learn more about this, type in nuke -h and you will get a list of all available commands.

So I hope this tips have been useful, and hope you check back soon ! !


Contact Me

Success! Message received.