After calculating the convex hull in three.js, how can I determine the oriented bounding box?
In this visual representation: The green area indicates the convex hull (displayed as a mesh for clarity), while the white area represents the AABB.
I have found that there are no specific built-in functions for this in three.js. I attempted to use OBB.js from the examples provided, but it did not yield the desired results. The convex hull algorithm shows promise. Any guidance on what steps to take next would be greatly appreciated.
As far as I comprehend, my task involves computing the covariance matrix of the vertices along the boundary of the convex hull (excluding internal vertices). How can I locate these boundary vertices?