3
$\begingroup$

Using Geometry nodes, I wanted to invert my selection. I'm not sure if I'm using the correct node for this purpose but it won't let me plug the node as seen on the image below:

reference node

For my current use case, I could probably get away with the following setup:

reference image, workaround

but I wanted to know how to invert selection for when the need arises.

I tried to search for [blender "geometry nodes" "reverse selection"] and [blender "geometry nodes" "invert selection"] but nothing came out useful.

ADDENDUM:

Hi Chris, thanks for your answer, it directly answered the title of my question. But I want to expand this a bit more. Here's why:

If I cascade two Triangulate nodes, it produces this:

ref image, cascaded triangulate

In effect, It retained the integrity of the whole geometry.

While using Separate Geometry, it broke my geometry into two:

ref, using separate geometry

In effect, I lost some of the details of my input geometry:

ref image, comparing results

I'm pretty sure I used the wrong node (the Separate Geometry Node) which I mentioned in my initial question because that's the only node that I had in mind. But, if I wanted actually reverse the selection of my previous node without actually separating the two geometries, how would I do that?

$\endgroup$

1 Answer 1

5
$\begingroup$

Selection as Input is a boolean value (you can determine it by its pink color).

The green color indicates that it is geometry. So maybe "Selection" is not the best word here for the outputed selected geometry, but that's what it is: selected geometry.

Here an example:

enter image description here

I seperate (divide) the geometry into two parts.

The selected part (selection) where z > 0 which will be red. The inverted geometry where z < 0 which will be green.

Hope this makes it clear.

$\endgroup$
5
  • 1
    $\begingroup$ hi Chris, once again, thanks for the answer. I updated my question to make my intention clearer :) $\endgroup$
    – Sophia
    Commented Mar 28, 2022 at 5:31
  • 1
    $\begingroup$ i am not totally sure what you want to achieve? did you try "face" instead of point in separate geometry node? is that what you want? i.sstatic.net/5Lddc.jpg $\endgroup$
    – Chris
    Commented Mar 28, 2022 at 5:39
  • 1
    $\begingroup$ oh wow, yeah i missed that one 🤣 thanks again Chris! :) $\endgroup$
    – Sophia
    Commented Mar 28, 2022 at 6:16
  • 1
    $\begingroup$ @Sophia Since Selection is a boolean value as Chris pointed out, another possibility would be to invert the result of the Greater Than output directly: use the Utilities > Boolean Math node set to "Not". This inverts the boolean selection so that you can plug it in any Selection input if it is needed. $\endgroup$ Commented Mar 28, 2022 at 7:18
  • $\begingroup$ Thanks Gordon, I will give that a try :) $\endgroup$
    – Sophia
    Commented Mar 28, 2022 at 22:47

You must log in to answer this question.

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