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
ejcoumans
c09a09d169
replaced cellDmaSmallGet by mfc command
2007-12-15 03:03:09 +00:00
ejcoumans
61ffa6a1b5
Updated cmake files, added header files, Thanks John McCutchan
...
re-autogenerated msvc projectfiles with new HelloWorld/BulletMultiThreaded Demo
Minor fixes
2007-12-15 02:48:24 +00:00
ejcoumans
6dff743d68
Cleanup some #defines in parallel collision detector, add conditional freeglut support to return from glutMainLoop.
2007-12-15 00:40:34 +00:00
ejcoumans
c5e6044e53
added MultiThreadedDemo
2007-12-14 07:17:35 +00:00
ejcoumans
d7354e5387
get SequentialThreadSupport to compile on the Mac
2007-12-14 06:21:51 +00:00
ejcoumans
599579803e
Added portable non-parallel implementation for btThreadSupportInterface: SequentialThreadSupport, Thanks John McCutchan (JMC)
...
Added CMake support for BulletMultiThreaded.
2007-12-13 03:47:47 +00:00
ejcoumans
8d10a6ba1d
Fix friction and restitution in BulletMultiThreaded (collision detection and parallel solver)
...
Thanks to lsgmasa for reporting, see http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1758
2007-12-12 03:41:35 +00:00
johnmccutchan
66cdbb9659
Fixes for IBM Cell SDK 3.0 by Jochen Roth
2007-12-11 19:49:09 +00:00
ejcoumans
58014b9848
2007-11-21 04:01:12 +00:00
ejcoumans
cab75b53ec
added hierarchical profiling (needs more cleanup)
...
avoid dynamic allocations in btRaycastVehicle
2007-11-21 03:00:40 +00:00
ejcoumans
56c69bc42e
- stop threads when exiting demo that uses multi threading
...
- improved friction model for parallel solver (align the friction direction with projected velocity, unless the projection is close to zero (only then use 2 arbitrary axis orthogonal to contact normal)
2007-11-11 22:48:08 +00:00
ejcoumans
232f41353f
fixed issue with BulletMultiThreaded parallel solver friction constraint initialization, and removed unused velocityImpulse.
2007-11-11 18:39:47 +00:00
ejcoumans
550c500ca7
Set debug drawer for demo
...
Fixed issue with toggle of activation in the DemoApplication
added hint/todo for Win32ThreadSupport
2007-10-23 01:16:31 +00:00
ejcoumans
c625e756fe
replaced btSimdMinMax.h by btMinMax.h in a few remaining places
2007-10-19 20:48:06 +00:00
ejcoumans
830c096e10
added a cellDmaLargeGetReadOnly/cellDmaGetReadOnly, which avoid memcpy on non-SPU platforms.
...
enabled it for triangle mesh aabb DMA transfers. Todo: check if it is worth also modifying other parts of the code to avoid the memcpy into the 256kb Task memory.
2007-10-16 23:58:26 +00:00
ejcoumans
6303d98844
- use mfc directly, instead of cellDmaSmallGet (allow sizes under 32 bytes, instead of 16)
...
- align btBroadphaseProxy to 16 bytes
2007-10-16 00:52:23 +00:00
ejcoumans
6797ee41cb
updated BulletMultiThreaded Libspe2 version, it now runs parallel collision detection properly on IBM Cell SDK 2.1, with Playstation 3 Linux on SPUs.
2007-10-15 05:45:12 +00:00