aachman98 / Sorcar

Procedural modeling in Blender using Node Editor
https://aachman98.itch.io/sorcar
GNU General Public License v3.0
1.16k stars 112 forks source link

Improvements in For-Each loop node #74

Closed aachman98 closed 4 years ago

aachman98 commented 4 years ago

Sir,I have a new 2.81 question,I don' know how to use Randomized size in each loop. QQ截图20191128184327 QQ截图20191128184551

And I follow image in BlenderArtist: 1fb7c771088d73a4203294835d4ac2be2ff7c81f

Originally posted by @huiyao8761380 in https://github.com/aachman98/Sorcar/issues/72#issuecomment-559448876

aachman98 commented 4 years ago

@huiyao8761380 The image that you are following is of v2. The previous version of For-Each node was specifically designed to iterate through selected faces of the input mesh. But the new node takes any array as input and iterates through each element. In order to randomly resize the faces, simply get the array of selected faces using "Object Info" node. image

I will be improving the node in the future as component indices tend to change.

aachman98 commented 4 years ago

Improve loop nodes

aachman98 commented 4 years ago

For-Each Component Loop

aachman98 commented 4 years ago

Added "For-Each Component" loop nodes in commit: f9a8977f08a683110ff498c0dd1f512a22d446db