SarahWeiii / CoACD

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

Splitting into multiple files for Mujoco #38

Closed whoishoa closed 8 months ago

whoishoa commented 10 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 10 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.