generateBendingConstraints with softbodies

jonathangagnon
Posts: 1
Joined: Fri Mar 27, 2009 12:25 pm

generateBendingConstraints with softbodies

Post by jonathangagnon »

Hi,
I have to managed soft bodies with 10 000 polygons.
The problem is that the method generateBendingConstraints computation time is exponential with the number of polygons.
Therefore, for a 10 000 polygons, it takes 10 minutes.
Is there a way to optimise this process ?
Thanks
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: generateBendingConstraints with softbodies

Post by Erwin Coumans »

Yes, we should use a spatial hierachy, such as the btDbvt tree to accelerate this process.

Let's create an issue for this.

Thanks,
Erwin
User avatar
SynapticBytes
Posts: 74
Joined: Thu Feb 10, 2011 8:27 pm

Re: generateBendingConstraints with softbodies

Post by SynapticBytes »

So did anything ever get put in for this? I'm guessing not, as my Shiva Bullet plugin is taking 200ms to create the bending constraints for a 600 vertex model. Is there any other options to improve performance? I've seen a couple posts talking about pose matching, but that's not the best solution my for use cases, and bending constraints works quite well, despite the setup time.