xukca
May 28, 2014 11:10:01
Hi, I want to build a deformer, which moves all points along the curve, till all of them reach point 0. So I calculate the tangent (which I feed into the normal for convinience..) and it works fine untill every point matches the next corresponding point position. (The thing is, the tangent does not get automatically recalculated). So my idea was to plug this into a for each sop, so it gets iterratively calculated thus enabling “incremental execution” of the “algorithm”, but it still doesnt work ( the documentation for the for each loop does not cover the “for each NUMBER” option pretty well :roll: ).
Any tips are most welcome, thanks!
mawi
May 28, 2014 16:39:37
xukca
Hi, I want to build a deformer, which moves all points along the curve, till all of them reach point 0. So I calculate the tangent (which I feed into the normal for convinience..) and it works fine untill every point matches the next corresponding point position. (The thing is, the tangent does not get automatically recalculated). So my idea was to plug this into a for each sop, so it gets iterratively calculated thus enabling “incremental execution” of the “algorithm”, but it still doesnt work ( the documentation for the for each loop does not cover the “for each NUMBER” option pretty well :roll: ).
Any tips are most welcome, thanks!
Unclick merge result and check apply to points.
Im not sure what you are trying to do, but do you know about the carve SOP?
xukca
May 29, 2014 10:39:12
mawi
xukca
Hi, I want to build a deformer, which moves all points along the curve, till all of them reach point 0. So I calculate the tangent (which I feed into the normal for convinience..) and it works fine untill every point matches the next corresponding point position. (The thing is, the tangent does not get automatically recalculated). So my idea was to plug this into a for each sop, so it gets iterratively calculated thus enabling “incremental execution” of the “algorithm”, but it still doesnt work ( the documentation for the for each loop does not cover the “for each NUMBER” option pretty well :roll: ).
Any tips are most welcome, thanks!
Unclick merge result and check apply to points.
Im not sure what you are trying to do, but do you know about the carve SOP?
Hi, I'll try your suggestion, when I get on my PC tomorrow. I know about the carve SOP, but the idea is that I need actually moving points (want to calculate some velocities). AND I need even spacing between the points (The moving point of the carve sop is destroying the even distance)
Thanks for replying
Sadjad Rabiee
May 29, 2014 10:50:04
Yes the Best way is to use Carve SOP , But if you wanna move your points instead of delete them via Carve SOP , you should use Resample SOP after Carve.
Also I checked your project file , You have very simpler way for computing Normals along curve , you can add “edge_dir” vector with Point SOP !
One of the impressive feature of the Houdini is : Give you too many way to approach your idea 8)
xukca
May 30, 2014 06:49:32
Oh well, I looked at all suggestions, and all of them actually do what I need. Thanks a lot guys