I'm trying to sort the points on the curve using node SORT, but I don't see where the error is, but it just doesn't work. The curve is in motion. Thank you for your help
Sort scatter points on moving curve
467 2 0- chuchvalec
- Member
- 1 posts
- Joined: Feb. 2017
- Offline
- BabaJ
- Member
- 2042 posts
- Joined: Sept. 2015
- Offline
It's because at frame 53 and afterwards, you have points arcing downwards. You've defined your point order as the distance from location 0,-1, 0 - so those points are now nearer the other ones which are higher in y value.
You will have to devise an equation or some other method for sorting your point numbers - depending on what the entire range of your geometry will be doing.
You will have to devise an equation or some other method for sorting your point numbers - depending on what the entire range of your geometry will be doing.
Edited by BabaJ - Dec. 6, 2023 12:37:36
- animatrix_
- Member
- 4528 posts
- Joined: Feb. 2012
- Offline
You can freeze your animation using Timeshift SOP and then copy the point numbers by storing them as an attribute before the Timeshift.
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