Working with UV pass inside NUKE

Working with UV pass inside NUKE

UV pass will allow you to re-texture surfaces and add some elements ( like text, batches, picture frame ) later in the compositing stage. Here i place my name on the surface and apply motion blur inside nuke.

Creating UV pass inside MAYA:

Maya 2012 have inbuilt UV render pass.Open up render settings under Passes tab select create render passes and choose UVpass and add.

Maya->Render Settings->Passes->UVpass



If you want to create custom UV pass Follow below link.

http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=13481445&linkID=9242258



Enable float values for rendering

For render UV pass from MAYA you must change your colour bit depth from the standard RGBA 4x8Bits per channel to RGBA (Float) 4x32 Bit (full float).

Open up your 'Render Settings' and at the bottom of the 'Quality' tab change the 'Date Type' to 'RGBA (Float) 4x32 Bit.



choosing File format for rendering from MAYA


UV passes contain infinite values so you can't store UV passes on clamped image formates, such as .jpg, .tga etc. So we need to use image format like .exr which can store float values.


Render your images as .exr sequances from MAYA.


stMap tool in NUKE:

stMap node use UV pass information for re-project your texture on your surface inside Nuke. Also you can place what ever you want on your surface.


Here i add my name on top of my object using UV pass and apply motionBlur using "vectorBlur".

For working with "2D motion vector" inside NUKE follow below link:
http://satheeshnuketutorials.blogspot.in/2012/03/handling-vector-blur-inside-nuke.html


Import you footage in to Nuke and add "stMap" node connect it separately.

stMap-> your UV pass
     src-> your custom object (my case Text)




Dealing with stMap:

On stMap node set UV channel none to your custom UV channel and color channel all to rgba.
Composite stMap result to top off your color channel using "Merge" node.










Applying Motion Blur:

Apply motion blur using vector blur Node.

for more information dealing with vector blur: 
 http://satheeshnuketutorials.blogspot.in/2012/03/handling-vector-blur-inside-nuke.html


Motion blur applied result.









Hope this page help you.

software used: Maya 2012, Nuke 6.3v6.

source files:
UV pass: https://skydrive.live.com/redir.aspx?cid=776f8351d9892b6a&resid=776F8351D9892B6A!252&parid=776F8351D9892B6A!133
Nuke comp file: https://skydrive.live.com/redir.aspx?cid=776f8351d9892b6a&resid=776F8351D9892B6A!253&parid=776F8351D9892B6A!133

Popular posts from this blog

2D Volumetric rays in nuke

Nuke workFlow optimisation TIPS

Export Maya camera and Objects to Nuke