XPBD stiffness is dependent on iteration count[5-0]

我下载了5.0分支,尝试了chaos的布料模拟。当我使用XPBD来模拟距离约束(或说边约束)的时候,我发现他受迭代次数影响。但是按照XPBD的论文,应该是不受影响的。


图示是按照迭代次数10、20、40、80、100的布料,布料中除了距离约束(边约束)以外的约束刚性都设置为0,来保证只有XPBD而没有PBD。

When I used XPBD to model distance constraints (or edge constraints), I found that it was affected by the number of iterations. But according to the XPBD paper, it should be unaffected.

The figure shows the cloth according to the iteration number of 10, 20, 40, 80, and 100. The stiffness in the cloth except the distance constraint (edge constraint) is set to 0 to ensure that there is only XPBD and no PBD.

It seems that 10,20 inerations are too low for convergence

:thinking: