You can use repeat zones blender to loop nodes and run them several times. This is different from just copying a node, because you can choose how many times you want to repeat it, even when the node group is already working. For example, you could make a building generator that repeats the nodes based on the number of stories in the building.
To create a repeat zone, you need two nodes that mark the start and end of the zone. The Repeat Input node takes the inputs that you want to loop and passes them to the nodes inside the zone. The nodes inside the zone can modify the inputs and send them to the next loop. This happens as many times as you specify.
You can also connect other nodes from outside the zone to the nodes inside the zone. These nodes will have the same value for every loop based on the current frame. But if you want to connect the outputs of the zone to other nodes, you have to use the Repeat Output node.
Main Use of Repeat Zone Blender
Repeat zones are a way to make node chains shorter and more flexible by looping them. You can use repeat zones for many things, but they are not very fast when they have to do a lot of things at once. We are working on better ways to do that.
Repeat zones are like simulation zones, but they don’t care about time. They always do everything in the current frame, while simulations only do one thing per frame.
Create Geometry Nodes
- Select the object that you want to apply geometry nodes to.
- Click on the New button in the modifier settings to create a new node tree.
- Open the Geometry Node Editor by clicking on the icon next to the node tree name or by switching to the Geometry Nodes workspace.
- Use the Add menu or press Shift + A to add nodes to your node tree. You can connect nodes by dragging the sockets from one node to another.
- Adjust the node settings and inputs as needed. You can also use attributes to store and manipulate data in your geometry.
Add Repeat Zone
To add a repeat zone, go to the Add menu and choose Utilities > Repeat Zone. This will add two nodes: Repeat Input and Repeat Output. The repeat zone blender is defined between these two nodes. Connect the inputs that you want to loop to the Repeat Input node. You can also specify the number of iterations in this node.
We need to select random faces from the geometry, so add a separate node. add a random value node and change it to Boolean, connect the selection socket to separate geometry selection.
so it will randomly select some faces.After selecting the faces we need to subdivide the mesh so add subdivision mesh.Choose how many times we want to.Subdivide the mesh in the levels. Join the subdivided mesh and the non subdivided mesh. Connect it in the repeat zone.
In the repeat input, select number of iterations. We want to subdivide the mesh. This is how repeat Zone blender 4.0 have solved the problem of solving the problem in duplicating node groups.
Extrude, Scale Elements
After adjusting number of iterations, we need to extrude the mesh. So, add a extrude mesh. We want to scale it in random. So, add a random value. Change some values in min and Max values. We need to scale extruded top faces. So, add a scale element increase the scale. This is how we have created abstract. Repeat Zone blender project.
Shading and lighting for this Repeat Zone blender project is very simple, just add a principled BSDF node. Increase the roughness a blue color have some transmission. Increase the Subsurface Scattering to have the Edge Soft effects. For lighting, it has only one single area light. The area light is very big so, we have a soft shadow. Create a beautiful blue studio background, Hit render.
This is how we use Repeat Zone in geometry nodes.