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

Feature Request: Remove Internal Faces #58

Open JYChen18 opened 2 months ago

JYChen18 commented 2 months ago

Hi @SarahWeiii ,

Thank you for your excellent work!

I’m looking for a method to remove the internal faces of the resulting mesh, as they complicate the nearest-point query and SDF calculation for the entire mesh. While adjacent parts share the same plane, their vertices differ, making it challenging to post-process and eliminate these duplicated faces.

Is there a straightforward way to modify the intermediate process of the convex decomposition to achieve this? I understand this may not be the primary focus of the repository, but implementing this feature could enhance its utility as a preprocessing step for messy meshes.

Thank you for any advice, and I look forward to your response.