Verlet vs Sequential Impulses

Post Reply
Erin Catto
Posts: 316
Joined: Fri Jul 01, 2005 5:29 am
Location: Irvine
Contact:

Verlet vs Sequential Impulses

Post by Erin Catto »

I've been wondering how Verlet compares with Sequential Impulses for cloth. To get started, I wrote a simple pendulum simulator. I noticed a few things:

- Split impulses are less energetic than Baumgarte. It seems that semi-implicit Euler is removing energy and Baumgarte is adding some back.

- Verlet damps faster than Split Impulses, but it does oscillate (contrary to my previous assumption).

- Verlet gets more energetic when there is some initial stretch. SI is more calm.

Grab the demo here:
http://www.gphysics.com/files/Verlet.zip
Post Reply