renderSplines v1.1


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Lasse Hamann
This script will create a renderable spline overlay, similar to the overlay in the viewer.
Requirements:
10.0, 9.0, 8.0 or later
Linux, Mac, Windows
11 Oct 2016
446

renderSplines

 

This script will create a renderable spline overlay, similar to the overlay in the viewer.

 

Changelog

version 1.1 (2016-10-11)

  • added 'reduce streaking' slider to reduce lines over the screen that appear sometimes
  • node can now be copied and knobs still take effect
  • added a node label, stating the name of the selected roto node
  • removed filter pull down menu, it is now box filter by standard


How to install:

 

  1. go to your .nuke folder (usually located in ./User/userName/.nuke)

  2. paste the renderSplines.py file to the .nuke folder

  3. open your meny.py file with an editor

  4. paste the following into your meny.py file:

    import renderSplines_v1_1

    rsNuke = nuke.menu('Nuke')

    rsMenu = rsNuke.addMenu('Roto')

    rsMenu.addCommand('renderSplines', renderSplines_v1_1.main)



  5. save the meny.py and you should have a new menu when restarting nuke

    new menu

 


How to use:

 

  1. Select the roto node you want to create an overlay from.

  2. Select the shapes you want to have. (Press ctrl + A in the viewer to select all)

  3. Run the script by going to the new menu Roto > renderSplines

  4. A new node is created, in which you have control over color, size and filter type

  5. You can merge the created Overlay over the background plate or leave it

Example 1: different settings, box filter usually produces sharpest result

Example 1: different spline size & color

Example 2: the renderSplines merged over background

Example 2: the renderSplines merged over background

 


How does it work:

  1. Create a roto node for every shape in selected node
  2. Clone the shape and transformations into single node
  3. edgeDetect and erode the single node
  4. merge all nodes together + a colored constant
  5. copy and premult

 

 

 

Please login in order to download these files.

Comments   

 
+2 # Simon Jokuschies 2016-10-07 08:37
That is a pretty nice and handy tool, thanks for sharing :-)
 
 
0 # goodis t 2017-05-17 18:44
Great work! Is there any way to make it work together with roto shape opacity? It still outputs shapes, even though their opacity is zero. Cheers! :lol:

Edit: Ok sorry opacity was not the problem I think, it's that it doesn't take tracked roto shapes into consideration. It treats them as if they weren't tracked, which looks like boiling and missplacement in the end.
 

You have no rights to post comments

We have 2383 guests and 86 members online