Bird wrote:The HACD is dont an checked in. if you are running the lastest build you will see the Camel, and the Cow being generated amost intantaneuslly.
That's great. I'll test it out on a bunch of different models.
I checked in the latest fix on the HACD, I fixed my max plugin, so that I can test it with few model without having to modofo code every time. The Max plugin is part of the SDK too.
some stats in my intel Icore7 2.8 ghz.
the camel mode with about 20000 faces takes 4 secunds in max, to decompse into 16 convex. and about 2 secund for 32 convexes.
the bonny that has 70000 faces takes 55 secunds to make 16 convex, and about 30 secunds for 32 convexes.
and that time includes the overhead of converting the mesh from Max to NetwonMesh and back again.
It is almost the same amount of time that takes Max to load the WRL file.
anything under 1000 faces is practically instantaneus.
note: I just realiced have a bug in one of the metric of the concavity components, because the bunny does not looks good, but this has nothing to do wi the performance of the implementation if anything it will make even faster.
I am gueesing it is because I had being tryin to chneg teh meaning of eth concavity to make a normalized metric, but that is turnin to be very difficult.
anyway it is all checked it, you can test it in your plugin see how it goes for you.
I will work of the concacity bug after I cover some of the bug/features in the feature list.
the one that really stress test the pugin is teh elephan, whi has 158000 faces, and it take 270 secunds to decompose, bu that is because I cam no doin any hierachcal subdividion of mesh optimization.
this can be fixes to take maybe 30 of 40 secund by doing that, but I do not know hwo is usin mesh of this kind of resolution.