Saxum/extern/bullet/Extras/CDTestFramework
Fabian Klemp aeb6218d2d Renaming.
2014-10-24 11:49:46 +02:00
..
AntTweakBar Renaming. 2014-10-24 11:49:46 +02:00
Opcode Renaming. 2014-10-24 11:49:46 +02:00
BipartiteBoxPruning.cpp Renaming. 2014-10-24 11:49:46 +02:00
BipartiteBoxPruning.h Renaming. 2014-10-24 11:49:46 +02:00
BulletSAPCompleteBoxPruningTest.cpp Renaming. 2014-10-24 11:49:46 +02:00
BulletSAPCompleteBoxPruningTest.h Renaming. 2014-10-24 11:49:46 +02:00
Camera.cpp Renaming. 2014-10-24 11:49:46 +02:00
Camera.h Renaming. 2014-10-24 11:49:46 +02:00
CapsuleMeshQuery.cpp Renaming. 2014-10-24 11:49:46 +02:00
CapsuleMeshQuery.h Renaming. 2014-10-24 11:49:46 +02:00
CDTestFramework.cpp Renaming. 2014-10-24 11:49:46 +02:00
CDTestFramework.h Renaming. 2014-10-24 11:49:46 +02:00
CDTestFramework.sln Renaming. 2014-10-24 11:49:46 +02:00
CDTestFramework.txt Renaming. 2014-10-24 11:49:46 +02:00
CDTestFramework.vcproj Renaming. 2014-10-24 11:49:46 +02:00
CollisionTest.cpp Renaming. 2014-10-24 11:49:46 +02:00
CollisionTest.h Renaming. 2014-10-24 11:49:46 +02:00
CompleteBoxPruning.cpp Renaming. 2014-10-24 11:49:46 +02:00
CompleteBoxPruning.h Renaming. 2014-10-24 11:49:46 +02:00
convex1.bin Renaming. 2014-10-24 11:49:46 +02:00
GLFontData.h Renaming. 2014-10-24 11:49:46 +02:00
GLFontRenderer.cpp Renaming. 2014-10-24 11:49:46 +02:00
GLFontRenderer.h Renaming. 2014-10-24 11:49:46 +02:00
GLUT32.DLL Renaming. 2014-10-24 11:49:46 +02:00
History.txt Renaming. 2014-10-24 11:49:46 +02:00
IceHelpers.cpp Renaming. 2014-10-24 11:49:46 +02:00
IceHelpers.h Renaming. 2014-10-24 11:49:46 +02:00
License.txt Renaming. 2014-10-24 11:49:46 +02:00
License.txt.bak Renaming. 2014-10-24 11:49:46 +02:00
OBBMeshQuery.cpp Renaming. 2014-10-24 11:49:46 +02:00
OBBMeshQuery.h Renaming. 2014-10-24 11:49:46 +02:00
OpcodeArraySAPTest.cpp Renaming. 2014-10-24 11:49:46 +02:00
OpcodeArraySAPTest.h Renaming. 2014-10-24 11:49:46 +02:00
Profiling.h Renaming. 2014-10-24 11:49:46 +02:00
ReadMe.txt Renaming. 2014-10-24 11:49:46 +02:00
RenderingHelpers.cpp Renaming. 2014-10-24 11:49:46 +02:00
RenderingHelpers.h Renaming. 2014-10-24 11:49:46 +02:00
SphereMeshQuery.cpp Renaming. 2014-10-24 11:49:46 +02:00
SphereMeshQuery.h Renaming. 2014-10-24 11:49:46 +02:00
stdafx.cpp Renaming. 2014-10-24 11:49:46 +02:00
stdafx.h Renaming. 2014-10-24 11:49:46 +02:00
Terrain.cpp Renaming. 2014-10-24 11:49:46 +02:00
Terrain.h Renaming. 2014-10-24 11:49:46 +02: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