ejcoumans
c86fea11dc
use btHullShape/btConvexHull to reduce vertices in a convex hull. Perhaps we always use this, to avoid convex objects with too many vertices...?
2008-01-24 01:35:34 +00:00
ejcoumans
95fa8f9185
use new convex hull drawing code for btConvexTriangleMeshShape
2008-01-23 23:36:45 +00:00
ejcoumans
127d911c9d
Added Stan Melax Convex Hull utility under Zlib license, Thanks Stan!
...
Use this Convex Hull to create a renderable shape, using btHullShape, Thanks to John McCutchan
2008-01-23 22:24:45 +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
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
eff4fe8ec8
more work on hashed pairmanager. growing doesn't work yet, so need to allocate enough room for the overlapping pairs in advance.
...
boxbox reports contact point in B, rather then average point
box, cylinder use halfextents corrected for scaling and margin. made the margin in this halfextents explicit in the 'getHalfExtentsWithMargin' and 'getHalfExtentsWithoutMargin'
integrated changed for ODE quickstep solver
replaced inline with SIMD_FORCE_INLINE
some minor optimizations in the btSequentialImpulseConstraintSolver
added cone drawing (for X,Y,Z cones)
2007-10-12 02:52:28 +00:00
ejcoumans
86bdc2f6c2
reverted shapedrawer (incompatible drawing with ConcaveDemo and VehicleDemo), made GimpactTestDemo build under OS X
2007-09-30 02:29:09 +00:00
ejcoumans
65b9fbe16e
More patches from Francisco Leon, will be tested multi-platform etc. today
2007-09-30 00:08:07 +00:00
ejcoumans
177b6f5ce2
Added btUniformScalingShape (including support for debug rendering etc)
...
This allows to re-use a convex shape, while each instance can re-scale it (with a uniform scalar factor)
2007-07-28 19:20:45 +00:00
ejcoumans
0ef218424c
enable general drawing of concave meshes for heightfields/planes, not just trianglemeshes
2007-06-27 03:27:13 +00:00
ejcoumans
718b73371f
removed 'processAllTrianglesBruteForce'
...
autogenerated new visual studio projectfiles
2007-06-14 13:06:05 +00:00
ejcoumans
effb5a8b62
added brute-force triangle iteration method, to allow graphics to skip aabb traversal (useful for debugging)
2007-06-13 22:35:14 +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
581468ceec
Added btCapsuleShape. This could already be simulated by simply adding 2 spheres to the btMultiSphereShape, but this was bad documented/unknown.
...
For tapered capsules, you can still use btMultiSphereShape, just pass 2 spheres with different radius.
2007-01-30 00:09:08 +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
71145de242
renamed ConcaveShape to btConcaveShape
...
added btHeightfieldTerrainShape (not done yet)
2006-11-29 02:11:25 +00:00
ejcoumans
711b737293
Added GIMPACT integration for moving concave meshes (interaction with all other Bullet collision shapes)
...
Thanks a lot to Francisco León Nájera for the contribution!
2006-11-12 07:54:27 +00:00
ejcoumans
125a9c673d
Added GIMPACT integration for moving concave meshes (interaction with all other Bullet collision shapes)
...
Thanks a lot to Francisco León Nájera for the contribution!
2006-11-12 07:46:30 +00:00
ejcoumans
a9172d8684
Added GIMPACT integration for moving concave meshes (interaction with all other Bullet collision shapes)
...
Thanks a lot to Francisco León Nájera for the contribution!
2006-11-12 06:15:19 +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
d38549aa54
more refactoring, removed PhysicsInterface, cleaned up demos to make use of btDynamicsWorld derived classes.
...
removed two cached optimizations, type in btTransform and cached inverse transform (todo: test performance impact)
committed fixes that make the code adhere to 'who creates it, also destroys it'
2006-09-30 01:36:39 +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
d0f09040e9
fixed some merging conflicts
2006-09-27 20:58:49 +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
37a53ee7d9
small cleanup in the DemoApplication, removed references to obsolete PHY_ShapeProps/PHY_MaterialProps
...
removed deletion of motionstate in CcdPhysics/CcdPhysicsController destructor
disabled m_type optimization in SimdTransform (making the memory size 64 byte, potentially more cache friendly)
fixed a bug in island generation, causing the activation not propagating in one frame, but one 'layer' of rigidbodies at a time
2006-09-26 18:59:29 +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
sjbaker
f1627677df
Fixed over 500 compile warnings. Mostly:
...
* Unused variables.
* Missing newlines at ends of #included files.
* signed int loop variables where the termination condition is an unsigned 'get number of' function.
* 'NULL' used inappropriately for an integer or character constant (NULL is a pointer)
* abstract base classes with no virtual destructor.
* Floating point constants used to initialise integer variables.
2006-09-23 14:51:54 +00:00
ejcoumans
43370aaa4f
first step in refactoring/cleaning up demos
2006-09-11 05:31:22 +00:00
ejcoumans
fa96109cd9
Exposed another glut method (the demos really require cleanup soon!)
...
First steps for a raycast-vehicle demo (far from finished)
2006-09-05 07:36:55 +00:00
ejcoumans
50a2694c5b
more compounds work, the basics work. now some stackless tree-tree traversal is needed to speedup compound versus compound.
2006-07-24 23:06:59 +00:00
ejcoumans
fdaa3a7abc
some work on compound collision shapes (not finished yet)
2006-07-24 05:22:56 +00:00
ejcoumans
ccad7b2f22
'Think Different': enabled some demos to compile for OS X -i386
2006-07-10 05:25:06 +00:00
ejcoumans
ddf9973fba
preliminary convex hull support using COLLADA_DOM,
...
draw convex hull in wireframe (point cloud doesn't have triangles)
2006-06-18 07:04:21 +00:00
ejcoumans
b4df21acb5
added cylinder support in ColladaDemo, rendering of Cylinder, updated .dae files.
2006-06-09 00:17:20 +00:00
ejcoumans
ac11a0c06b
Did a bit more Collada physics importing work.
...
Also did a quick workaround to allow different camera UP. This demo stuff really needs to be cleaned up now!
2006-06-03 02:13:59 +00:00
ejcoumans
9405204ee5
new demos
2006-05-26 00:30:45 +00:00
ejcoumans
e061ec1ebf
moved files around
2006-05-25 19:18:29 +00:00