How to move a points along curves in world units?

   1590   4   1
User Avatar
Member
87 posts
Joined:
Offline
Hello everyone,

I am trying to move points along curves in world units as supposed to, say @curveu or @primuv which are 0-1 values as far as I know. So, I cannot use a carve to exctract a point along a curve for example. The main reason for this is that I need a way to be able to move points on multiple curves, but by the exact same amount irrespective of the actual curves different lengths. So, is there a good, fast way to do this?

Thanks,

Dag
User Avatar
Member
9118 posts
Joined: 7月 2007
Offline
you can use primuvconvert() [www.sidefx.com] VEX function to convert real distance value to parametric 0-1 coordinate
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
87 posts
Joined:
Offline
That sounds interesting tamte! I'll give that a try. And, btw, I would use something like the primuv() function to actually move the points? Or something else/better?

Thanks!
Dag
User Avatar
Member
4851 posts
Joined: 2月 2012
Offline
Dougie0047
That sounds interesting tamte! I'll give that a try. And, btw, I would use something like the primuv() function to actually move the points? Or something else/better?

Thanks!
Dag

You can use primuv to get 3d positions in world space.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]
User Avatar
Member
87 posts
Joined:
Offline
Thanks for your reply animatrix, I'll look into this soon and resolve my problem
Cheers,
Dag
  • Quick Links