GSoC 2022 : Soft body simulations using XPBD (Weekly Reports)

Week 9 -

Hello everyone, over the last week, a few small additions were worked on in addition to testing out how the simulation reacted to different stiffness constant.

Amongst the small additions -

  • Point cache system was added
  • A few controls were added to the simulation UI to help in testing

The computation of unique edges was made more efficient which helped increase the rendering speed of ~4800 tets with substep_count = 50 from 1.5fps to 12fps

Since Matthias was able to get the simulations running with much higher compliance (inverse stiffness) values than I was, some time was spent on understanding why that was the case which led to changing how masses are allotted to each vertex. Instead of giving defined values to vertices, the mass was given based on the volume of tets it was a part of. This led to generally higher values of mass as well which allowed for higher compliance values as was seen in the demo shown by Matthias Muller.

13 Likes