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
9.0, 8.0, 7.1, 7.0, 6.3 or later
Linux, Mac, Windows
18 Jul 2015
595
This Python Script creates a CornerPin node in Nuke using the
transform_matrix knob to store animation data of a given CornerPin node.
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
made my day.
import animated_corner pin_to_matrix
m=nuke.menu('Nuke')
n=m.addMenu('Scripts')
n.addCommand('CornerPinToMatrix', 'animated_corner pin_to_matrix.animatedCP2MTX()', icon='CornerPin .png')
RSS feed for comments to this post