Showing posts from March, 2012


snapShot render your current frame result (which ever your seeing your viewer) as a .jpg file and re-load it automatically. Its using your script name, version and your current node   ( means selected node) name. create a directory called "snapShot"
on your nuke working directory and stores the snapShots into that DIR.

you can modify the snapShots destination DIR and file type as per your need.

( I really thank to Nicolas Houle and Frank Rueter for help me out to make this work )

Updated with new icon and custom input gizmo. Place the image gizmo, icon and on your custom nuke DIR. Replace line to make it work.



else copy paste below code as
Created on 26-Feb-2012
@author: satheesh
mail -

Thank to Nicolas to…

Keying with Expression Node in NUKE

Keying inside Nuke using "expression" node:

Green or Blue screen keying is a important task in compositing. Most off the artists (compositors) use any traditional keyer like Primatte, Keylight, UltraKeyer, IBK keyer etc... For complete the keying Task. Most-probably its the traditional way.
For more information about keyer tools:

What is happening while we play around (sliders) with above keyer tools. Some color math happening behind while we sampling the screen and adjusting the sliders for fine tuning the Alpha.

Why don't we play with those color math function to getting alpha?
Here is some example.. How to extracting the alpha channel from green or blue screen footages with some color math using nuke's "Expression" node.

1. Green screen:

expression: r*1.5/g*.9

work file:!251&parid=776F8351D9892B6A!133

2.Blue screen:



extractFrame is a python script for Nuke.
extractFrame grab out a single frame from your image sequence (input, footage, etc). Usually we add a "Frame Hold" node and give the value off which frame we need.

extractFrame pop-up a window, it will automatically carry the current frame, you can mention the frame which you want on the "which frame you want to extract" field or else it will automatically use your current frame.

Result while specify the frame no:

Result with out specify frame no:

Python file:

else copy paste below code as

''' Created on 01-Mar-2012 updated on 16-apr-2013 @author: satheesh.R contact: ''' import nuke ## creating panel def extractFrame(): curFrame = nuke.frame() ef = nuke.Panel("extractFrame..... by satheesh-R", 50) ef.addSingleLineInput("feed frame no to Hold:\n (this is your current frame)",cur…

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.

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 i…

Handling vector blur inside Nuke

How to use Motion vector Pass inside Nuke?

Many peoples struggled getting exact result inside Nuke using motion vector pass. (once me too..)

Here is the solution for that.

what is motion vector pass?
A 2D motion vector image describes the amount of movement that’s happening in a scene by using two luminance maps and combining them into one image.

For more information:

Render motionVector pass from Maya

Mental-ray have 2D motion vector export shader inbuilt. So go to create render passes panel and select "2D Motion Vector"
hit create.

Maya->Render Settings->Passes->2D Motion Vector.

choosing File format for rendering from MAYA

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

Enable float values for rendering

Usually MAYA render 8bit per channel as defau…