random pick points

   16827   3   0
User Avatar
Member
111 posts
Joined: 12月 2008
Offline
hi every body:
I have a simple problem in recent work.

Is it possible to randomly select 10 points on a mesh at each frame in Houdini? I think it is may be simple, but I can not work it out, hope someone helps. ops:

please.
User Avatar
Member
9687 posts
Joined: 7月 2007
Offline
use Sort SOP with random mode and seed $F
then just select first 10 points by Group SOP (pattern 0-9, point mode)
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
111 posts
Joined: 12月 2008
Offline
nice and simple, thank you very MUCH!
User Avatar
Member
67 posts
Joined: 5月 2019
Offline
Alternatively, you can use a Group by Range SOP and play around with a range filter. Possibly also to change it on every frame ($F) and something else.
Edited by AnimGraphLab - 2023年2月14日 14:40:00

Attachments:
group_range.png (160.7 KB)

Generalist.
Socials: https://linktr.ee/AnimGraphLab [linktr.ee]
  • Quick Links