Nathanael wrote:
Antonio Martini wrote:
it happens but some methods seem numerically more robust and can recover gracefully
I did test it, each application of gradient correction does in fact recover from sign inversion through (graceful:)) rotations, that could be a problem for one element, but usually more than one tetrahedron share a vertex, so its not an issue. I guess it should be possible to setup a configuration where corrections cancel each others and the inverted tetrahedron stay in inverted state, but in real situation i don't see it happening often (if at all), experience will tell.
Thanks, Nat.
if you have not read it yet, see also section 4.1 still of:
http://www-evasion.imag.fr/Publications ... /NPF05.pdfthe requirements for dealing with inversion would be the following:
- must recover from an inverted state.
- must be numerically robust.
- the result must be visually plausible.
i have never detected any visible artifacts with complex meshes. Now it is not perfect, but the method of conserving volume by displacing vertices relative to the mass center doesn't meet any of the above requirements and as you pointed out it is not robust even before inversion happens. This without considering the problem of physical correctness of the constraint enforcement method mentioned in previous posts.
cheers,
Antonio