I’ve noticed that using the new mesh.Optimize(true) on complex meshes causes the meshes to become distorted, and also increase the file size:
When using mesh.Optimize(true) - file size = 150MB:
image.png (37.0 KB)
Without - file size = 125MB:
image.png (33.7 KB)
Those are just a couple of examples, but typically it happens where we have verticies which are close to each other within a small & complex mesh.
I’m assuming a tolerance is being used when comparing duplicate vertices which is causing this issue - would it be possible to have control over this tolerance (if this is the case) in the form of an additional parameter to the Optimize method?
I’m not sure why the file size would increase though.
Thanks,
Tom