Bird wrote:One thing I've discovered in that bug is that I can prevent the assert from happening by increasing the tolerance value in NewtonCreateConvexHull(). I'd prefer to keep tolerance at 0.0 though since accuracy is more important than performance in my project. I've hit that assert in various other meshes and each one requires a different tolerance value to prevent crashing.
Ok I fix that, it was not relate to tolerance. is was a local buffer that I have set too small, you are using high res mesh stress many of the algorithm, there were some local buffer that were set too small legacy from core 200,
basically I considered that a face will never have more than 64 faces, and you hull come out with some at 72 and 69, and that over run the buffer, there was a define to set that and the value was set a 2024 but that local buffer felt trough the crack.
I fix the all now and should no happens again. when you set the tolerance, those faces with very close point were collapse and they may just be under the old limit of 64. so that fixed because of a side effect.
Bird wrote:I also found a mesh that crashes Newton in NewtonMeshTriangulate() but for some reason the OFF exporter isn't working on this mesh.
-Bird
on this, can you save the mesh as FBX? now I have a tool that can read fbx files, and fpx file can be save as polygonal meshes, I's like to test what is wrong there.