How do I create a face from multiple seperate vertices in geo nodes (like pressing F in edit mode)

I am trying to make a stained glass geo node effect in Blender. I have a plane that I have distributed points across (labeled number 1 below).

I want to connect these vertices into one big face, then triangulate it to create the different sections of glass. In edit mode this is easily achieved by selecting all the vertices and pressing F (2):

Then pressing “Ctrl + T” to Triangulate Faces (3):


How do I do this automatically using geometry nodes? I am pretty sure I can do the third step using the Triangulate node, but how to I create the face from points in the first place?

Alternatively, is there an easier way to add connections like this automatically between vertices?

Well, I’m sure what you want to do is somehow possible but it looks quite complicated to get there…

What you can do is to start with a grid, and use merge by distance to get a triangulated plane :

you can then use the proximity to some point to extract a shape…

This would probably requires more work to be useful but it’s a starting point…

In the end, there are many ways to get to the same result, it’s not enough to find an algorithm but it also need to be simple with the given tools…

1 Like

Thank you that’s definitely helpful.

Quick question: I copied your node setup, but in my file the triangles are very uniform and repetitive, while yours are more random and uneven which is closer to what I want. As far as I can tell I used the same values as you. What am I missing?

1 Like

Oups ! I tried with blender 3.1 by mistakes and it looks like they changed the merge by distance in the meantime…


This helps to get more chaotic shapes, and the second merge by distance gives another kind of pattern

and another way to get that broken pattern :

have fun !

1 Like