Explicit vs Implicit:
[view code on GitHub]
This is a mass-spring simulator, both implicit&explicit method available, rendered using my extension library Taichi THREE.
Fixed arguments:
- arch = x64
- damp = 1.6
Varying arguments:
method | dt step | stiff | fps |
---|---|---|---|
explicit | 5e-4 | 8000 | 15 + rough jumping |
explicit | 1e-3 | 8000 | die in kernel |
middle | 5e-4 | 8000 | 1.2 |
middle | 1e-3 | 8000 | 1.3 |
implicit | 5e-4 | 8000 | 1.4 + smooth |
implicit | 1e-3 | 8000 | 1.5 + blow on touch |
explicit | 1e-2 | 100 | die in kernel |
explicit | 5e-3 | 100 | 15 + relatively smooth |
middle | 1e-2 | 100 | 1.3 + blow on touch |
middle | 5e-3 | 100 | 1.3 + less rough lines |
implicit | 1e-2 | 100 | blow on start up |
implicit | 5e-3 | 100 | 1.4 + rough lines |
It seems that implicit doesn’t have many profit on dt but a huge degression on fps…
Not sure if it’s due to the poorness of using jacobi solver.
Or it’s this specific application scene - mass spring - caused the result?