Hello everyone
This is my first post, exactly a question.
JeanMarc here same question on Blender Stackexchange suggests to me to find in blenderartists’ forum.
'm drawing an agroforestry design, a specific and precise row plantation, with a certain complexity, with more than one kind of plant, with specific pattern of distances between each kind of tree.
I would do this with geometry-nodes because I need to change the pattern for each plantation row, and to draw the work in progress.
I managed to use resample curve
and instance on points
to organize the plantation with a even precise distance between the trees.
Different distances is more complex to obtain.
Curve addon
with the function Multisubdivide
is maybe what I want, but is not procedural, it is destructive.
Maybe with sample curve
and curve to points
.
I’m going to try different creative solution with these nodes, but if someone has some advice I’d love it!
as e.g. you could use this node setup, to change every 2nd position of your points like this:
of course you could change the calculation to your needs - and i have no idea what exactly needs you have
Welcome.
You can use this curve packer as your starting point:
There are plenty of other goodies related to your requirement in that tread… have a look.
Good luck.
thank you
It seems a great work. But I’m lost in that complexity.
I think for my purpose the easy solution is to calculate the index values. For example for a length of 39 meters, I would this pattern SBSSSSSSBSSSSSSBS (S=small tree, B=Big tree), s-s 2 meters, s-b and b-s 2.5 meters, so the progression of distances is 2-4.5-7-9-11-13-15-17-19.5-22-24-26-28-30-32-34.5-37-39.
If I choose as minimum distance for the calculation the 0.1 meters of lenght, the progression of index is 19-44-69 and so on.
How could I give to ՛selection՛ this “array” of index values?
I use the word “array” because I know and I love R script.
Forget R. R is imperative. GN is SIMD. R will not help you here… more likely it will hurt you.
Maybe learn to know and love something SIMD, like GLSL, then come back to GN.
Replace the Instance Index Select section with a Index Switch:
Good luck unlearning R, sorry.
Thank you.
Interesting Index Switch.
What do you think about use of repeat zone
and switch
nodes!
Today I haven’t time to try, so before the day I’m going to try I ask in this forum the availability of this idea. Thank you for some advice
Repeat Zone you use when you find yourself cutting and pasting rows of node-groups. For Each Element you use when you find yourself always deleting all geometry except one element inside a Repeat Zone.
Unfortunately for you, neither are a crutch for imperative thinking.
Thanks everyone, and above all zeroskilz.
It’s difficult to me to understand some nodes.
So I decided to use Multi index Selector
from Blender Market, and calculate the indices from a common spreadsheet.
Now I’m able to create agroforestry rows very complex, as the one that I attach, with 4 types of trees and different distance.