v-hacd crash problem

Report crashes, strange behaviour, or apparent bugs
Post Reply
v-wewei
Posts: 5
Joined: 08 Apr 2020, 18:31

v-hacd crash problem

Post 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.

coppelia
Site Admin
Posts: 7911
Joined: 14 Dec 2012, 00:25

Re: v-hacd crash problem

Post 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

v-wewei
Posts: 5
Joined: 08 Apr 2020, 18:31

Re: v-hacd crash problem

Post 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.

coppelia
Site Admin
Posts: 7911
Joined: 14 Dec 2012, 00:25

Re: v-hacd crash problem

Post 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

coppelia
Site Admin
Posts: 7911
Joined: 14 Dec 2012, 00:25

Re: v-hacd crash problem

Post 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

v-wewei
Posts: 5
Joined: 08 Apr 2020, 18:31

Re: v-hacd crash problem

Post by v-wewei »

i am running on the Ubuntu16.04.

allen0413
Posts: 5
Joined: 05 May 2020, 10:43

Re: v-hacd crash problem

Post 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.

fferri
Posts: 625
Joined: 09 Sep 2013, 19:28

Re: v-hacd crash problem

Post by fferri »


coppelia
Site Admin
Posts: 7911
Joined: 14 Dec 2012, 00:25

Re: v-hacd crash problem

Post by coppelia »

Hello,

you can find the updated windows plugin here.

Cheers

allen0413
Posts: 5
Joined: 05 May 2020, 10:43

Re: v-hacd crash problem

Post by allen0413 »

It works! Thanks!

Post Reply