koreus737
koreus737

Reputation: 671

How to generate multiple convex hulls to cover a 3D concave trimesh

I am working on a 3D physics simulation environment and have run into the problem of concave shapes being hard to model physically. I'm currently using Bullet Physics to do the heavy lifting and it does not support dynamic concave shapes at all.

My plan is to take the 3D trimesh of the shape and then generate a number of convex hulls that when taken together as a composite shape aproximate the form of the 3D trimesh.

My question is: Is there an existing algorithm to do this?

If not how might you go about it?

Upvotes: 1

Views: 454

Answers (1)

Dmitriy Ivolga
Dmitriy Ivolga

Reputation: 1

Maybe this will help: "The V-HACD library decomposes a 3D surface into a set of "near" convex parts" https://github.com/kmammou/v-hacd

Upvotes: 0

Related Questions