1
$\begingroup$

I have a mesh with a single edge/two vertices, which I've added a point instance geometry node instancing the "circle" mesh.

enter image description here

What's the most practical way to change the amount of circles being instanced? Let's say I wanted to animate that there's 2 circles, then 3, then 4, then 5...

Using the subdivision surface node doesn't work because it doesn't just add single points, but subdivides the generated edges.

Using point distribute just doesn't work... unless I'm doing something wrong, it seems to only work on faces, not single edges.

$\endgroup$
1
  • 1
    $\begingroup$ Use mesh to curve then curve to point then point instances $\endgroup$
    – ss ss
    Commented Dec 11, 2021 at 15:23

3 Answers 3

4
$\begingroup$

In Blender 3.1. geonodes you can convert mesh to curve, then resample curve and put "Circles" along it with "Instances On Points" node.

If you want to make "Circles" appear one by one along curve, you should play with "Endpoit Selection" node.

enter image description here

But the most practical way to get the same effect is to use array modifier instead of geonodes. This way works in all versions of blender. And you need not to use single edge to do that.

enter image description here

So you should use array if you have just one single edge going along x axis. But your question became more reasonable for me if you have some geometry object with intresting shape and if you need to place your "Circles" along detached edges of this object.

In this case you will need a bit more complex node setup. In the example below i use "Curve To Points" node to rotate instances along edges. And i use "Not" boolean math node to invert selection, for remooving "Circles" near ends of the edges. And i have to use "Capture Atribute" node, because "Curve To Points" node prevent me to apply "Endpoit Selection" node directly to the "Instances On Points" node, because instances in this case are placed on the points but not on the curve.

enter image description here

$\endgroup$
2
  • $\begingroup$ All this is possible in 3.0, too? $\endgroup$
    – Robin Betts
    Commented Jan 18, 2022 at 11:13
  • 1
    $\begingroup$ Yes, there are no nodes specific to 3.1 $\endgroup$
    – Crantisz
    Commented Jan 18, 2022 at 11:18
2
$\begingroup$

you can use this setup:

enter image description here

and keyframe the count, then you will get:

https://youtu.be/8Ftlse3fn2Y

$\endgroup$
2
$\begingroup$

Similar to Chris' answer, if you use Line set to End Points, objects will be instanced between the start and end points, rather than extend in the direction set in Offset.

enter image description here

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .