Hi! I'm trying to invert a group I made based on normals, I'm trying to find an expression that would allow me to do that either in VEX or in HScript but for the moment I haven't found anything...
is there a node or expression to do this?
Cheers
Lv
Invert a group in Houdini 19.5 ?
359 1 1- LouisV
- Member
- 1 posts
- Joined: April 2020
- Offline
- viklc
- Member
- 143 posts
- Joined: May 2017
- Offline
Hi,
there is a group invert sop.
Or use this snippet in wrangle:
or
"@group_" is predefined to indicate that it is a group attribute. Followed by the actual group name.
EDIT:
Group Invert Sop is new to H20. So you can use then the group expression sop:
Or an "additional" group sop in which you can negate the existing group:
there is a group invert sop.
Or use this snippet in wrangle:
if (@group_my_group) @group_my_group = 0; else @group_my_group = 1;
@group_my_group = 1 - @group_my_group;
"@group_" is predefined to indicate that it is a group attribute. Followed by the actual group name.
EDIT:
Group Invert Sop is new to H20. So you can use then the group expression sop:
Or an "additional" group sop in which you can negate the existing group:
Edited by viklc - March 27, 2024 16:18:37
-
- Quick Links