Showing posts with label Nuke. Show all posts
Showing posts with label Nuke. Show all posts

Saturday, April 14, 2012

How to use Maya's 2d motion vector pass for Nuke's vectorBlur. (2of2)

In Nuke, you need to use VectorBlur node. ( under Filter menu )
The VectorBlur node has just one single input. This means the input source image must carry its own motion data, in this case, the separately rendered out 2d motion vector pass.
To do this, you need a ShuffleCopy node ( under channel ). 
Check out the connection.
And set up the node like it's seen in Pic_2. Notice that the R and G channel of the 2d Motion vector image feed the u and v motion channel of the Masterbeauty pass.





Friday, April 13, 2012

How to use Maya's 2d motion vector pass for Nuke's vectorBlur. (1of2)

We all know that motion blur is one of the essential effects to accomplish better realism but it generally requires a long rendering time, especially when using full 3d motion blur of Mental ray renderer.
As an alternative,  2d motion vector methods are widely used since it is a cheaper and still very effective and flexible solution.
There are some good articles and tutorials that you can find in the internet about 2d motion vector methods but I will focus on a more specific issue in this article which is a sync problem.  
First, let's take a look at what really happens when motion blur is on, in terms of moving objects' position.


Here's a very simple five-frame animation.

Pic 1. Master beauty



Click the image to see the moving stick.
The animated stick moves by one notch at a time so the moving stick is perfectly aligned with the sticks at the bottom at each frame.


Now you turn on 3d motion blur in Render Settings and you'll get this motion-blurred animation.



Pic 2. Master beauty 3d motion-blurred