-
|
Hello, I'm looking into the details of the Incremental Potential Contact (IPC) method and have a question regarding the continuity of the distance function's derivatives. I would appreciate any clarification you could provide. My understanding is that IPC relies on the exact distance My question is: How does the IPC algorithm maintain robustness and convergence for its Newton-based solver despite these discontinuities in the distance function's derivatives? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
This is a great question. There are two parts to the continuity of the distance functions. Sub-Element ContinuityThe first possible source of discontinuity is when a collision pair changes the closest sub-element. For example, when a point is closest to a triangle's interior, but then goes off the edge, and the closest point is on the edge. Similarly, the closest point can be a vertex of the triangle. In these instances, the function is Global ContinuityYou are right that if we did a global minimum of distance to all elements, this would be discontinuous at the transition. Instead, we simply sum up the barrier energies for all elements within the The obvious problem with this approach is that it introduces duplicate contact forces at transition points. This problem has been explored by several follow-up works. For instance, in Convergent IPC, we subtract away certain sub-element terms to remove the duplication. Here is a short list of papers that address this issue:
Of these, 1 is already implemented in the toolkit, and 3 and 4 are current PRs. [1] The only instance where the transition is only |
Beta Was this translation helpful? Give feedback.
This is a great question. There are two parts to the continuity of the distance functions.
Sub-Element Continuity
The first possible source of discontinuity is when a collision pair changes the closest sub-element. For example, when a point is closest to a triangle's interior, but then goes off the edge, and the closest point is on the edge. Similarly, the closest point can be a vertex of the triangle.
In these instances, the function is$C^\infty$ on the interior and $C^1$ at the subelement transition[1]. This Hessian discontinuity is somewhat rare and doesn't seem to affect the optimization too negatively.
Global Continuity
You are right that if we did a global minimum of distance to al…