Insert points to curve

   6630   8   0
User Avatar
Member
680 posts
Joined: 11月 2013
オフライン
Hi,
I scatter some points on a curve. And after that, I want to insert these points back to the referenced curve. How to do this? Or any tip ?

Thanks.
User Avatar
スタッフ
3465 posts
Joined: 7月 2005
オンライン
try the resample SOP instead
Michael Goldfarb | www.odforce.net
Training Lead
SideFX
www.sidefx.com
User Avatar
Member
680 posts
Joined: 11月 2013
オフライン
arctor
try the resample SOP instead

Resample seemed can not insert points randomly, it insert point evenly.
User Avatar
Member
1111 posts
Joined: 8月 2008
オフライン
Perhaps this could work ? UV'ing the Curve, Scattering and then sorting the points based on the UV attribute and a Add SOP to rebuild the curv..

Attachments:
CurveScatter.hipnc (52.9 KB)

/M

Personal Houdini test videos, http://vimeo.com/magnusl3d/ [vimeo.com]
User Avatar
Member
680 posts
Joined: 11月 2013
オフライン
arctor
try the resample SOP instead

Resample seemed can not insert points randomly, it insert point evenly.
User Avatar
Member
1111 posts
Joined: 8月 2008
オフライン
Here is another method that doesnt “change” the Nurbs Curve.

Attachments:
CurveScatter2.hipnc (61.1 KB)

/M

Personal Houdini test videos, http://vimeo.com/magnusl3d/ [vimeo.com]
User Avatar
Member
2624 posts
Joined: 8月 2006
オフライン
Here is my take on your problem without changing the curve shape

Attachments:
rse_addpoints_random.hip (57.0 KB)

Gone fishing
User Avatar
Member
680 posts
Joined: 11月 2013
オフライン
Thanks for many solutions!
User Avatar
Member
47 posts
Joined: 2月 2017
オフライン
Put it here too.
Edited by tachbek - 2022年6月3日 07:33:30

Attachments:
insert.hip (151.8 KB)

  • Quick Links