The big question is: which physics engine is the best ?
The answer is straighforward: None of them is in overall the best and it is very case dependent. However, there is still a way to make some comparisons. So, I came across this paper:
Evaluation of Real Time Physics Simulation Systems,
A. Boeing, T. Braunl
Procc. Computer graphics and interactive techniques in Australasia and South East Asia, 2007
The work on the paper compares different physics engines: AGEIA-Nvidia, Bullet, JigLib (from my friend Danny Chapman), Newton Physics, ODE, Tokamak, True Axis. The authors implemented a physics abstraction layer (PAL) to carry out the comparison. You can even download PAL. I suppose that it has been an amazing work to wrap all the physics engine in only one application. Unfortunately, HAVOK is not compared nor PIXELUX.
The comparison was based on five tests:
- Integrator performance (i.e. solution of ODE's)
- Material properties (i.e. frictions, restitution)
- Constraint stability
- Collision detection
- Stacking test
The main conclusion that the authors made is that Bullet engine provided the best results overall.
Although this result is the conclusion of a huge work, it should be taken with a lot of care, since many aspects were not included in the comparison and that the PAL system does not support correctly some engines (for example AGEIA-Nvidia for collision detection), Pixelux and Havok were not included in the comparison, support from the physics engine provider, other aspects such as fluid simulation, soft body simulation and some specific optimisations of the engines were not included. Which ones are optimised for PS3 or Xbox360 ? Results are evidently tested on a PC. Finally, some tests are not suitable in many cases, for instance the integrator performance may vary for each engine and for each object being simulated.
Still, PAL is a good starting tool to start testing physics engines.
Anyway, my favorites are AGEIA-Nvidia, Havok and Bullet and the one we are developping :)
Thanks for this useful info! I've been wanting to use Bullet, mostly because of its soft body capabilities, besides being open source. I hadn't found the paper, and in PAL's youtube video it was very hard to make out what the statistics said or meant.
ResponderEliminar