kmammou / v-hacd

Automatically exported from code.google.com/p/v-hacd
BSD 3-Clause "New" or "Revised" License
1.4k stars 264 forks source link

Best parameters for decomposing a gear #59

Open AndreaIncertiDelmonte opened 5 years ago

AndreaIncertiDelmonte commented 5 years ago

I'm trying to decompose this gear:

Using the following parameters:

I obtained the result below:

How should I improve the quality of the decomposition? I would like that the central hole will be as circular as possible.

kmammou commented 5 years ago

Try increasing the resolution, the number of points per CH, the number of convex hulls and decrease the minimum volume

On Fri, Feb 22, 2019 at 6:53 AM Andrea Incerti Delmonte < notifications@github.com> wrote:

I'm trying to decompose this gear:

https://user-images.githubusercontent.com/12040383/53249221-e3c89800-36b7-11e9-8c7b-cb2c49496209.png Using the following parameters:

  • resolution 64000000
  • max. concavity 0
  • plane down-sampling 4
  • convex-hull down-sampling 4
  • alpha 0.05
  • beta 0.05
  • maxhulls 1024
  • pca 0
  • mode 0
  • max. vertices per convex-hull 64
  • min. volume to add vertices to convex-hulls 0.0001

I obtained the result below:

https://user-images.githubusercontent.com/12040383/53249827-5ede7e00-36b9-11e9-999d-2c4268db36ac.png

How should I improve the quality of the decomposition? I would like that the central hole will be as circular as possible.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kmammou/v-hacd/issues/59, or mute the thread https://github.com/notifications/unsubscribe-auth/AEulzTcjtTnT1Yzwj4UQsmUefIVExd2aks5vQARZgaJpZM4bJwSD .

yzhao334 commented 3 years ago

For gears I noticed HACD typically seemed getting better result than VHACD, though volume was not preserved. Maybe you can try and compare them.