resample a polyline in vex

   1889   2   0
User Avatar
Member
621 posts
Joined: Aug. 2008
Offline
is there a function to resample a polyline same as the resample node?
that can give options of putting n points or putting every distance?

thanks guys
User Avatar
Member
5 posts
Joined: July 2021
Offline
I have the same question
Edited by clayton- - Dec. 19, 2022 09:58:15
User Avatar
Member
4729 posts
Joined: Feb. 2012
Offline
There is no such function. Depending on what kind of resampling you want to do: resampling NURBS, Bezier curves, resampling using subdivision interpolation, or resampling using polygon edges, using point count or division size, resampling based on curvature, etc, you need to write the code yourself.
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 | pragmaticvfx.gumroad.com
  • Quick Links