bullet3/Extras/CDTestFramework
2009-09-11 22:15:55 +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 Add support for broadphase acceleration of convex cast (re-use rayTest implementation with an added aabb min/max, zero for rays) 2008-11-19 00:38:29 +00:00
Opcode fix build on systems without CUDA, 2009-02-06 06:26:44 +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 fix some compile errors in Extras/CDTestFramework (cross/dot are no longer global functions) 2009-09-11 22:15:55 +00:00
BulletSAPCompleteBoxPruningTest.h -Divide speed by 10 for more useful results as recommended by Pierre Terdiman. 2008-09-11 11:32:38 +00:00
Camera.cpp Raise number of objects to 16384, move all objects at 0.01 speed, to show worst case behaviour (and CUDA benefits) 2008-11-15 23:44:40 +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 CPU implementation of btCudaBroadphase added. 2008-11-25 03:16:11 +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 fix build on systems without CUDA, 2009-02-06 06:26:44 +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 fix build on systems without CUDA, 2009-02-06 06:26:44 +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 reverted back to newer btDbvtBroadphase, and applied Nathanael's fixes. 2008-09-13 08:06:39 +00:00
OpcodeArraySAPTest.h -Divide speed by 10 for more useful results as recommended by Pierre Terdiman. 2008-09-11 11:32:38 +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