bullet3/Extras/CDTestFramework
erwin.coumans 932de57d4c Updated CDTestFramework with the OPCODE Array SAP test.
Thanks Pierre Terdiman for the latest update.
2008-09-01 18:46:57 +00:00
..
AntTweakBar CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00
Bin Updated CDTestFramework with the OPCODE Array SAP test. 2008-09-01 18:46:57 +00:00
Opcode Updated CDTestFramework with the OPCODE Array SAP test. 2008-09-01 18:46:57 +00:00
BipartiteBoxPruning.cpp CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00
BipartiteBoxPruning.h CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00
BulletSAPCompleteBoxPruningTest.cpp Updated CDTestFramework with the OPCODE Array SAP test. 2008-09-01 18:46:57 +00:00
BulletSAPCompleteBoxPruningTest.h Updated CDTestFramework with the OPCODE Array SAP test. 2008-09-01 18:46:57 +00:00
Camera.cpp removed obsolete files, make CDTestFramework compile again 2008-05-25 07:32:44 +00:00
Camera.h removed obsolete files, make CDTestFramework compile again 2008-05-25 07:32:44 +00:00
CapsuleMeshQuery.cpp CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00
CapsuleMeshQuery.h CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00
CDTestFramework.cpp Updated CDTestFramework with the OPCODE Array SAP test. 2008-09-01 18:46:57 +00:00
CDTestFramework.h CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00
CDTestFramework.sln only move 10% of objects 2008-04-02 19:22:08 +00:00
CDTestFramework.txt CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00
CDTestFramework.vcproj Updated CDTestFramework with the OPCODE Array SAP test. 2008-09-01 18:46:57 +00:00
CollisionTest.cpp CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00
CollisionTest.h CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00
CompleteBoxPruning.cpp Updated CDTestFramework with the OPCODE Array SAP test. 2008-09-01 18:46:57 +00:00
CompleteBoxPruning.h CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00
convex1.bin CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00
GLFontData.h CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00
GLFontRenderer.cpp CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00
GLFontRenderer.h CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00
GLUT32.DLL removed obsolete files, make CDTestFramework compile again 2008-05-25 07:32:44 +00:00
History.txt CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00
IceHelpers.cpp CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00
IceHelpers.h CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00
License.txt CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00
License.txt.bak CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00
OBBMeshQuery.cpp CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00
OBBMeshQuery.h CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00
OpcodeArraySAPTest.cpp Updated CDTestFramework with the OPCODE Array SAP test. 2008-09-01 18:46:57 +00:00
OpcodeArraySAPTest.h Updated CDTestFramework with the OPCODE Array SAP test. 2008-09-01 18:46:57 +00:00
Profiling.h + improved split impulse constraint solver option 2008-05-29 03:33:32 +00:00
ReadMe.txt Updated CDTestFramework with the OPCODE Array SAP test. 2008-09-01 18:46:57 +00:00
RenderingHelpers.cpp CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00
RenderingHelpers.h CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00
SphereMeshQuery.cpp CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00
SphereMeshQuery.h CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00
stdafx.cpp CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00
stdafx.h CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00
Terrain.cpp CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00
Terrain.h CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman 2008-04-02 18:05:36 +00:00

This is a modified CDTestFramework to test Bullet's dynamic AABB tree against a SAP. It's the same demo as here: http://bulletphysics.com/ftp/pub/test/physics/demos/CDTestFramework2.70.zip

But I added an extra challenger: http://www.codercorner.com/Code/SweepAndPrune2.rar. This is the code described in this document: http://www.codercorner.com/SAP.pdf

So there are 4 tests:
- OPCODE's "box pruning"
- Bullet's Multi SAP
- Bullet's dbvt (dynamic AABB tree)
- OPCODE's array-based SAP

For 8192 boxes and 10% of them moving, OPCODE's SAP is roughly as fast as dbvt (and twice faster than Bullet's SAP on my machine). For less boxes (say 1024 or 2048), OPCODE's SAP is faster than dbvt. Figures and "winner" vary a lot depending on the number of objects and how many of them are moving each frame.

If you're interested you can see for yourself:
- download Bullet 2.70
- replace the content of this directory with the new files: \bullet-2.70\bullet-2.70\Extras\CDTestFramework


Cheers,

- Pierre Terdiman
August 31, 2008