QUICK FIX: Fixing Motion Vector Offset WITHOUT ReRendering
0 Comments
Page 1 of 1
INTRODUCTION:
Hello, and welcome to this awesome little tutorial. The purpose of this tutorial is to explain a common problem compositors run into that comes out of the pipeline and onto our plate; the dreaded offset, or passes not lining up 100%. When you have a render artist send you multiple passes that are NOT loaded into a single EXR sequence (such as multiple render layers for the master passes, ambient occlusion, etc), eventually you might have a 2D motion vector pass built in, which is the leading cause of this issue.
WHAT IS ACTUALLY HAPPENING:
The 2D motion vector pass coming out mental ray and into most EXR sequences (MV2E_mv2DToxik...) to be specific, is compensating for a prepositional offset which is then calculated into color data for Nuke to read as directional data for motion blur purposes. This offset does not just sit in the pass alone, but applies it to every pass associated in that layer and sequence. That way, when you receive the other passes in separate sequnces, they will not entirely line up.
You can't always go back to the artist responsible for the render and have him change the offset values and rerender the entire shot. Time and money will not always allow it and that's why it is important to understand what I am explaining to you, so you as the compositor can assess and correct the issue. On the next page, I will explain a simple technique, but please be sure that you are understanding of the "Copy" node as I will not be explaining that...
NOTE: This technique is only a quick fix and is only necessary when you have no other options.
PREPARING THE FIX:
After your comp layout is all set up, locate the read node containing the Motion Vector pass data. Branch out of that node with a "Copy" node (in the A input). Be sure that you are copying all associated data corresponding to that pass (MX, MY, MZ) and pipe one of your other read nodes which does not line up correctly (AO for example) into the B input of the "Copy" node. You should now have the Motion Vector applied to that pass as well, so go ahead and duplicate the "Copy" node and apply it to all other read nodes which have offset issues.
FIXING WITH VECTOR BLUR:
If you view each of those nodes in your viewer, you should be able to see the pass is now associated with all of your Read nodes. From this point, with a single "Copy" node selected (for the MV pass), you can apply a single "VectorBlur" node to it directly below. In your Viewer, you will see that nothing has happened to the pass, but in the Proporties for "VectorBlur" node, you should then change your uv channels input to your newly added Motion Vector pass. NOW, you will see an extremely strong motion blur added to that pass.
Don't worry, this is just temporary. Go ahead and make a clone of this node and apply it to the rest of your "Copy" nodes. Now, in the properties for any of the "VectorBlur" nodes, change your multiply slider to an extremely low number such as (0.05) so the blur is no longer visible to the eye. Now you have the option to change the offset slider to reposition the external passes to match up with your primary EXR.
Here is a close up image to show the offset and it's correction:
CONCLUSION:
As I said early, this is just a quick fix and should only be used as such when you do not have the time and/or money to complete another full render of all passes to contain the offset. I know it is not most accurate way to fix the problem, but it is certainly the fastest and as you already know, working fast is always in everybody's best interest. If you have any trouble with this method, please let me know and I will be sure to help you out. Thank you for viewing my tutorial and I hope it helps.
Hello, and welcome to this awesome little tutorial. The purpose of this tutorial is to explain a common problem compositors run into that comes out of the pipeline and onto our plate; the dreaded offset, or passes not lining up 100%. When you have a render artist send you multiple passes that are NOT loaded into a single EXR sequence (such as multiple render layers for the master passes, ambient occlusion, etc), eventually you might have a 2D motion vector pass built in, which is the leading cause of this issue.
WHAT IS ACTUALLY HAPPENING:
The 2D motion vector pass coming out mental ray and into most EXR sequences (MV2E_mv2DToxik...) to be specific, is compensating for a prepositional offset which is then calculated into color data for Nuke to read as directional data for motion blur purposes. This offset does not just sit in the pass alone, but applies it to every pass associated in that layer and sequence. That way, when you receive the other passes in separate sequnces, they will not entirely line up.
You can't always go back to the artist responsible for the render and have him change the offset values and rerender the entire shot. Time and money will not always allow it and that's why it is important to understand what I am explaining to you, so you as the compositor can assess and correct the issue. On the next page, I will explain a simple technique, but please be sure that you are understanding of the "Copy" node as I will not be explaining that...
NOTE: This technique is only a quick fix and is only necessary when you have no other options.
PREPARING THE FIX:
After your comp layout is all set up, locate the read node containing the Motion Vector pass data. Branch out of that node with a "Copy" node (in the A input). Be sure that you are copying all associated data corresponding to that pass (MX, MY, MZ) and pipe one of your other read nodes which does not line up correctly (AO for example) into the B input of the "Copy" node. You should now have the Motion Vector applied to that pass as well, so go ahead and duplicate the "Copy" node and apply it to all other read nodes which have offset issues.
FIXING WITH VECTOR BLUR:
If you view each of those nodes in your viewer, you should be able to see the pass is now associated with all of your Read nodes. From this point, with a single "Copy" node selected (for the MV pass), you can apply a single "VectorBlur" node to it directly below. In your Viewer, you will see that nothing has happened to the pass, but in the Proporties for "VectorBlur" node, you should then change your uv channels input to your newly added Motion Vector pass. NOW, you will see an extremely strong motion blur added to that pass.
Don't worry, this is just temporary. Go ahead and make a clone of this node and apply it to the rest of your "Copy" nodes. Now, in the properties for any of the "VectorBlur" nodes, change your multiply slider to an extremely low number such as (0.05) so the blur is no longer visible to the eye. Now you have the option to change the offset slider to reposition the external passes to match up with your primary EXR.
Here is a close up image to show the offset and it's correction:
CONCLUSION:
As I said early, this is just a quick fix and should only be used as such when you do not have the time and/or money to complete another full render of all passes to contain the offset. I know it is not most accurate way to fix the problem, but it is certainly the fastest and as you already know, working fast is always in everybody's best interest. If you have any trouble with this method, please let me know and I will be sure to help you out. Thank you for viewing my tutorial and I hope it helps.
Page 1 of 1
Author: Aaron Marine
Submitted: 2012-09-26 19:19:27 UTC
Tags: maya, mental, nuke, motion, offset, and Vector
Software: Nuke
Views: 21,919
Related Items
-
FBX Pistol Starter: 3D Character Animations for Autodesk, MotionBuilder, Maya
$4.99 (USD) -
Animated Olympic Fire 2014 (Maya) 3D Model
$69.00 (USD) -
Elephant 3d textured model 3ds max and maya scene files 3D Model
$30.00 (USD) -
Casual Male 06 Rigged for Maya 3D Model
$39.00 (USD) -
CHLBR Batch Render plugin for nuke 8.x for Nuke 1.0.0 (nuke plugin)
$40.00 (USD) -
3D Silver Cyborg Maya Rig 0.0.1 for Maya
$200.00 (USD) -
"Rapid Rig: Poser" for Maya for Maya 2.0.9 (maya script)
$20.00 (USD) -
Nick-Maya Rig With Advance Facial Setup for Maya 0.1.0
$20.00 (USD) -
Pamela Maya (2013) Rig for Maya 0.0.1
$20.00 (USD)