Tuning CoACD results
mainUse these strategies to improve decomposition quality:
- Balance Detail vs. Count: Adjust the
threshold(-t). A higher value results in fewer, coarser components; a lower value results in more, finer-grained components. - Non-Manifold Meshes: If the input is not manifold, adjust
prep-resolution(-pr) between 20 and 100. Higher values preserve more detail but increase runtime. - Improve Cutting Strategy: To prioritize component count over speed, increase MCTS parameters:
searching depth(-md),searching node(-mn), andsearching iteration(-mi). - Skip Preprocessing: If your mesh is already a 2-manifold solid, set
--preprocess-mode(-pm) tooffto speed up the process and preserve details. Warning: Usingoffon non-manifold meshes may cause incorrect results. - Reproducibility: Use
--seedto ensure the same results across runs, as the algorithm is stochastic.