Solve constraints globally in Position Based Dynamics

Please don't post Bullet support questions here, use the above forums instead.
Post Reply
korzen303
Posts: 30
Joined: Thu Dec 19, 2013 12:13 pm

Solve constraints globally in Position Based Dynamics

Post by korzen303 »

Hi,

I was wondering if it possible in PBD to solve a set of distance constraints (like simple springs) between particles exactly, in a global manner, by assembling and solving a system of linear equations? I know that in PBD the idea is to solve the constraints iteratively, but I have a long chain-like structure consisting of 100+ particles and it currently noticeably oscillates. Previously, I have been using a block Projected Gauss Seidel where I solved the chain distance constraints globally (tri-diagonal JWJT matrix => quick linear time solve) and other constraints iteratively. It produced good results so I was wondering if it is possible in the case of PBD. Here is a link for the velocity-level method (http://allenchou.net/2013/12/game-physi ... l-impulse/)

Thanks
Post Reply