Problems creating convex hull (minimumDistance)
Posted: Tue Jun 27, 2017 11:28 pm
actually, an old problem (already hat it with oder bepu version) but i wonder why it came back (with 1.5):
when creating convex hulls. i had that before that in new ConvexHullShape().ComputeDescription.ComputeMinimumRadius it complains about negative distances.
Is it possibly a bug? Bc in ComputeDescription() "you" compute the points and than in the same method later it complains: "Invalid distance. Ensure the mesh is convex, has consistent winding, and contains the passed-in center."
I don't see how I can influence that, I only give it a list of points
I use the ConvexHullHelper.RemoveRedundantPoints() to remove points, which says "cellSize: Size of cells to determine redundancy". I got around that problem by trying out different values
the points are
https://pastebin.com/PSv77uya
the fraud minimumDist is -0.0100421356
side question: the cellSize of ConvexHullHelper.RemoveRedundantPoints, what exactly does it mean?
I thinks it is: When I set to 1.0f it combines every points with distance less than 1.0f or removes one of them, I am wrong am I?
when creating convex hulls. i had that before that in new ConvexHullShape().ComputeDescription.ComputeMinimumRadius it complains about negative distances.
Is it possibly a bug? Bc in ComputeDescription() "you" compute the points and than in the same method later it complains: "Invalid distance. Ensure the mesh is convex, has consistent winding, and contains the passed-in center."
I don't see how I can influence that, I only give it a list of points
I use the ConvexHullHelper.RemoveRedundantPoints() to remove points, which says "cellSize: Size of cells to determine redundancy". I got around that problem by trying out different values
the points are
https://pastebin.com/PSv77uya
the fraud minimumDist is -0.0100421356
side question: the cellSize of ConvexHullHelper.RemoveRedundantPoints, what exactly does it mean?
I thinks it is: When I set to 1.0f it combines every points with distance less than 1.0f or removes one of them, I am wrong am I?