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
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
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
1baa61bc8d
function isn't inline
2007-10-11 03:39:49 +00:00
ejcoumans
0405ce278a
use size_t instead of int, for allocator
...
added hashtable based PairManager, thanks Pierre Terdiman and Erin Catto
improved friction in 'cachefriendly' solver
moved 'refreshcontactpoints' into collision detection, instead of solver
avoid linear search for contact manifolds, by storing an index
ignore margin for sphere shape (its entire radius is already margin)
avoid alignment checks in BVH serialization, they don't compile on 64-bit architectures
made 'bomb' box more heavy
2007-10-11 03:17:54 +00:00
ejcoumans
a38de566c6
make sure aligned structures/classes use the btAlignedAlloc/btAlignedFree, by overriding the operator new/delete for that struct/class.
...
integrated some contributions from IBM Germany for libspe2
2007-09-25 06:41:57 +00:00
ejcoumans
87df3d0f32
Based on feedback from another professional game company, there are several improvements, including some API change...
...
Some dynamic memory allocations have been replace by pool allocation or stack allocations.
quantized aabb versus quantized aabb overlap check is made branch-free (helps a lot on consoles PS3/XBox 360)
Collision algorithms are now created through a new btDefaultCollisionConfiguration, to decouple dependency (this is the API change):
Example:
btDefaultCollisionConfiguration* collisionConfiguration = new btDefaultCollisionConfiguration();
m_dispatcher = new btCollisionDispatcher(collisionConfiguration);
2007-09-08 05:40:01 +00:00
ejcoumans
685138d033
include paths should not be relative starting with "../
...
It leads to problems with certain compilers, when Bullet/src is located in a long pathname.
Keep include path starting with "LinearMath/, "BulletCollision/, or "BulletDynamics/
2007-07-14 05:08:57 +00:00
ejcoumans
7cd651c266
pass collision shapes as const. fixed some issues with continuous convex cast (resulting hitnormal was not initialized properly, results not proper)
2007-07-11 02:16:39 +00:00
ejcoumans
cdc8485db9
updated version, added 'singleObjectQuery' preliminary collision query (convex cast etc)
...
added filtering for raycast, thanks Jacky_J
const propagated through a few files
added btHeightfieldTerrainShape.cpp to cmake buildsystem
2007-07-03 05:10:20 +00:00
ejcoumans
68b4f60033
fixed to potential issues, reported by marshall. Thanks!
2007-06-13 20:05:02 +00:00
ejcoumans
bc3f9535ad
cleaned up, removed warning under MSVC2005 (Level 4)
...
Mostly related to alignment and unused variables
2007-04-13 01:37:21 +00:00
ejcoumans
853bafb7ae
Get the open source Bullet library more in sync with Playstation SPU version
2007-04-10 01:02:58 +00:00
ejcoumans
151cd4b9da
prepare and added constraint solver optimizations, not activated yet.
2007-03-17 00:09:12 +00:00
ejcoumans
054d672592
- removed STL from the Bullet library: replace std::vector by btAlignedObjectArray. Also removed the std::set for overlapping pair set, and turned it into an overlapping pair array. The SAP only adds objects, never removed. Removal is postponed for during traversal of overlapping pairs (duplicates and non-overlapping pairs are removed during that traversal).
...
- added heap sort and binary search/linear search to btAlignedObjectArray
- fixed wrong cast, thanks Hamstray, http://www.continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=1015
2007-03-06 09:59:17 +00:00
ejcoumans
42278e58dd
fixes to add improved double-precision for raycasts
2007-02-14 04:10:55 +00:00
sjbaker
e9b21e21a6
Pathnames between #include files that are intended to be used within application code should not depend on the paths to the subdirectories being known to the compiler because this will not always be the case when an end-user includes your headers.
...
Includes of files in the local hierarchy must not use <...> please stick with "..."
2006-12-26 15:33:28 +00:00
ejcoumans
df9230327c
Contribution to add optional double precision floating point support. Define BT_USE_DOUBLE_PRECISION for all involved libraries/apps.
2006-12-16 05:51:30 +00:00
ejcoumans
df0c044228
removed obsolete code, added #ifdef to allow skipping of default registration of collision algorithm (avoid linking of unneeded code)
2006-12-13 22:44:20 +00:00
ejcoumans
6738ed329d
ASSERT -> btAssert
...
Added btStackAlloc to Bullet (right now only used by btGjkEpa)
removed default constructors of btCollisionWorld/btDiscreteDynamicsWorld, to reduce link-time dependencies
2006-11-29 01:52:09 +00:00
ejcoumans
43ab3c67c4
compiler issue with GCC 3.3.5
2006-11-23 06:27:32 +00:00
ejcoumans
7dc6aa215a
some more fixes to get msvc6 happy, and constraint solver: make non-randomizing solver default
2006-11-23 02:57:38 +00:00
ejcoumans
633bb02daa
fix to get msvc 6 to compile, related to 'Allocate' template
2006-11-22 19:41:25 +00:00
sjbaker
15bb51d780
Fixed compilation problem with GCC 3.3.5 - which appears at first glance to be due to a compiler error.
2006-11-20 23:21:05 +00:00
ejcoumans
3adf09f7e3
updated EPA,
...
updated user manual (work in progress)
2006-11-18 03:27:01 +00:00
ejcoumans
b07bb88a2d
Added new EPA penetration depth solver
...
improved gjk/minkowski sampling pd method
added original solver variant, use btSequentialImpulseConstraintSolver2
Added Pierre Terdimans PD testbed
2006-11-16 06:14:12 +00:00
ejcoumans
5a28e96a38
Added a more reliable EPA penetration depth solver, contributed by Nathanael Presson.
2006-11-15 15:40:24 +00:00
ejcoumans
dcdfbe1680
more tweaking to get GJK more reliable
2006-11-15 02:23:45 +00:00
ejcoumans
b5afb11282
Work on some improvements for GJK/PenetrationTestBullet.cpp. if this introduces issue, will need to revert.
2006-11-14 21:53:59 +00:00
ejcoumans
86c27a7c9d
Work on fixing some GJK issues reported by Pierre Terdiman (thanks Pierre for the testbed!)
...
Improved this penetration test with more verbose output
retrieve worldtransform from motionstate when rigidbody gets motionstate assigned
2006-11-11 23:59:51 +00:00
ejcoumans
7d7611f671
epsilon was set too small (below machine epsilon)
2006-11-11 19:52:53 +00:00
ejcoumans
2a1546764e
perform GJK calculations in local space, transform added contact points back into worldspace.
...
Perhaps rethink of adding contact points in local place (might hit complication with compounds)
2006-11-07 20:34:52 +00:00
ejcoumans
074e2b2d3b
improved robustness of penetrations involving triangles and boxes, by adding their 'preferred' penetration directions.
...
added wireframe/solid mode for meshes
updated solid penetration depth solver (comparison in Extras)
2006-11-05 05:12:10 +00:00
ejcoumans
23c64fb0db
more solver experiments, randomize the order of contact points, not just manifolds
...
use #defines for constants, rather then const btScalar
2006-11-04 05:22:36 +00:00
ejcoumans
07873854a4
more small refactoring: some methods were still upper-case.
2006-11-03 04:32:48 +00:00
ejcoumans
4050da0e2f
One of the last parts of the refactoring (hopefully), made most members of btCollisionObject protected.
...
Also did some work on improving the constraint solver.
2006-11-02 03:42:53 +00:00
ejcoumans
b14ccdaa57
rename treshold into thresold (spelling mistake)
...
added cr/linefeed at end of btDefaultMotionState.h
2006-10-30 05:06:46 +00:00
ejcoumans
3fe3b11924
use Dispatcher in ConcaveConvexCollisionAlgorithm (so it uses the registered collision algorithm, not hardcoded convexconcave)
...
improved performance of constraint solver by precalculating the cross product/impulse arm
added collision comparison code: ODE box-box, also sphere-triangle
added safety check into GJK, and an assert for AABB's that are very large
write partid/triangle index outside of GJK
2006-10-28 02:06:19 +00:00
ejcoumans
659207e7a3
removed some obsolete/debugging stuff
2006-10-07 02:18:05 +00:00
ejcoumans
bbe301fff8
lowered safety limit to 32, and added link/comment to forum
2006-10-06 22:01:29 +00:00
ejcoumans
bf847b839a
another large series of changes, related to the refactoring.
...
CompoundShapes are tricky to manage with respect to persistent contact points and swapped order of btCollisionObjects,
During dispatch, finding an algorith etc. order can be swapped.
fixed several other issues, related to SimpleBroadphase (removing a proxy was not working)
2006-10-06 05:22:13 +00:00
ejcoumans
21482e4cab
some minor comment-renames, and moved some data from box/sphere into common convex.
2006-09-28 20:14:10 +00:00
ejcoumans
2b1657b1dd
Refactoring: another huge number of changes, renamed methods to start with lower-case.
2006-09-28 01:11:16 +00:00
ejcoumans
eb23bb5c0c
merged most of the changes from the branch into trunk, except for COLLADA, libxml and glut glitches.
...
Still need to verify to make sure no unwanted renaming is introduced.
2006-09-27 20:43:51 +00:00
ejcoumans
0e04cfc806
First stage in refactoring Bullet: moved Bullet Collision and Dynamics and LinearMath into src folder, and all files in Collision Detection and Dynamics have bt prefix.
...
Made all buildsystems to work again (jam, msvc, cmake)
2006-09-25 08:58:57 +00:00