Home Adobe Substance

repeating node chains/ loops like inside slope blur?

gnoop
sublime tool
Offline / Send Message
gnoop sublime tool
Does anyone knows a simple way of doing  repating  chains  of nodes  with a parameter  how  many times I want to repeat.     I am trying to do a slope blur with more than 32 shifting and each shift takiing each own vector/direction and it's a hell of a tedious job.    In "Filter forge" for example there is a "loop" node  you can connect  to another one and it  could repeat what it does  a number of times you want .          Is it possible somehow with new "value" nodes now?

Replies

  • poopipe
    Offline / Send Message
    poopipe grand marshal polycounter
    There is no straightforward looping in designer. Its disabled so that idiot users don't provoke infinite loops and explode their GPU.

    You have three options. 

    Work out a way to reduce the node count - pack 2-4 iterations into a node and repeat that.  You can quickly reach 32 like that

    Or

    Use automation toolkit to generate your graph 

    Or

    Apply cunning .  You can abuse the fact that a pixel processor is basically a loop over an array for certain operations.  I'm not sure it'd be less work to do in this case than building the 32 interactions by hand though
  • gnoop
Sign In or Register to comment.