random pick points

   16924   3   0
User Avatar
Member
111 posts
Joined: 12月 2008
オフライン
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
9712 posts
Joined: 7月 2007
オンライン
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
オフライン
nice and simple, thank you very MUCH!
User Avatar
Member
70 posts
Joined: 5月 2019
オフライン
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 AnimGraphLabGames - 2023年2月14日 14:40:00

Attachments:
group_range.png (160.7 KB)

Generalist.
  • Quick Links