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
resample a polyline in vex
1892 2 0- pelos
- Member
- 621 posts
- Joined: Aug. 2008
- Offline
- clayton-
- Member
- 5 posts
- Joined: July 2021
- Online
- animatrix_
- 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
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