Jump to content
jonidunno

Offsetting points with a specific orientation

Recommended Posts

CapturePointIssue.thumb.PNG.2d8bbe13649b1770947cc40236b5e747.PNG 

Hi,
I'm trying to offset points along a curve with a specific p vector... I'm pretty close but it seems to be shifting the point count randomly when it animates? You can see where the problem is in the screengrab....
Here is a test scene any advice or help would be much appreciated.

pointsTest03.hiplc

Share this post


Link to post
Share on other sites

I don't think the point count is shifting. It looks stable to me. Unless, I'm misunderstanding your question, the problem is that you are only transferring the curve normals in your attribute transfer. You also need to transfer the up vector. Right now N is being updated, but the points are keeping their original up vector so you start to get flipping as the points move around the curve when those vectors become the same vector. The other thing that is contributing to the steppy-ness is the low point count on the curve you are using for the attribute transfer. If you resample the curve you'll get smoother motion.

 

 

pointsTest03.hipnc

  • Haha 1

Share this post


Link to post
Share on other sites
8 hours ago, madebygeoff said:

I don't think the point count is shifting. It looks stable to me. Unless, I'm misunderstanding your question, the problem is that you are only transferring the curve normals in your attribute transfer. You also need to transfer the up vector. Right now N is being updated, but the points are keeping their original up vector so you start to get flipping as the points move around the curve when those vectors become the same vector. The other thing that is contributing to the steppy-ness is the low point count on the curve you are using for the attribute transfer. If you resample the curve you'll get smoother motion.

 

 

pointsTest03.hipnc

OMG! you're absolutely right! Derp it was right in front of my face thanks for taking a look. Appreciate it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×