Skip to main content
Inspiring
Jun 23, 2023 12:47 PM UTC
Answered

Can't make while loop node do anything beyond that simple "10" example.

I tried to recreate  the blur  from this tutorial https://youtu.be/Ggoy8G90oDI?t=300

And see nothing.   Could somebody show me what I did wrong  in attached sbs

 

Can I do something like slope blur with it?  I think I understand the concept of loop  but  nothing I tried  really working .

This topic is closed to new replies. Start a new post to keep the conversation going.
davescm
davescmCorrect answer
Community Expert
Jun 23, 2023 11:18 PM UTC

There are three errors in your graph

1. You have a GetFloat in the middle which feeds a 'Greater than or Equal' node to test for i value, set to get 'aa' - this should be set to get 'kernel_size'

2. and 3. Both While Loops have their maximum iterations set to 32. They need to be at least 128 each so that the loop can reach the kernel_size of 128

 

Now that you have that working you can adjust your function to sample how you want it to work

 

Dave

 

7 replies

davescm
Community Expert
davescmCommunity ExpertCorrect answer
Community Expert
Jun 23, 2023 11:18 PM UTC

There are three errors in your graph

1. You have a GetFloat in the middle which feeds a 'Greater than or Equal' node to test for i value, set to get 'aa' - this should be set to get 'kernel_size'

2. and 3. Both While Loops have their maximum iterations set to 32. They need to be at least 128 each so that the loop can reach the kernel_size of 128

 

Now that you have that working you can adjust your function to sample how you want it to work

 

Dave

 

Translate
kirkr5689Author
Inspiring
Jun 23, 2023 11:25 PM UTC

Thank you Dave.

 

Translate
davescm
Community Expert
Community Expert
Jun 23, 2023 11:28 PM UTC

You're welcome 🙂

Dave

Translate