ejcoumans
8a28c7940a
demo cleanup part 3 (fixed memory leaks in raytracer demo and linear convex cast demo)
2007-12-07 01:33:40 +00:00
ejcoumans
e5720170f0
demo cleanup part 2 (gimpact memory leaks)
2007-12-07 01:21:37 +00:00
ejcoumans
2e4912b67a
demo cleanup part 1
2007-12-07 00:27:30 +00:00
ejcoumans
71fb40b775
some demo cleanup, part 0
2007-12-06 23:58:50 +00:00
ejcoumans
c09923dc20
fixed issue with fixed rigid bodies: need to create with mass == 0
2007-12-06 04:44:04 +00:00
ejcoumans
8f6bffe1f6
updated autogenerated projectfiles for new demos
2007-12-06 03:07:24 +00:00
ejcoumans
4d260bb736
added new demos to build system, fixed timing report (is in milliseconds -> ms)
2007-12-06 03:05:57 +00:00
ejcoumans
6f80b98a67
- fix issue with convex cast: results further away (larger hitfraction) could overwrite closer results
...
- minor naming convention thing (variables start with lower case)
- renamed MotorDemo
- added ConcaveConvexcastDemo, Thanks John McCutchan (JMC)
2007-12-06 02:54:29 +00:00
ejcoumans
35d2ae870c
added MotorControl demo, thanks to eddybox
2007-12-06 02:17:15 +00:00
ejcoumans
d53f2875e5
minor fixes, only btBvhTriangleMeshShape should provide getShapeType(), add get methods for motor limits in btHingeConstraint.
2007-12-06 01:41:07 +00:00
ejcoumans
1245995c84
Added convex cast query to collision world.
...
Thanks to John McCutchan (JMC)
2007-12-06 00:51:24 +00:00
ejcoumans
d2973ed48a
added workaround for OpenGL bug in Mac OS X 10.5.0 (Leopard)
...
added concave raycast demo
Thanks to John Rowe (JMC)
2007-12-05 20:34:32 +00:00
ejcoumans
a64cc39faf
Fixed issues that prevent Linux version to compile. Thanks to Enrico for reporting and patch, see
...
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1747
2007-12-04 02:22:05 +00:00
ejcoumans
1c82712b72
added newline at end, to avoid warning.
...
Thanks verizon for reporting!
2007-12-01 19:56:18 +00:00
ejcoumans
638c6f42e1
Added ConcaveRaycastDemo, thanks to John Rowe (JMC) for the contribution!
2007-11-30 20:38:47 +00:00
ejcoumans
86f0575291
fixed misleading name 'numTriangleIndices' into 'numTriangles', thanks Sean Tasker for reporting:
...
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1733
2007-11-30 06:59:12 +00:00
ejcoumans
f2c9588969
Added raycast against trianglemesh. Will be extended to object cast soon.
...
Thanks John Rowe (JMC)
2007-11-29 21:24:51 +00:00
ejcoumans
174f6009bb
make getNumPoints const correct, add const getPoints(). Thanks Dirk
...
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1725
2007-11-28 20:14:01 +00:00
ejcoumans
eb9429ad31
need to include btQuickprof.h, instead of btQuickProf.h (breaks case sensitive systems)
...
Thanks ola for reporting this!
2007-11-28 18:55:28 +00:00
ejcoumans
e252f5cadd
Bugfix: allow btCollisionObjects (non-btRigidBody) to interact properly with btRigidBody for cache-friendly btSequentialImpulseConstraintSolver.
...
Thanks Andy O'Neil for pointing this out.
2007-11-28 03:17:09 +00:00
ejcoumans
5c1609fb23
don't fail if spheres have identical center, use arbitrary separating normal (1,0,0)
...
Thanks Sean Tasker for reporting!
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1681
2007-11-21 04:17:00 +00:00
ejcoumans
58014b9848
2007-11-21 04:01:12 +00:00
ejcoumans
0da5790e5c
small update on hierarchical timing integration
2007-11-21 03:49:23 +00:00
ejcoumans
cab75b53ec
added hierarchical profiling (needs more cleanup)
...
avoid dynamic allocations in btRaycastVehicle
2007-11-21 03:00:40 +00:00
ejcoumans
89382c0dc4
refreshContactPoints() is not needed anymore, it is already done inside collisionWorld->performDiscreteCollisionDetection();
2007-11-17 17:25:38 +00:00
ejcoumans
f5fb2d77eb
fixed include path (don't use system include <>, but "" instead)
...
Thanks to Stephen (shatcher) for reporting!
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1696&p=6412#p6412
2007-11-17 17:16:19 +00:00
ejcoumans
56e072ccc6
fixed memory leak in btMultiSapBroadphase,
...
fixed hash function (typo, should use 2 proxies)
Thanks to Stephen (shatcher) for reporting and fixes!
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1696
2007-11-17 17:07:58 +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
dd934ebd02
modified Jamfile for GIMPACT, to properly install headerfiles
2007-11-08 17:57:04 +00:00
ejcoumans
7ef4eab189
use better tolerance, instead of hard-coded 0.0001 inside the btMultiSphereShape supporting vector implementation.
...
Thanks to Phil Knight for reporting and fixing this issue (it could lead to failing collisions under certain conditions).
2007-11-07 13:39:05 +00:00
ejcoumans
126f46cb99
attempt to try to 'install' the headers of GIMPACT
2007-11-07 12:35:57 +00:00
ejcoumans
282cbdcdd9
applied patch contributed by Tim Johansson: adds support for multiple mesh parts in combination with bvh, add short index support for meshes.
2007-11-06 06:47:04 +00:00
ejcoumans
47afa86482
added version define BT_BULLET_VERSION
2007-11-05 07:48:51 +00:00
ejcoumans
12c39a9d9f
fixes in glui.h, forward declare classes
2007-11-05 07:38:22 +00:00
ejcoumans
a03e5d7a56
added main.o (main.cpp) in ibm cell sdk makefile
2007-11-05 07:28:53 +00:00
ejcoumans
e755d1ed4e
added some comments, to clarify unit-test/brute force implementations.
2007-11-02 01:14:29 +00:00
ejcoumans
974ad5ac1b
minor changes to make text better readable
2007-11-02 00:40:56 +00:00
ejcoumans
0723448895
disabled btTriangleMeshShape, to avoid usage, it is very slow performing for larger triangle meshes. Please use the derived btBvhTriangleMeshShape instead.
2007-11-01 23:59:22 +00:00
ejcoumans
c3ac939a94
removed debug drawer, should be added externally (in main.cpp or in AllBulletDemos)
2007-11-01 23:44:50 +00:00
ejcoumans
2aec2a9969
Added some comments about the btPersistentManifold (contact point cache for potential overlapping pairs)
...
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1608
2007-11-01 23:42:17 +00:00
ejcoumans
dc4aacb03b
add ability for user pair callback, this can be used to keep track of objects, overlapping a certain AABB/shape.
2007-11-01 18:21:17 +00:00
ejcoumans
b70f5cda39
more demo cleanup
2007-11-01 06:01:07 +00:00
ejcoumans
f3424f491c
cleanup memory in CcdPhysicsDemo, RagdollDemo, ConcaveDemo, BspDemo (work in progress)
2007-11-01 05:50:50 +00:00
ejcoumans
a146bbc293
more memory leak fixes in demo and btSimpleBroadphase.
...
- deleting object (END key) needs to release
- call destructor of pair cache
2007-10-31 08:17:48 +00:00
ejcoumans
a101719687
- removed warnings in GLUI, thanks Jorrit Tyberghein for the patch!
...
- removed memory leaks from BasicDemo and Bullet library (other demos needs to be cleaned up!)
- added memory leak debugging functionality in btAlignedAlloc.h: #define BT_DEBUG_MEMORY_ALLOCATIONS
2007-10-31 08:00:03 +00:00
ejcoumans
42fc5b37cc
fixed drawing issue with new AllInOne demos, glClear/glutSwapBuffers was called twice each frame.
2007-10-31 04:39:45 +00:00
ejcoumans
c36133cbd5
- removed obsolete/unused method in btTransform.h
...
- enable pause mode in AllBulletDemos.
- allow verbose output of time stepping in CcdPhysicsDemo
2007-10-27 00:17:20 +00:00
ejcoumans
1b7e5ad638
updated Raytracer demo, to enable non-world ray test
...
disable USE_WORLD_RAYCAST to see low level method to do ray testing, using one of the convex casting methods (tracing a point against a convex)
2007-10-26 21:40:57 +00:00
ejcoumans
fd1e672fcb
updated demos to show debug display with new AllBulletDemos (AllInOne),
...
added btDynamicsWorld::getWorldType
2007-10-25 07:07:12 +00:00
ejcoumans
2a75e186ec
updated CMake buildfiles
2007-10-25 05:31:34 +00:00
ejcoumans
d17a8dae0e
updated autogenerated msvc projectfiles, moved destructor in CPP file, it was causing some random crash under msvc 6.0 (todo find out why)
2007-10-25 05:11:19 +00:00
ejcoumans
5f5dfcf6b8
added btGetVersion(), return integer without the fraction: for example 2.64 returns 264.
...
moved more demos into AllBulletDemos
2007-10-25 04:37:48 +00:00
ejcoumans
7c5fbb9fbd
added main.cpp
2007-10-24 02:00:42 +00:00
ejcoumans
5e343b54b2
updated GimpactTestDemo into AllBulletDemos
2007-10-24 02:00:27 +00:00
ejcoumans
d10eac87c6
updated autogenerated msvc projectfiles, for AllBulletDemos
2007-10-23 06:33:06 +00:00
ejcoumans
9ffadec490
updated CMake file
2007-10-23 05:50:45 +00:00
ejcoumans
ce0ce3b135
updated AllBulletDemo
2007-10-23 05:46:16 +00:00
ejcoumans
aa28f8c223
Updated allbulletdemos glui framework, to work better with DemoApplication.
2007-10-23 02:22:18 +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
ec76f2e0a3
- keep track of all memory allocations (gNumAllignedAllocs/gNumAllignedFree)
...
All memory allocations in Bullet go through btAlignedAlloc/btAlignedFree
Fix in hinge constraint constructors, thanks Marcus Hennix!
2007-10-22 22:23:10 +00:00
ejcoumans
1b70c4e5c9
added preliminary broadphase/collision C-API
2007-10-21 22:52:11 +00:00
ejcoumans
c80d1532f6
made access to mesh interface more consistent, so btConvexTriangleMeshShape uses also 'getMeshInterface', similar to btTriangleMeshShape.
...
Thanks Et3D for pointing this out here: http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1590
2007-10-21 21:04:04 +00:00
ejcoumans
b888f2d994
updated autogenerated msvc projectfiles
2007-10-21 06:08:13 +00:00
ejcoumans
c30a26e990
moved demo files
2007-10-21 06:05:42 +00:00
ejcoumans
ed342ede3b
moved FrameWork into Demos folder
2007-10-21 05:59:16 +00:00
ejcoumans
554d2c7e15
update Jamfile.in to add Examples folder
2007-10-21 05:36:33 +00:00
ejcoumans
c890560063
upgrade version
2007-10-21 05:22:12 +00:00
ejcoumans
53b77629b8
updated cmake build
2007-10-21 05:17:28 +00:00
ejcoumans
a6d1b74568
renamed FrameWork to AllBulletDemos
2007-10-21 05:07:30 +00:00
ejcoumans
e56ac06fe2
added support for FrameWork demo running CcdPhysicsDemo,BasicDemo,BspDemo
2007-10-21 04:59:55 +00:00
ejcoumans
095f5f42a9
allow some existing demos to run in the TestFrameWork
2007-10-21 04:22:43 +00:00
ejcoumans
85b4b149b7
missed one dynamicCast
2007-10-21 03:15:14 +00:00
ejcoumans
11a0589732
removed the need for RTTI/runtime type checking/dynamic_cast in glui. It is unnecessary to overhaul the build systems just for this feature. Replaced by upcasting virtual methods
...
if ( !dynamic_cast<GLUI_Rollout*>(this) &&
becomes
if ( !this->dynamicCastGLUI_Rollout() &&
etc.
2007-10-21 03:02:11 +00:00
ejcoumans
fb1a4bd37e
for now use default GLUT, we check out freeglut later
2007-10-20 16:28:16 +00:00
ejcoumans
49d9b14b14
fixed optional lib dependency in Jam build system for Extras/boxbox and Extras/quickstep
2007-10-20 15:35:36 +00:00
ejcoumans
e7caaa28d3
re-organized memory (stack and pool) allocators. this lets the user pass in their own memory allocators.
2007-10-20 02:23:39 +00:00
ejcoumans
1e4e52306f
don't crash when running out of pool memory, just use btAlignedAlloc/btAlignedFree instead
2007-10-19 21:25:58 +00:00
ejcoumans
c625e756fe
replaced btSimdMinMax.h by btMinMax.h in a few remaining places
2007-10-19 20:48:06 +00:00
ejcoumans
dbe502c5a8
prepare for Box2D style gui demo
2007-10-18 06:37:36 +00:00
ejcoumans
8f7b132d23
add glui library
2007-10-18 04:59:58 +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
239d88985f
fix for heightfield, thanks SMJ/Spangle and Jay Lee for testing.
...
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1482
2007-10-16 21:57:05 +00:00
ejcoumans
b5a498e8bf
add get method for persistent manifold
2007-10-16 20:00:34 +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
1d8a2539dc
updated fact that 2.63 contains working Libspe2 version
2007-10-15 06:25:08 +00:00
ejcoumans
057d09eef4
added build instructions for BulletSpuLibspe2
2007-10-15 06:16:13 +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
ejcoumans
23921729ea
adding padding to broadphase proxy, to make it 16 bytes (helps some platforms to run)
2007-10-15 02:35:55 +00:00
ejcoumans
e13cbe06ba
removed unnecessary files from Libspe2 Makefile
2007-10-15 01:18:32 +00:00
ejcoumans
31f1ba8e47
Added support for IBM CELL SDK (Playstation 3 Linux, CellBlade) SPU Libspe2 compilation/linking. It runs but gives a bus-error, so some DMA alignment issue is still there.
...
This is interesting, because the same code runs fine on Playstation 3 with the Game SDK.
2007-10-15 01:07:49 +00:00
ejcoumans
ffcdb0f93d
BulletMultiThreaded needs to refreshContactPoint for contact manifold (this has been moved to the collision detector, instead of constraint solver)
...
BulletMultiThreaded support function for box shouldn't compensate for the collision margin anymore
2007-10-14 01:51:07 +00:00
ejcoumans
43b0ecd71a
2007-10-14 00:39:01 +00:00
ejcoumans
71abe4aeca
reduced number of sphere in Basic demo, some system have slow rendering of spheres.
...
removed another warning.
2007-10-14 00:18:49 +00:00
ejcoumans
913b141c23
fix some warning, need virtual destructor
2007-10-14 00:12:22 +00:00
ejcoumans
1a926dac9c
removed obsolete GIMPACT 0.2 docs
2007-10-14 00:05:04 +00:00
ejcoumans
715611060d
integrated StressTest into BasicDemo.
2007-10-14 00:03:10 +00:00
ejcoumans
ea3dfb4ca3
made 'calculateLocalInertia' const, thanks to cgripeos, see http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1514
...
- applied a large patch to remove warnings
Thanks to Enrico, see http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1568
- removed SSE includes, added #incude <string.h> for memset in Extras/quickstep, thanks Eternl Knight
- disabled 16-byte alignement on btQuadWord class, it causes problems under PS3 Linux. Need to check out why.
2007-10-13 23:41:37 +00:00
ejcoumans
0aff20fc94
fixed issue, double precision doesn't compile with SSE
2007-10-12 08:23:43 +00:00
ejcoumans
14171b1c05
autogenerated MSVC projectfiles with new LibBulletColladaConverter
2007-10-12 08:03:35 +00:00