spiral a curve around another

   7590   13   1
User Avatar
Member
336 posts
Joined: Dec. 2014
Offline
Any tips or examples on how to spiral one curve around another in vex? I had a crack at it but my vector math is failing me a little, and a few examples I found on this forum lacked controls for frequency offset and amplitude
User Avatar
Member
336 posts
Joined: Dec. 2014
Offline
very very cool!
User Avatar
Member
280 posts
Joined:
Offline
theres something wrong with the asset it doesnt work well…
check out the first image its created with your asset…as you can see it doesnt twist around the curve

Attachments:
Capture5.JPG (114.4 KB)

User Avatar
Member
280 posts
Joined:
Offline
mine works better imo…

Attachments:
Capture4.JPG (188.5 KB)
twistAlongCurve.hip (318.1 KB)

User Avatar
Member
4495 posts
Joined: Feb. 2012
Offline
patar
theres something wrong with the asset it doesnt work well…

That's because you don't know how to use it.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]

youtube.com/@pragmaticvfx | patreon.com/animatrix | animatrix2k7.gumroad.com
User Avatar
Member
280 posts
Joined:
Offline
how to make it twist along this curve as it should?

Attachments:
twistAlongCurveAnimatrix.hip (79.6 KB)

User Avatar
Member
280 posts
Joined:
Offline
it seems it doesnt exactly follow the guide

Attachments:
Capture6.JPG (70.0 KB)

User Avatar
Member
280 posts
Joined:
Offline
yours is creating a coil alright… but doesnt exactly twist around the guide curve..
oh well use what ever you like just trying to help…not to start a war..

best regards
Patar
User Avatar
Member
2036 posts
Joined: Sept. 2015
Offline
Don't know what your talking about - His method twists around the curves I supply for it.

And just the same as you; not wanting to start a ‘war’.
User Avatar
Member
280 posts
Joined:
Offline
check out the image the coil doesnt exactly follow or curl around the guide curve…you can examine this especially when the amplitude is small….
who ever supply the method its not 100% correct…no need for complex math… simple high school math is enough its just sine and cosine …..
wheres my simple solution will always follow or curl around the guide curve..
User Avatar
Member
336 posts
Joined: Dec. 2014
Offline
The asset works perfect, my guess is you're feeding it a curve with too few CVs. Re-sample your guide curve.
User Avatar
Member
280 posts
Joined:
Offline
ahhh yes… its working now sorry….
User Avatar
Member
101 posts
Joined: May 2006
Offline
patar
mine works better imo…

Thanks! Most helpful.
  • Quick Links