For example on an object like a banana, a snake or a C shaped object.
Is there a way to find the 2 "endpoints" or the 2 vertices that are furthest apart using geometry nodes?
For example on an object like a banana, a snake or a C shaped object.
Is there a way to find the 2 "endpoints" or the 2 vertices that are furthest apart using geometry nodes?
This is the most efficient way I could find: rather than measuring distances between each pair of points, I'm making a copy (copying has to be done in order to iterate on every possible pair - and a repeat zone is in general much slower than the old ways) and moving chosen point to the origin. Now the distance to this point is just the length of the position vector:
You can use this group like so:
Robin Betts' convex hull optimization:
One question - for the convex hull method you mentioned. Do you mean I just add the convex hull node at the beginning before the "mesh to points" node?
– muckyu Feb 22 '24 at 08:20