Jump to content
art3mis

3d dash - orient to curve tangent when using Trail SOP

Recommended Posts

Not sure if I should post this in Coding as the solution would be in VEX

Have a simple physics simulation with a box Primitive, Solver and  and Trail SOPs to create a 3d 'dashed line'.

The problem is my 'dashes' aren't oriented so that they are tangential to the curve.

 

Here is my initial VEX set up

@v = {5,5,0};
v@gravity = {0,-0.1,0};

 

 

My .hip is also attached.

 

Any VEX wizards able to help?

Am familiar with Parallel Transport to compute normals on curved lines

 http://www.entagma.com/td-fundamentals-parallel-transport/#more-1145

but was hoping there was a simpler solution that allowed use of the Trail SOP.

 

 

 

 

dashed_line.JPG

3d_dash.hiplc

Edited by art3mis

Share this post


Link to post
Share on other sites

Thanks!

I ended up using a Carve SOP with a copytopoints operation but I think this is a more elegant solution.

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

×