Commit Graph

312 Commits

Author SHA1 Message Date
erwin.coumans
c1a10fd1fe Add support for part/triangle id for GIMPACT.
Thanks Alex Silverman:
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2032
2008-04-07 19:37:04 +00:00
erwin.coumans
8ddbf12f1a only move 10% of objects
added relative path to Bullet projectfiles (math/collision)
2008-04-02 19:22:08 +00:00
erwin.coumans
1ef4c721a0 CDTestFramework, OPCODE, ICE redistributed under the ZLib License, with permission of Pierre Terdiman
Added Bullet SAP/MultiSAP support by Erwin Coumans (BulletSAPCompleteBoxPruningTest.*)
AABB tree broadphase by Nathanael Presson (btDbvt.*, DbvtTest.*)
2008-04-02 18:05:36 +00:00
john.mccutchan
ba27e0522b Add posix thread backend to BulletMultiThreaded. Contributed by Enrico. 2008-04-01 18:32:41 +00:00
erwin.coumans
64df6edf39 reverted DISABLE_CELL_DMA_READ_ONLY
commented out printf
2008-04-01 00:29:21 +00:00
erwin.coumans
b12c52efa8 removed AlternativeCollisionAlgorithms, and moved btBoxBoxDetector from Extras into Bullet core collision detection
Re-distribute ODE box-box under the ZLib license as part of Bullet, with permission of Russell L. Smith.
2008-03-30 20:54:14 +00:00
erwin.coumans
a9080f2984 removed quickstep from Extras folder, into Bullet core as optional constraint solver.
Re-distributed under the Zlib license with permission from Russel L. Smith.
2008-03-30 20:51:49 +00:00
john.mccutchan
1464097327 Minor changes to SpuBatchRaycaster
Add DISABLE_CELL_DMA_GET_READ_ONLY define to SpuCollisionShapes
2008-03-28 19:10:46 +00:00
john.mccutchan
d775191eff Fix memory leak in btShapeHull 2008-03-27 21:17:47 +00:00
erwin.coumans
65bb612598 - added quickSort to btAlignedObjectArray (has generally better performance then heapSort)
- replaced all usage of heapSort by quickSort
- finished btMultiSapBroadphase. Still some work to be done to increase performance (faster add/remove from child broadphases. 
  uses currently AABB tree to locate child broadphase (should use grid), and sorted array takes too much time.
2008-03-16 04:30:43 +00:00
john.mccutchan
3b9e114d9b Ensure that the dom is instantiated inside registerRigidBody and registerConstraint.
Add a reset method to the colladaconverter so that the user can reuse the same converter.
2008-03-14 18:46:03 +00:00
john.mccutchan
fde2551637 Implement deRegisterConstraint and deRegisterRigidBody.
Add getName method for querying the dom for the name of a constraint or rigid body.
2008-03-13 20:57:23 +00:00
erwin.coumans
fe5386a5c8 Made the move from sourceforge to googlecode (no svn sync any longer)
Fixed BulletColladaConverter load/save
Removed btTypedUserInfo
Added btHashMap
Fixed btCapsuleShape
2008-03-13 05:16:42 +00:00
ejcoumans
f77a4f1494 use newton-rapson iteration for more precise normalize() method 2008-02-28 07:11:29 +00:00
johnmccutchan
94586390b6 IBM CELL SDK 3.0 fixes 2008-02-28 00:07:00 +00:00
ejcoumans
f51ac89dbe add support for 16bit indices and 3-float vertices (instead of btVector3 which is 4float) in
in btTriangleMesh container and ColladaConverter.

btTriangleMesh now derives from btTriangleIndexVertexArray, so it can be used for meshes on SPU
2008-02-18 04:23:50 +00:00
ejcoumans
9aec3255ef add support for 16bit indices and 3-float vertices (instead of btVector3 which is 4float) in
in btTriangleMesh container and ColladaConverter.

compile issue with PlatformDefinitions in GDC demo.
2008-02-18 01:37:30 +00:00
ejcoumans
a8951e27b3 improved COLLADA Physics export support, add render meshes, instance physics/visual scene 2008-02-17 00:06:30 +00:00
johnmccutchan
b0403a8ee4 Add notes about future optimization possibilities. 2008-02-14 22:15:25 +00:00
johnmccutchan
594963b25d Optimization work on SpuRaycastTask:
For ray vs. optimized bvh mesh traverse tree once for entire packet of rays
Avoid DMAing ray output data until we have a hit
2008-02-14 22:11:56 +00:00
ejcoumans
fe426229a7 Add 16bit indices support for Raycast + add alignment 2008-02-13 22:22:42 +00:00
johnmccutchan
abc0391742 Use btAlignedAlloc/btAlignedFree 2008-02-13 19:10:45 +00:00
ejcoumans
fc333d2e18 updated Jam and CMake build files for new Extras/ConvexHull library 2008-02-13 08:15:58 +00:00
ejcoumans
eeb78b8d45 free memory for btShapeHulls, keep track of it in GL_ShapeDrawer.
move btShapeHull and btConvexHull into its own library in Extras/ConvexHull (it allocates memory using mem/delete and refactoring into using btAlignedAlloc/Free takes too much time)
fix heightfield / btOptimizedBvh for quantization, so that raycast can use quantized aabb (clamp up for maxima and down for minima)

work-in-progress (update projectfiles etc)
2008-02-13 07:14:19 +00:00
johnmccutchan
98006e5607 Tweaks to SpuBatchRaycast code 2008-02-13 03:10:53 +00:00
ejcoumans
1d576dd0af added COLLADA domAsset (authoring tool/upaxis), added dummy time that complies with COLLADA (needs fixing), fixed include path again (relative to current folder) 2008-02-12 23:44:21 +00:00
ejcoumans
c1bceede01 existing projectfiles include Extras/BulletMultiThreaded, so we can't have
-#include "BulletMultiThreaded/PlatformDefinitions.h"
but
+#include "PlatformDefinitions.h"
2008-02-12 20:54:07 +00:00
johnmccutchan
2ca9503eb5 Fix include path 2008-02-12 02:36:35 +00:00
ejcoumans
fe4e81ebff - support both 32bit and 16bit indices in ColladaConverter
- added triangle part/index into btManifoldPoint
2008-02-09 03:34:53 +00:00
ejcoumans
6b3587a505 moved implementation from ColladaDemo into ColladaConverter, so that it can be used without change with any btDynamicsWorld. 2008-02-08 23:46:37 +00:00
johnmccutchan
c374217953 Use the rigid body angular factor in the parallel solver. 2008-02-08 20:02:26 +00:00
ejcoumans
71b58309cf add support for X,Z axis aligned capsules 2008-02-08 01:10:34 +00:00
ejcoumans
661176bfed coding convention in Bullet is to keep return type on same line as method:
btClassName
{
  void myTest();
};

void myTest()
{

}

int getNumObjects()
{
}
2008-02-07 08:12:08 +00:00
ejcoumans
781440edc8 warning C4715: 'ColladaConverter::findGeometry' : not all control paths return a value
temp fix for snprintf, _snprintf under WIN32
2008-02-07 08:05:58 +00:00
johnmccutchan
8e31abc265 Lots of changes to ColladaConverter: btCollisionObject, btCollisionShape and btTypedConstraint
now hold pointers to dom elements in their btTypedUserInfo fields. This makes the ColladaConverter
less fragile.
2008-02-05 19:00:32 +00:00
johnmccutchan
31c1406fd4 Define spu_printf for Linux 2008-02-05 18:58:28 +00:00
ejcoumans
31a88b386f error C2086: 'j' : redefinition 2008-02-05 06:35:25 +00:00
ejcoumans
37837f204a missing return in main.cpp
remove unwanted libxml files (testfiles containing 'main')
2008-02-05 06:14:51 +00:00
ejcoumans
984811f459 fixes to compile/share more code between SPU and PPU 2008-02-01 03:44:17 +00:00
ejcoumans
5399a9ae8c fixes to compile/share more code between SPU and PPU 2008-02-01 03:35:54 +00:00
ejcoumans
1cdd5bf67f add support for 16bit and 32bit indices in SPU/BulletMultiThreaded version of btBvhTriangleMeshShape 2008-02-01 02:13:24 +00:00
johnmccutchan
995b4d7b92 Added some TODO items to ColladaConverter.cpp 2008-01-30 01:59:52 +00:00
johnmccutchan
7c40589831 Added full featured saving support including collision geometry and constraints. 2008-01-30 01:53:08 +00:00
ejcoumans
5c40e615bd make source compile under MinGW32
todo: link against OpenGL GLU/GLUT.
2008-01-30 01:09:01 +00:00
ejcoumans
30e1c56520 fix doubleprecision build 2008-01-24 02:40:15 +00:00
ejcoumans
af85183a48 fixed to get MacOSX to compile, added new files to CMakeLists.txt 2008-01-23 23:13:31 +00:00
johnmccutchan
be0beaf7bd Refactored SpuGatheringCollisionTask to use code in SpuCollisionShapes.
More work on SpuBatchRaycaster. It is working now on the PS3 and Windows.
2008-01-14 23:44:07 +00:00
ejcoumans
6ba6805b43 bugfix: need to use returned address of cellDmaSmallGetReadOnly
Thanks John McCutchan for pointing this out. Affects non-Cell BulletMultiThreaded.
2008-01-12 00:07:39 +00:00
johnmccutchan
702323f27a Initial work on batch raycast support. 2008-01-08 23:38:33 +00:00
ejcoumans
abfe5c81f7 ADD_DEFINITIONS( -D_CRT_SECURE_NO_DEPRECATE) for COLLADA_DOM/CMakeLists.txt, so that msvc stop warning/complaining about sprintf etc. 2008-01-03 04:59:07 +00:00