splinewarpcontroller

Usually when using the spline warp node, you have to go trough all the previous key frames of the source shape and replace the destination shape points. This script create a controller shape on wich you can add independent key frames.

Updated: 2 July 2022

Author: jordanboulais

Compatible Nuke versions: 11.0 or later

Compatibility:

Usually when using the spline warp node, you have to go trough all the previous key frames of the source shape and replace the destination shape points.


This script create a controller shape on wich you can add independent key frames. It is a third shape. The destination shape is the result of the source shape plus de difference of the controller shape with itself from the time it was created.

 

 

https://vimeo.com/726222965

 

 

-------------------------------------------------------------------

INSTALLATIONS STEPS

-------------------------------------------------------------------

 

Add splinewarpcontroller.py to your .nuke folder

 

then add the following line to your menu.py :

 

 

def addController():

  node = nuke.thisNode()
 
  controller_button = nuke.PyScript_Knob(
      'Create controller/destination shapes for selected curves',
      'Splinewarp Controller',
      'from splinewarpcontroller import splinewarp_controller\nsplinewarp_controller()'
  )
  controller_button.setFlag(4096)
  node.addKnob(controller_button)
 
 
nuke.addOnCreate(addController, nodeClass='SplineWarp3')

 

Sign in or register to download or rate.