Hi,
I am searching for a tool to which I could throw a bunch of vertices and get a bunch of respective planes and vice versa. Do you know of anything like that? Thanks.
Convex hull tool
-
- Posts: 316
- Joined: Fri Jul 01, 2005 5:29 am
- Location: Irvine
- Contact:
Re: Convex hull tool
qhull can compute the convex hull of a vertex cloud and also intersect half spaces to yield vertices.
- Erwin Coumans
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
- Contact:
Re: Convex hull tool
If performance isn't an issue, you can try using Bullet's brute force implementation in LinearMath/btGeometryUtil.h:
btGeometryUtil::getPlaneEquationsFromVertices
Thanks,
Erwin
btGeometryUtil::getPlaneEquationsFromVertices
Thanks,
Erwin