animated cornerpin to matrix v1.1


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: egbert reichel
Get a 4x4 Transform Matrix of an animated Cornerpin2D node for a selected frame range.
Requirements:
9.0, 8.0, 7.1, 7.0, 6.3 or later
Linux, Mac, Windows
18 Jul 2015
153
This Python Script creates a CornerPin node in Nuke using the
transform_matrix knob to store animation data of a given CornerPin node.
It will help distributing animated CornerPin data for example from Mocha to all sorts of nodes like,
'Gridwarp', 'SplineWarp', 'Paint and Roto' nodes without the need to attach a cornerpin underneath each instance.
 
This is based on Ivan Busquets explanations on using the nuke.math python module to do matrix operations and Pete O'Connell's 'cornerpin_to_matrix' conversion method, with added functionality to convert animation data at a given timeframe.
 
To access this script inside nuke, you can add the following lines to your init.py and menu.py file accordingly.
 
init.py: 
nuke.pluginAddPath( './scripts' )
or
nuke.pluginAddPath( './python' )
or any other name of the folder you store the script in.
 
 
menu.py
m=nuke.menu('Nuke')
n=m.addMenu('Scripts') #'Scipts' is the name of the menu entry and can be any other name you like.
n.addCommand('CornerPinToMatrix', 'animated_cornerpin_to_matrix.animatedCP2MTX()', icon='CornerPin.png')
 
 
 
 
 
Please login in order to download these files.

Comments   

 
# Mohan Pugaz 2015-10-13 04:28
Awsum!.. Very Usefull.. Thanks a lot
 
 
# Falk Hofmann 2016-01-28 11:49
thanks Egbert,
made my day.
 
 
# Christian Moreton 2018-11-21 22:00
Hi Egbert, I'm not getting a result from this script when I run it through script editor, I have a corner pin node selected. What am I missing?
 

You have no rights to post comments

We have 2506 guests and 70 members online