Convert cam normals to world normals, world normals to cam normals, and compute facing ratio.
convert normal
Updated: 1 December 2015
Author: simorlabrasse
Compatible Nuke versions: 6.0 or later
Compatibility: Linux, Mac, Windows
This gizmo converts a normal pass to an other camera to world, world to normal.
It also compute the facing ratio.
The check box Cumpute angle of view make the gizmo consider the focal of the camera.
######
To install :
Copy the 'convert_normal.gizmo' in your .nuke folder or any folder read by nuke at startup
add this line to your 'menu.py' :
nuke.menu( 'Nuke' ).addCommand( 'myMenu/convert normal', 'nuke.createNode(\'convert_normal.gizmo\')' )
Of course, you can change 'myMenu' by the menu name you want.
Thanks !
If you have any question, just ask !