splinewarpcontroller v1.0


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Jordan Boulais-Richard
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.
Requirements:
13.1, 13.0, 12.2, 12.1, 12.0, 11.3, 11.2, 11.1, 11 or later
02 Jul 2022
49

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')

 

Please login in order to download these files.

Comments   

 
0 # Gorka Pascual 2022-07-11 03:58
This is great! Thank you!
 

You have no rights to post comments

We have 2562 guests and 143 members online