+6
Completed

Add a loop node with loop counter

msperling 10 years ago updated by Freya Holmér (Developer) 10 years ago 5
For long term development of SF it might be interesting to add a loop node to the editor. This should help the guys and gals that keep asking for post processing capabilities.
The node could contain an enumerator to select between for and while loop.
Furthermore it should contain a loop counter, an end condition and of course an input node that contains the part of the graph that gets looped.

It might be interesting to add this feature for other purposes, too. For example to evaluate multiple light sources in a custom lighting shader.

In general loops are alot more programmer oriented stuff. So this feature might never make it into SF.

Answer

Answer
Completed
Since this is now possible using the code node, I'm closing this :)
Planned
I have given this some thought before I started working with SF, and it it something I would like to do. However, it will most likely be in the form of a custom code node, where you can inser whichever code you like :) (At your own risk)
Planned
I have given this some thought before I started working on SF, and it it something I would like to do. However, it will most likely be in the form of a custom code node, where you can inser whichever code you like :) (At your own risk)
Planned
I have given this some thought before I started working on SF, and it is something I would like to do. However, it will most likely be in the form of a custom code node, where you can insert whichever code you like :) (At your own risk)
Agree with him a loop node is very important.
Answer
Completed
Since this is now possible using the code node, I'm closing this :)