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

For certain parameters of example objs, there may be assert failed in the C++ Windows compiled version. #40

Open Zeppelin5 opened 5 months ago

Zeppelin5 commented 5 months ago

For example, using these parameters will result in an error (CDT's commit id is cf4df31): -i .\examples\Kettle.obj -o .\examples\Kettle_compiled.obj -t 0.05 -pm off -c 4 -pr 50 -s 1234 image

In addition, I found that setting breakpoints on the code of COACD is always ineffective when using VS or Rider on Windows. (breakpoints cannot be hit in the code of the submodule or CoACD itself.) image

If someone encounters a similar problem, I would really appreciate it if they could reply.

Zeppelin5 commented 5 months ago

RelWutgDebInfo mode can hit breakpoints succesfully, but it needs to be added within the settings of the additional options in main and coacd subprojects with the /bigobj flag.

Zeppelin5 commented 5 months ago

New error in lastest verison of CDT, params unchanged (-t 0.05 -pm off -c 4 -pr 50 -s 1234): image

eilat-inbal commented 1 week ago

i see same issue... do you have a solution? maybe a version of CDT that works?