1
$\begingroup$

enter image description here

how to remove vertical lines . you need to leave only the vertical. geometry nodes

enter image description here

enter image description here

$\endgroup$
1

1 Answer 1

1
$\begingroup$

Dot product is useful here.

enter image description here

Dot product is used to get information about how mach one vector is aligned to the other.

Note that order of vertex may differ, so I've used two compare nodes, for up and down directions.

$\endgroup$
4
  • $\begingroup$ I tried to do as you said. It didn't work out ( $\endgroup$
    – Andrey Re
    Sep 1, 2023 at 12:12
  • $\begingroup$ attached screenshots from above $\endgroup$
    – Andrey Re
    Sep 1, 2023 at 12:13
  • $\begingroup$ you haven't connected second compare node $\endgroup$
    – Crantisz
    Sep 1, 2023 at 12:26
  • $\begingroup$ quick improvement: you can skip the normalize if the compare node is set to direction. you could also just use one compare node if you take the absolute vector [with the absolute operation in the vector math node]. then you get rid of two nodes. $\endgroup$
    – shmuel
    Sep 8, 2023 at 12:23

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