john.mccutchan
f3b417df6c
Modification to SPU collision detection and ray cast code to share implementation of GJK, EPA, Minkowski penetration depth solver, voronoi simplex solver across multi-threaded and non-multi-threaded versions.
2008-09-29 22:48:44 +00:00
erwin.coumans
359c84d3b3
Fix previous commit, accidently removed some aabbMin/aabbMax assignments.
...
move margin calculation for aabb before basis transform.
2008-09-05 00:26:02 +00:00
erwin.coumans
1fbeedc7b9
added a #define around unaligned DMA in SpuFakeDma.cpp
2008-08-29 00:49:31 +00:00
erwin.coumans
af4520801b
+ Fix btSubsimplexConvexCast
...
Thanks to Nacho, http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2422 )
Fix in rendering, GL_STENCIL
+ btTriangleIndexVertexArray indices should be unsigned int/unsigned short int,
+ Made InternalProcessAllTriangles virtual, thanks to
Both thank to Fullmetalcoder, http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2401
+clamp impulse for btPoint2PointConstraint
Thanks to Martijn Reuvers, http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2418
+ Free memory of bvh, pass in scaling factor (optional)
Thanks to Roy Eltham, http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2375
2008-07-31 19:44:28 +00:00
erwin.coumans
9cd83c004b
+ add dummy getcwd/getenv for PS3 compatibility
...
+ disable HAVE_SIGNAL_H 0 for LibXML
+ removed unused variable in btCollisionWorld
+ removed unused variable in btSequentialImpulseConstraintSolver
2008-07-28 23:15:43 +00:00
erwin.coumans
6f8b396575
use different namespace for SPU version of btGjkEpa2 to avoid name clashes.
2008-07-14 17:19:50 +00:00
erwin.coumans
b66e5350d0
rename HasHit method to hasHit
...
rename AddSingleResult to addSingleResult
moved collision filtering for btCollisionWorld::rayTest and btCollisionWorld::convexSweepTest from argument to the callback needsCollision
2008-07-09 23:30:21 +00:00
erwin.coumans
dcd57f333b
+ improved KinematicCharacterController
...
+ improved btSubsimplexConvexCast, btContinuousConvexCollision and btGjkConvexCast to support configuration that start in touching/penetration, required for 'sliding'.
+ added files to CMakeLists.txt for CharacterController
+ bump up version to 2.70 (preparation for beta)
2008-07-09 00:08:49 +00:00
erwin.coumans
e854a5133b
add support for non-power-of-2 dma sizes (for small dma transfers)
...
add setBroadphase
2008-06-24 02:15:06 +00:00
erwin.coumans
d16c1b615f
pass in reference to actual contact point in cache, rather then temporary value, should fix issue 53
...
http://code.google.com/p/bullet/issues/detail?id=53
Thanks Alex Silverman for reporting and suggested fix
Changed addContactPoint to lowercase
2008-06-22 03:30:55 +00:00
erwin.coumans
35083aae4a
moved predictUnconstraintMotion to SPU
2008-06-04 02:39:37 +00:00
erwin.coumans
8827d5dbfb
undo btQuadWord changes, added integration in parallel SpuSampleTask
2008-06-04 02:01:41 +00:00
erwin.coumans
5e3777ddd2
added sample task, for multi threading tests
...
added union vec_float4 m_Vec128; for btVector3 for SPU and PPU.
2008-06-03 21:24:34 +00:00
erwin.coumans
f8e5481612
Added method to collect all persistent contact manifolds, given a btBroadphasePair (collision algorithm)
...
virtual void getAllContactManifolds(btManifoldArray& manifoldArray)
See Demos/CharacterDemo/CharacterDemo.cpp for example usage of getAllContactManifolds
Added btDbvtBroadphase to btBulletCollisionCommon.h headerfile
Enable soft body vs concave (albeit slow)
Improved contact point debug rendering (moved from constraint solver into debugDrawWorld)
2008-05-24 04:23:00 +00:00
erwin.coumans
ea86559480
removed some warnings
2008-05-21 23:29:35 +00:00
erwin.coumans
649709dc2d
updated build files
2008-05-10 19:24:39 +00:00
john.mccutchan
3268cab6d7
Add EPA penetration depth solver support to bullet multithreaded.
...
Update SubSimplexConvexCast algorithm used in bullet multithreaded.
2008-05-06 00:44:18 +00:00
john.mccutchan
7066c43d79
Fix normals being lost in batch raycaster
2008-04-08 22:47:36 +00:00
erwin.coumans
daf293c43e
don't try to include <pthread> if USE_PTHREADS is not defined
2008-04-08 02:13:05 +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
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
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
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
johnmccutchan
94586390b6
IBM CELL SDK 3.0 fixes
2008-02-28 00:07:00 +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
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
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
johnmccutchan
31c1406fd4
Define spu_printf for Linux
2008-02-05 18:58:28 +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
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
d051e2eacb
First commit of 2008, Happy New Year!
...
Add option to compile without btClock and without profiling: comment out USE_BT_CLOCK, and #define BT_NO_PROFILE
Fixed typo/case in #include "LinearMath/btQuickProf.h", in SpuParallelSolver.cpp
Removed unnecessary files from libxml CMakeLists.txt
2008-01-03 04:42:00 +00:00
ejcoumans
17a214a2b3
- Added btRigidBodyConstructionInfo, to make it easier to set individual setting (and leave other untouched) during rigid body construction.
...
This was harder using default arguments. Thanks Vangelis Kokkevis for pointing this out.
- Fixed memoryleak in the ConstraintDemo and Raytracer demo.
- fixed issue with clearing forces/gravity at the end of the stepSimulation, instead of during internalSingleStepSimulation.
Thanks chunky for pointing this out: http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1780
- Disabled additional damping in rigid body by default, but enable it in most demos. Set btRigidBodyConstructionInfo m_additionalDamping to true to enable this.
- Removed obsolete QUICKPROF BEGIN/END_PROFILE, and enabled BT_PROFILE. Profiling is enabled by default (see Bullet/Demos/OpenGL/DemoApplication.cpp how to use this).
User can switch off profiling by enabling define BT_NO_PROFILE in Bullet/src/btQuickprof.h.
2007-12-17 04:26:36 +00:00