Jump to content
philpappas

Straighten Curve Segments?

Recommended Posts

Is this possible with the current sop nodes or do i need vex for this?

black is the input curve and blue should be the output.

i nt to achieve the same result you have with a blast node but keeping the inbetween (orange) points

 

Untitled.png

Share this post


Link to post
Share on other sites

I used minimal VEX for this... just to create the v@sourceprimuv and i@sourceprim attributes. Attribute Interpolate automatically reads these attributes when computing the final values for any attributes that are run through it.

interpolate_curve.hip

Share this post


Link to post
Share on other sites

Maybe you can try with 2 resamples sop. Use one to straighten your curve, and then another one to add points back to your straightened curve.

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

×