# Secrop's Cycles "Loop" node

**URL:** <https://blenderartists.org/t/secrops-cycles-loop-node/689357>\
**Category:** Materials and Textures\
**Created:** [May 9, 2017, 6:03am UTC](https://blenderartists.org/t/secrops-cycles-loop-node/689357 "2017-05-09T06:03:09Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![Anubisbis](https://blenderartists.org/user_avatar/blenderartists.org/anubisbis/32/460372_2.png) [@Anubisbis](https://blenderartists.org/u/Anubisbis)\
**Post date:** [May 22, 2018, 5:06pm UTC](https://blenderartists.org/t/secrops-cycles-loop-node/689357/21 "2018-05-22T17:06:12Z")

</div>

Hi and congrate for this job ! Your topic make me crazy, I have many ideas. I have one question :  
Is it possible to include loop in loop ?

---

<div class="post-metadata">

**Author:** ![Secrop](https://blenderartists.org/user_avatar/blenderartists.org/secrop/32/20093_2.png) [@Secrop](https://blenderartists.org/u/Secrop)\
**Post date:** [May 23, 2018, 4:08am UTC](https://blenderartists.org/t/secrops-cycles-loop-node/689357/22 "2018-05-23T04:08:00Z")

</div>

> [@Anubisbis](#):
>
> Hi and congrate for this job ! Your topic make me crazy, I have many ideas. I have one question :  
> Is it possible to include loop in loop ?

Theoretically, yes. You’ll need at least to encapsulate the inner loop in a nodegroup with a _ **iterator** _ input socket and setup the other sockets accordingly… Note that this might reach the nodes limits quite easy, so try to keep the iteraror count to acceptable values.

---

<div class="post-metadata">

**Author:** ![Anubisbis](https://blenderartists.org/user_avatar/blenderartists.org/anubisbis/32/460372_2.png) [@Anubisbis](https://blenderartists.org/u/Anubisbis)\
**Post date:** [May 23, 2018, 9:01am UTC](https://blenderartists.org/t/secrops-cycles-loop-node/689357/23 "2018-05-23T09:01:50Z")

</div>

Yes it works! ahah! soooo good ! Now I will transfert some process from animations node to cycles node ! Just THANKS for this powerfull script !

---

<div class="post-metadata">

**Author:** ![CarlG](https://blenderartists.org/letter_avatar_proxy/v4/letter/c/aca169/32.png) [@CarlG](https://blenderartists.org/u/CarlG)\
**Post date:** [May 25, 2018, 8:01pm UTC](https://blenderartists.org/t/secrops-cycles-loop-node/689357/24 "2018-05-25T20:01:05Z")

</div>

Ricky; that particular pattern doesn’t require iteration. Here is a quick and dirty one I setup in a few minutes that is basically two stripe patterns at different angles where every n’th stripe has a diffferent math(power). I’m using a few custom helper math nodes, but you get the idea. I also vary the width of each slightly using some noise.

 ![lozenges_pattern](https://blenderartists.org/uploads/default/original/4X/7/9/a/79a3efef7cdef8482a92f916b5e7471ae6b939e1.jpg)

As for the iteration node, where is it? The link above seems dead/private to me.

Why does some of my png screenshots transform into jpg’s?

Edit: Actually, squeezing coordinates then rotating them 45°, feeding that into two brick textures of different settings and adding/whatever them together works just as good. No need to do the messy stuff I did above. Feeding a third brick with no mortar into a noise, you can also get random texture coordinate per tile if you want.

[Previous page](https://blenderartists.org/t/secrops-cycles-loop-node/689357.md?page=1)
