SarahWeiii / CoACD

[SIGGRAPH2022] Approximate Convex Decomposition for 3D Meshes with Collision-Aware Concavity and Tree Search
https://colin97.github.io/CoACD/
MIT License
405 stars 52 forks source link

Splitting into multiple files for Mujoco #38

Closed whoishoa closed 3 months ago

whoishoa commented 5 months ago

Is there an easy way to create multiple files by specifying a folder directory and output format where each file has one convex hull.

Mujoco treats all meshes from the same file as a single convex hole and splitting it into multiple files solves this problem.

SarahWeiii commented 5 months ago

I currently don't support this feature. You can try using a script to post-process the output file and save the components into different files.