Page 1 of 1

v-hacd crash problem

Posted: 13 Apr 2020, 17:25
by v-wewei
Hi,
i am not able to get a v-hacd mesh decomposition method work, since it is always crash once called.
but i had test this method in blender and pybullet , that this method should work well with my mesh file.
i thought there must be some bug in sim.simConvexDecompose( ) function.

would anyone to give a suggestion for how to fix this bug. i had noticed the source code in https://github.com/CoppeliaRobotics/sim ... xDecompose, but i do not know how to compile it.
would anyone be able to fix this bug.

Re: v-hacd crash problem

Posted: 14 Apr 2020, 14:09
by coppelia
Hello,

yes, we are aware that some parameter and mesh combinations can lead to crashes. Those crashes originate from the V-HACD routines directly.... did you try to use different parameters than the default parameters with your mesh?

Cheers

Re: v-hacd crash problem

Posted: 15 Apr 2020, 05:55
by v-wewei
sorry for late reply , but i do not get the crash with the v-hacd method with the same default parameter in pybullet.
You can download the file here http://ycb-benchmarks.s3-website-us-eas ... le_16k.tgzand test it, for more model pls refer to http://ycb-benchmarks.s3-website-us-eas ... onaws.com/
Another question:
if i load the decomposed mesh which is processed by pybullet, copeliasim do not seem to recognize it as a convex hull.

Re: v-hacd crash problem

Posted: 20 Apr 2020, 05:50
by coppelia
CoppeliaSim will import meshes as a single shape. So if you are trying to import a convex decomposed mesh (i.e. a compound of convex meshes), those individual meshes will be merged into one single shape. Try to divide that shape with [Edit --> Grouping / merging --> Divide selected shapes]

Cheers

Re: v-hacd crash problem

Posted: 20 Apr 2020, 06:55
by coppelia
we have updated the convex decompose plugin to use the latest source code of V-HACD, and it doesn't crash anymore. What platform are you running on?

Cheers

Re: v-hacd crash problem

Posted: 20 Apr 2020, 12:16
by v-wewei
i am running on the Ubuntu16.04.

Re: v-hacd crash problem

Posted: 08 May 2020, 08:13
by allen0413
Hi, I have the same problem here. So I'm trying to update the convex decompose plugin but don't know how, can you briefly explain it?
Running on Win10. Thank you.

Re: v-hacd crash problem

Posted: 09 May 2020, 11:01
by fferri

Re: v-hacd crash problem

Posted: 11 May 2020, 05:44
by coppelia
Hello,

you can find the updated windows plugin here.

Cheers

Re: v-hacd crash problem

Posted: 12 May 2020, 09:09
by allen0413
It works! Thanks!