I want it to be just a polyhedron with all the outer vertices, something like this image, I think a convex hull would do the job, any hints on where I can start learning?