Select in Group via Expression

   4011   2   2
User Avatar
Member
229 posts
Joined: May 2006
Offline
Hi

i guess the answer for my question is quite simple, but i have'nt found any.
I've selected a piece of geometry using a bounding box, now i want to select some points inside the Group using a Expression.

… one way to do it is creating a new selection using the Expression and doing a logical Intersection “And”.

but this seems to me quite slow since its checking all Points against the Expression and then doing a “&&” with my boundingbox selection

Is there a way to tell Houdini that he only have to check the Expression inside the selected points ??

thx
Sebastian
User Avatar
Member
54 posts
Joined:
Offline
did you try creating two groups, one with the bbox, one with your expression, and then intersecting them using the combine tab? maybe this is faster

if speed is critical you can also do this with a vop sop
User Avatar
Member
321 posts
Joined: July 2005
Offline
Infernalspawn
Hi

i guess the answer for my question is quite simple, but i have'nt found any.
I've selected a piece of geometry using a bounding box, now i want to select some points inside the Group using a Expression.

… one way to do it is creating a new selection using the Expression and doing a logical Intersection “And”.

but this seems to me quite slow since its checking all Points against the Expression and then doing a “&&” with my boundingbox selection

Is there a way to tell Houdini that he only have to check the Expression inside the selected points ??

thx
Sebastian
The problem is that the SOPS by default process all points unless you specify just a group to act on. The group SOP does not, iirc, have a group specifier field at the very top of the parameters dialog. Thus, it is going to evaluate each point for each condition, one of which happens to be an expression, whose bounds are unknown until tested.
– Antoine
Antoine Durr
Floq FX
antoine@floqfx.com
_________________
  • Quick Links