SetLoop v1.4


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Max van Leeuwen
Loop nodes - an iterator/for each loop/solver for Nuke
Requirements:
11.0, 10.5, 10.0, 9.0, 8.0, 7.1, 7.0, 6.3, 6.2, 6. or later
Linux, Mac, Windows
17 Mar 2019
490

example_1example_4

(Examples of a Mandelbrot set render, and Reaction Diffusion - made using SetLoop)

 

 

SetLoop

 

SetLoop is a toolset for Nuke that can loop a set of nodes a specific amount of times (like a for each loop, an iterator, or a solver).
It basically copies the nodes you place between Loop_Begin and Loop_End inside Loop_End (which is a group), and reconnects them. But there are many more features to it which, combined, make this an actually functional image solver that can render fractals (like the Mandelbrot set) and animated reaction diffusion entirely in Nuke.

 

 

Node graphNode properties

 

 

Features

 

  • relink
    external inputs if nodes in the loop are connected to nodes outside the loop, this will make sure they are relinked automatically by adding exra inputs to Loop_End to which the nodes connect (this is enabled by default, as it does not change anything if no external inputs are present)

  • relink
    external expressions for all expressions referencing nodes which are not part of the loop, this will make sure to add 'parent.' before every nodename and replace 'parent.' with 'root.' for every node not being looped

    - this way, they'll still be connected from inside the group (this is disabled by default, as it could mess up expressions if user variables have the same name as nodes)

  • add loop count knob
    the nodes inside the loop will get an index count knob ('loopcount' (int)) which can be used to create different values or random seeds for each loop iteration

    - the original nodes (the ones in the backdrop in the main graph) will also get this knob, with index 0 (this is disabled by default, as it interferes with all nodes in the loop)

  • offset
    offset the loop count knob (0 by default)

    - only available when 'add loop count knob' is enabled

  • loops
    amount of loops to create

  • method
    'sequential' loops like an iterator, 'parallel' creates multiple instances of the same input and merges them together when using 'parallel', make sure to add a random value to an expression or to use the 'add loop count knob' for visible results ('sequential' is the default, as this is a more commonly used loop)

  • set
    bake/clear the loop

  • scroll
    animate the loop level

  • invert
    invert the direction of the scroll

    - only available with method 'parallel'

  • blend
    blends the loop levels when scroll is not a round number

  • spread
    feather the loop levels

    - only available with method 'parallel' and 'blend' enabled

  • stats
    current stats

  • [tab] constants
    room for user knobs that can be referenced to from inside the loop (e.g.: 'constant_float')

 

 

 

Please send me suggestions, bug reports, and other feedback!
Contact me using this link.
I'd love to know if you created something cool with this.

See my website (maxvanleeuwen.com/setloop) for more information/examples!

 

 

 

Installation:

 

1. Place the SetLoop folder in your .nuke folder (or somewhere else on your computer)

2. Go to your .nuke folder, and create a file called 'init.py'. If such a file already exists, open it.

3. In the init.py file, add this line of text to the end and save it:

 

nuke.pluginAddPath('./SetLoop')

 

 

If you want to place the folder somewhere else than in the .nuke folder, make sure to change the path in the init.py file so that it points to that other path instead!

 

 

 

Installation using NukeShared:

 

1. Place the SetLoop folder in the '_AutoInstaller' repository.

 

NukeShared is a way of installing plugins by dragging/dropping them in folders, see my website (maxvanleeuwen.com/nukeshared) for more information.

 

 

 

Updates

 

v1.4

Fixed nodes connecting to other invisible nodes
When installed, examples are included in the ToolSets menu
Improved installation

v1.3

Fixed expression relinking issue
Added warning when backdrop is not found, removed Nuke version check
Tested on Linux
Added more types of variables to the 'Constants' tab

v1.2

Added new method for looping ('parallel'), fixed compatibility with Nuke 11 (pyside2), added stats.

v1.1

Fixed a bug, cleaned UI, better tooltips.

Please login in order to download these files.

Comments   

 
+1 # Adrian Pueyo 2017-07-22 21:52
This is great! Thanks for sharing
 
 
# Max van Leeuwen 2017-08-01 12:08
Thanks! Glad you like it :)
 
 
+1 # Sven Akelian 2017-10-09 10:19
How could I miss that one!

Amazing idea and pretty reactive ( see what I did there ;) )
 
 
+1 # Mads Hagbarth Damsbo 2018-01-28 09:37
Why did i not see this before?
 

You have no rights to post comments

We have 2386 guests and 93 members online