Insert points to curve

   5443   8   0
User Avatar
Member
620 posts
Joined: Nov. 2013
Offline
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
Staff
3455 posts
Joined: July 2005
Offline
try the resample SOP instead
Michael Goldfarb | www.odforce.net
Training Lead
SideFX
www.sidefx.com
User Avatar
Member
620 posts
Joined: Nov. 2013
Offline
arctor
try the resample SOP instead

Resample seemed can not insert points randomly, it insert point evenly.
User Avatar
Member
1104 posts
Joined: Aug. 2008
Offline
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
620 posts
Joined: Nov. 2013
Offline
arctor
try the resample SOP instead

Resample seemed can not insert points randomly, it insert point evenly.
User Avatar
Member
1104 posts
Joined: Aug. 2008
Offline
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: Aug. 2006
Offline
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
620 posts
Joined: Nov. 2013
Offline
Thanks for many solutions!
User Avatar
Member
43 posts
Joined: Feb. 2017
Offline
Put it here too.
Edited by tachbek - June 3, 2022 07:33:30

Attachments:
insert.hip (151.8 KB)

  • Quick Links