Get 20% off a yearly membership to Outgang until July 31st! Click here or enter OUTGANG2022 at checkout with a yearly membership in your cart.

Programming in Substance Designer

Advanced, Practical

Description

This class demonstrates how to program with Substance Designer by building a Kuwahara filter. We cover:


  • Converting pixel positions to coordinates.
  • Set/Sequence Nodes.
  • Controlling graph flow and avoiding code spaghettification.
  • Installing and using the Outgang helper function library.
  • Building a Kuwahara filter from scratch.

Kuwahara filter code reference

Discussion

4 comments

  1. Christopher Rotter says:

    You create multiple sequence nodes as to loop over each pixel grid alot with alot of custom functions.

    I’d like to create something like this but not this Kuwahara filter. Do you have any filters you know off or a site ?

    1. All of the filters that come with Substance Designer can be inspected by pressing Ctrl+E. You can reverse engineer the code, which is how I learned a lot of things. It’s great to stimulate ideas as to how to do something new.

  2. Larisa Beliaeva says:

    It was fun! Thanks. Though, I think that it’s the great weakness of SD that it lacks proper for-loops, proper tools for iterative procedures, and the possibility to use a scripting language to shrink a bit these crazy nets of nodes.

    1. I remember Allegorithmic talking about the fact that they purposefully did not want to add for-loops because of the possibility of creating infinite loops and therefore locking up the computer. I get it, but it still sucks that there not there haha, it definitely impacts the creation of more advanced features.

Leave a comment