Jump to content

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


art3mis

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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...