Hi Khaled, the osx binaries for testVHACD are crashing with the error:dyld: Library not loaded: /opt/local/lib/libgcc/libgomp.1.dylibReason: image not found\Trace/BPT trap: 5I tried rebuilding from source and the resulting exec crashes at 15%. I'm using OSX 10.10.5. Do you have any idea how I may fix this? Very excited to use your tools. Many thanks, Mark
Please, could you share the mesh and settings you are using?
I tested on several of the sample meshes from the git, using parameters from your Nov 2012 blog post:testVHACD --input /.../sledge.off --depth 30 --maxConcavity 0.01 --invertInputFaces 0 --posSampling 64 --angleSampling 32 --posRefine 8 --angleRefine 64 --alpha 0.001 --targetNTrianglesDecimatedMesh 2000The compiled version gets stuck at:15% [ Approximate Convex Decomposition 0% ] Subdivision level 1 0%It works fine on my Windows 10 VM though.
Is it possible to save the each of the resulting convex geoms into separate stl files?
Hi Khaled. Currently using the HACD implementation on Bullet it takes 10+ minutes to generate some models, and using the V_HACD 2.0 it only takes a couple seconds. Am I doing something wrong? These are my HACD parameters: mDeviceHACDProperty.nClusters = 2; mDeviceHACDProperty.concavity = 20; mDeviceHACDProperty.nVerticesPerCH = 100; mDeviceHACDProperty.invert = false; mDeviceHACDProperty.addExtraDistPoints = false; mDeviceHACDProperty.addNeighboursDistPoints = false; mDeviceHACDProperty.addFacesPoints = false; Could I use V_HACD 2.0 in Bullet?
I have tried different concavities, clusters and verticesPerCh as well
Why do you need to use HACD, Bullet ships with VHACD in Extras/VHACD, right?
This comment has been removed by the author.
Hi Khaled, I am impressed with the V_HACD code that you have created. I am experimenting with the various settings. Do you have a set of parameters where the highest level of convex decomposition can be achieved? (even small holes on the model?)
Hi Khaled, the works are awesome. After decomposition into convex shapes, the simulation is faster indeed. I am just wondering a little bit further. Is it possible to create Spheres, Capsules and Boxes only during the decomposition? If so, it should be the ultimate solution for convex decomposition for collision detection.