• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Workflow to handle loops, multiple outputs, sequences?

Community Beginner ,
Jan 27, 2024 Jan 27, 2024

Copy link to clipboard

Copied

I have a set of 12 images, I'd like to do edits on these images in Designer, and output 12 new images. Each image has the same set of adjustments done to it, ie. the set of nodes is the same exept for the input and output. You can see the pattern in the attached image.

Screenshot 2024-01-27 095138.png

 

The problem I find is that if I want to add an extra node, I need to do it 12 times.

 

Is there a workflow in Designer to handle loops? I'd like to have set of filters that processes a set of inputs in a for-each kind of way, where each input has a unique output.

 

Thanks!

TOPICS
Import & Export , Scripting

Views

59

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jan 27, 2024 Jan 27, 2024

Loops and sequences exist within function graphs, but the easy way to overcome your issue in node graphs is to build the material with two graphs and use instancing.

In the first graph put the repeating elements and give it an input and output.

In the second graph (which will have your main material inputs and outputs) drag and drop the first graph which will now appear as a node. You can repeat this as many times as you need it.

Updating the first graph will update all instances used in the sec

...

Votes

Translate

Translate
Community Expert ,
Jan 27, 2024 Jan 27, 2024

Copy link to clipboard

Copied

Loops and sequences exist within function graphs, but the easy way to overcome your issue in node graphs is to build the material with two graphs and use instancing.

In the first graph put the repeating elements and give it an input and output.

In the second graph (which will have your main material inputs and outputs) drag and drop the first graph which will now appear as a node. You can repeat this as many times as you need it.

Updating the first graph will update all instances used in the second.

 

Dave

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 27, 2024 Jan 27, 2024

Copy link to clipboard

Copied

LATEST

Thanks @davescm this makes sense!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines