1
$\begingroup$

Selecting specific indexes for instances on points node.

I know a can use the Selection option on the Instances on Points node to choose the indexes to use, but how can I choose more than just two specific indexes. (I would like to choose the indexes 0,2,3,7,8,13,121)

The thing I've tried is boolean's and that seems to stop working after 2 indexes.

img1

Is there a list node where I could just type the numbers in to use that as the index selection?

$\endgroup$
4

2 Answers 2

3
$\begingroup$

As already mentioned, you could connect the output of the upper Or node to the input of the lower one. And you should connect the output of the lower Or node with the Selection input.

A completely different approach could be, to use a meshline object as a selection mask. In this example, I created a 1x10 grid, that I use as selection mask. If the z-position of one point is > 0, this means "on".

demo 1

demo 2

A second object has the following Geometry Nodes net attached.

node net

This instantiates 10 icospheres. Depending on the positions of the vertices of the input object, the icospheres are "turned on" or "off". The above mentioned grid is used as this input object.

$\endgroup$
2
$\begingroup$

You can select multiple indexes by feeding the next boolean node with the previous.

Selection by boolean comparisons with index

As far as my search goes, there's no lists in Geometry nodes. Maybe there's a hack workaround with python? I don't know until that moment.

$\endgroup$

You must log in to answer this question.

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