random pick points

   14477   3   0
User Avatar
Member
111 posts
Joined: Dec. 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
8582 posts
Joined: July 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
FX Supervisor
Method Studios, NY
User Avatar
Member
111 posts
Joined: Dec. 2008
Offline
nice and simple, thank you very MUCH!
User Avatar
Member
51 posts
Joined: May 2019
Online
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 - Feb. 14, 2023 14:40:00

Attachments:
group_range.png (160.7 KB)

3D Generalist. Transforming 2D images to 3D animations.
Socials: https://linktr.ee/AnimGraphLab [linktr.ee]
  • Quick Links