Open Phantomb opened 5 years ago
Anyone any ideas? @kmammou
Also looking at the examples you provided here (image below, taken from main readme) it seems to be able to do holes perfectly fine. So what's the problem with my holes, or what settings should I change?
Helllo Phantomb , Have you solve this problem? Because I also find the problem , which I can not improve the final result, so, please give me some advice if you have certain way that sloves the problem, I pretty thank your advice
Did anyone figure this out?
Maybe use the raycast fill option? https://github.com/kmammou/v-hacd/blob/master/include/VHACD.h
The previous version had a bug which would make it fail to properly recurse on some assets. Do you have an example asset I can test against? Please provide it in Wavefront OBJ.
This issue is mostly related to #59. I'm trying to decompose a relatively simple rectangular mesh with two holes as follows:
The algorithm does not seem to find a decomposition where the holes are preserved: The green highlighting indicates the generated mesh. As you see, it does not take into account the holes. This happens for any combination of settings I tried, including increasing the resolution, the number of points per CH, the number of convex hulls and decreasing the minimum volume as per the advice in #59.
Can you shed some insight in how to get more detailed results in such a basic mesh as this?
Further more, the generated mesh does not really fit the original mesh perfectly as can be seen here: Is that related to the first issue or is that something else?