Filed under Uncategorized

The secret power of the space bar

In nuke you can do a lot with one hand on the keyboard and one on the wacom. I’m constantly learning new shortcuts. A great, subtle ui convention is that generally when a button has been selected in the gui, it can be activated again afterwards by hitting the space bar. It is also the same as hitting enter on dialog boxes that have a default button set. In general this is useful for dismissing dialog boxes like the flipbook one with a space, but I also love to use it while I am frame-by-frame tracking. Using a pen it is pretty difficult to repeatedly hit the same button while not looking at it. I like to hit the button once, then tap the space bar whenever I need to track the next frame.

how to match camera move-induced motion blur

I haven’t seen this posted clearly anywhere and it is pretty simple. Here’s how to match motion blur. Track a point with a tracker node, pipe that node into the 2d transf pipe of the motion blur 2d node, and then pipe the result into a vector blur node. Connect your source footage to the other pipe on the motion blur 2d node and you ought to see some blur!

 

The tracker finds the motion, the motion blur 2d converts it into u and v ramps, and then the vector blur actually converts it into blurred footage.

If you have a camera track, then you can swap that and the motion blur 3d in to get similar results.

how to render every x frames

Good compositors know how best to use their render time. Poor time management can be the difference between iterating a shot 3 times a day, or 0 times. One great way to be conservative with rendering is to do a ‘test’ render of every 5th frame or so. Feel free to adjust that number up or down based on how long your shot is. That way you can see if you have any floating roto shapes or glitches faster. If it looks good, then go ahead and bang out the rest of the frames.
Luckily, nuke makes this easy. In the render dialog box type your frame range with dashes between the first and last frame. Then type a forward slash and the frame interval you want. i.e. if you have a one hundred frame long shot and you want to see every 5th frame it would look like
1-100/5
Then if your frames look good you can render the other frames by moving the start frame. If we use the same example as above then it would look like this
2-100/5,3-100/5,4-100/5

Tagged ,

how to cancel a tracker in nuke 6.3v3 or below

Nuke 6.3v2 and below seem to have a weird bug where you can’t cancel the tracker once it has started. That can mean a really long wait before you are allowed to look at the keyframe data that you didn’t want anyways! I was poking around on the foundry’s forums today and someone suggested a smart solve for it.
Just unplug the pipe into the tracker.
It will force the tracker to stop. I have heard rumors it may make nuke crash, but I haven’t been able to reproduce that even once.

Tagged

tough track? Maybe blame grain!

I have had a few really dark tracks lately that came out poorly. Nothing I did could make them any less jittery or more useable. In frustration I was venting to someone when they told me to try putting a smooth node on it. In this case I am using it like a degrain, but it’s faster and doesn’t require nukeX. I set the smooth so that it blurred out the bulk of the grain but didn’t get too harsh on the main image.
That actually helped a lot. The tracker has a tough time finding the pattern in the noise when there is a lot of grain, so making it easier for the tracker made it easier for me.

Tagged , ,

How trackers affect alpha

The tracker node will set your alpha to full white. 

There. I said it.

I’ve spent a lot of time moving tracker nodes and then inverting roto alphas because they no longer work. It may not be a bug, but it certainly is not intuitive. Once you’ve heard this and know to look out for it things will start to make more sense.

The best way to deal with it is probably to shuffle black into the alpha after the transform.

Tagged , ,

color sampling with the curve tool

I had a need for this last week, and I thought it may be useful for others. This script shows how to use the curve tool node to sample color data and apply it to something else. This can be super useful for color matching a clip that has wild variations (like camera flashes). It has a color bar node fed into the curve tool and then the color sampled is fed out to a constant.

The one trick with this whole idea is that the crop feature that is built-into the curve tool breaks more frequently than it works. I have fed the curve tool node a cropped image as a way of faking the sampler area.


 

Click here to download the script.

 

Tagged

the system is down!

One of the first lessons I ever had with nuke is how unstable it can be. It allows you to bog down your system, it allows you to create things that are orders of magnitude more computationally expensive than you need, and it almost encourages you to run betas and bleeding edge releases that have a fair amount of bugs in them. It’s funny to admit, but that isn’t always a bad thing either! Being able to push it to the limit allows us to push our work further as well. That’s the price we pay for having cutting edge tools. Sometimes instability is a fact of life.

One thing that I absolutely love is a little docklet app for osx called istat menus. It allows me to look at my ram usage (including swap) cpu usage, network transfer, and hard drive free space. All of those can come into play when you have an unstable system.  My most frequent offense is having too many instances of nuke open and filling up the ram with cache files. Eventually that leads to utilizing swap, which is when it starts writing ram to the hard disk in order to make more space. That makes everything very, very slow. With istat I can quickly glance up and see if my machine is slow because I am simply hammering the processor, or if I am bottlenecked by swap. If it’s swap, then the answer is simple: close as many instances as possible to release their cache files. If it’s the processor then it is more complicated, but at least I know where to look.

I hear that the linux version of nuke has a built in tool for diving into which node is using the most resources, but I’ve never worked on linux. I would really love to see that in action.

Hello world!

Hello world!

I want to use my first post to talk about what I hope to achieve with this blog. A little over two years ago I started a blog called you down with fcp all about final cut pro editing. At that time I was starting a new editing position at a new shop and I found it to be a really great way of documenting and sharing the little things that I discovered. It also is a great subtle motivation to dig into the app, and really try to find the best possible way to do things.

Now that I’ve moved on from my editorial position I don’t see any reason to stop learning, or to stop documenting my path. Thinking about the future, I plan on being humbled by comments more than a few times, and I hope that in a few years time I can look back and realize how small my insights seem in hindsight. That will prove I have been growing.

I hope that we both learn something in this process.

_Ross