Hello! I'm hoping someone will nudge me in the right direction on this little challenge I've set for myself.
In a nutshell, I want to set up a NURBS curve such that if I move either end point of the curve, each interior point will maintain a position that's the average of its neighboring points' positions (so point 4 would always be positioned between point 3 and point 5, point 3 would stay between point 2 and point 4, etc.).
I've set this up in Maya using expressions but am wondering how to do it in Houdini using operators. FWIW, I'd rather not use a spring if possible as I'd rather do it with a little math.
Also, what do I have to do to make a point on the curve follow something like a null or a sphere?
Any pointers would be appreciated!
Phil
pinning and averaging curve points
4399 10 1- etudenc
- Member
- 15 posts
- Joined: July 2010
- Offline
- etudenc
- Member
- 15 posts
- Joined: July 2010
- Offline
- john_z
- Member
- 45 posts
- Joined: June 2009
- Offline
- etudenc
- Member
- 15 posts
- Joined: July 2010
- Offline
john_z
Hi,
do you need to move interior points or is the line always straight ?
Hi John. The interior points would be moved because I want their positions to be an average of their neighboring points' positions. This would result in the line always being straight, though.
Hope that makes it clearer!
Thanks!
Phil
- john_z
- Member
- 45 posts
- Joined: June 2009
- Offline
- etudenc
- Member
- 15 posts
- Joined: July 2010
- Offline
- edward
- Member
- 7733 posts
- Joined: July 2005
- Offline
- etudenc
- Member
- 15 posts
- Joined: July 2010
- Offline
edwardThanks Edward, I'll look into that as well - I've been focusing on trying to get a handle on SOPs but sounds like I need to move VOPs up on my list!
To do that, you need connectivity information. So I would just create a VOP SOP network and use the Get Neighbours (and friends) VOPs to help with this.
- etudenc
- Member
- 15 posts
- Joined: July 2010
- Offline
john_zHey John, hate to bother you but any ideas on how I'd connect the end point of the curve to a specific point on a circle rather than a sphere? I tried isolating the curve point by making it into a group but this doesn't produce very good results. Hope you won't mind my asking!
something like this ?
- john_z
- Member
- 45 posts
- Joined: June 2009
- Offline
- etudenc
- Member
- 15 posts
- Joined: July 2010
- Offline
-
- Quick Links