Commit Graph

942 Commits

Author SHA1 Message Date
johnmccutchan
d70a25ff6d Apply lsgmasa's fix for convex cast against collision world. 2008-02-08 19:56:46 +00:00
ejcoumans
618263163c add support for X,Z axis aligned capsules 2008-02-08 01:11:05 +00:00
ejcoumans
71b58309cf add support for X,Z axis aligned capsules 2008-02-08 01:10:34 +00:00
ejcoumans
9eb0340dab fixed minor graphics issues, related to recent camera initialization changes 2008-02-07 08:49:29 +00:00
ejcoumans
ff3b7f0c0f set applied impulse to zero, when replacing an existing contact point 2008-02-07 08:18:26 +00:00
ejcoumans
661176bfed coding convention in Bullet is to keep return type on same line as method:
btClassName
{
  void myTest();
};

void myTest()
{

}

int getNumObjects()
{
}
2008-02-07 08:12:08 +00:00
ejcoumans
781440edc8 warning C4715: 'ColladaConverter::findGeometry' : not all control paths return a value
temp fix for snprintf, _snprintf under WIN32
2008-02-07 08:05:58 +00:00
ejcoumans
a4e63aed00 - DemoApplication, debug text rendering was broken, glLoadIdentity() missing
- copy user data over to child shape
- added applied impulse to btManifoldPoint
- add ContactProcessedCallback (needs test/demo)
- didn't copy over m_additionalDampingFactor into btRigidBody.
2008-02-07 08:00:16 +00:00
ejcoumans
f22d338959 added btCapsuleShapeX and btCapsuleShapeZ, for X and Z upaxis capsules. The default btCapsuleShape stays Y-axis, for backwards compatibility. 2008-02-07 00:34:06 +00:00
ejcoumans
d88ba6063e replaced malloc/free by btAlignedAlloc and btAlignedFree 2008-02-06 00:10:18 +00:00
johnmccutchan
8e31abc265 Lots of changes to ColladaConverter: btCollisionObject, btCollisionShape and btTypedConstraint
now hold pointers to dom elements in their btTypedUserInfo fields. This makes the ColladaConverter
less fragile.
2008-02-05 19:00:32 +00:00
johnmccutchan
31c1406fd4 Define spu_printf for Linux 2008-02-05 18:58:28 +00:00
johnmccutchan
ee5ff5feb6 Added ConvexDecompositionDemo to CMakeLists.txt 2008-02-05 18:57:49 +00:00
johnmccutchan
023f25c539 Add a btTypedUserInfo field to btTypedConstraint 2008-02-05 18:57:06 +00:00
johnmccutchan
cb79016591 Make btTypedUserInfo::~btTypedUserInfo() virtual 2008-02-05 18:56:30 +00:00
johnmccutchan
d368ef3d71 Remove name field and replace it with btTypedUserInfo field 2008-02-05 18:55:05 +00:00
johnmccutchan
7be6c98c60 Minor changes to btTypedUserInfo 2008-02-05 18:53:50 +00:00
ejcoumans
39bacd532e autogenerated msvc projectfiles 2008-02-05 06:53:49 +00:00
ejcoumans
31a88b386f error C2086: 'j' : redefinition 2008-02-05 06:35:25 +00:00
ejcoumans
37837f204a missing return in main.cpp
remove unwanted libxml files (testfiles containing 'main')
2008-02-05 06:14:51 +00:00
ejcoumans
39ecc2ab7e error C2374: 'i' : redefinition; multiple initialization
make MSVC 6.0 build again.
This code breaks:
for (int i=0;....
for (int i=0;....
use
int i;
for (i=0;...
for (i=0;...
instead ;-)
2008-02-05 05:55:25 +00:00
ejcoumans
dad6667756 Accidently moved gluLookAt in the GL_PROJECTION matrix, instead of GL_MODELVIEW matrix.
Thanks Wol for reporting the issue.
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1878
2008-02-03 22:19:42 +00:00
johnmccutchan
bc3b099034 Added btTypedUserInfo.h. This will be used
to store extra information in the btCollisionShape
and btCollisionObject classes.
2008-02-01 20:19:25 +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
johnmccutchan
995b4d7b92 Added some TODO items to ColladaConverter.cpp 2008-01-30 01:59:52 +00:00
johnmccutchan
3ed22c25e6 Updated to work with new ColladaConverter 2008-01-30 01:53:26 +00:00
johnmccutchan
7c40589831 Added full featured saving support including collision geometry and constraints. 2008-01-30 01:53:08 +00:00
johnmccutchan
8fff5c54e9 Added name fields to Collision Object and Shape.
Added name field to Typed Constraint.
Added accessor for gravity in dynamics world.
2008-01-30 01:52:07 +00:00
ejcoumans
5c40e615bd make source compile under MinGW32
todo: link against OpenGL GLU/GLUT.
2008-01-30 01:09:01 +00:00
ejcoumans
97e96c243b removed post-build step, it just causes troubles for users.
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1871
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1863&p=7073&hilit=post+build#p7073
2008-01-29 20:35:10 +00:00
ejcoumans
e5caadba0b more build system work to fix this:
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1871
2008-01-29 20:23:14 +00:00
ejcoumans
daaca4bfcd Removed post-build step, it just causes project not to compile under Visual Studio 2005 Express edition 2008-01-29 20:14:50 +00:00
ejcoumans
d3e4d87521 added a paper name for info in exponential map, part of the Bullet motion equation 2008-01-28 02:09:17 +00:00
ejcoumans
923f1411d7 Disable a recent new optimization for ray-aabb in btOptimizedBvh, it has some issues.
///thanks Joerg/hiker for the reproduction case!
///http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1858
2008-01-28 01:34:48 +00:00
johnmccutchan
2addd46f4b Further refactoring of btConvexHull. 2008-01-24 22:22:36 +00:00
ejcoumans
a267152945 fix doubleprecision build 2008-01-24 02:41:45 +00:00
ejcoumans
30e1c56520 fix doubleprecision build 2008-01-24 02:40:15 +00:00
ejcoumans
f7b8023fbc updated MSVC projectfiles 2008-01-24 02:13:25 +00:00
ejcoumans
7d4b879c4b bumped up version to 2.67 2008-01-24 02:12:09 +00:00
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
03a05c25af removing a lot of unwanted code from btConvexHull (more refactoring will follow) 2008-01-24 01:08:15 +00:00
ejcoumans
19753da3b4 prettified convex composition demo (added concave version, next to convex hull and convex decomposition) 2008-01-23 23:48:30 +00:00
ejcoumans
95fa8f9185 use new convex hull drawing code for btConvexTriangleMeshShape 2008-01-23 23:36:45 +00:00
ejcoumans
af85183a48 fixed to get MacOSX to compile, added new files to CMakeLists.txt 2008-01-23 23:13:31 +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
6eb97cd966 added debug rendering for planeshape
added void* userpointer (+getUserPointer/setUserPointer) to each btCollisionShape
2008-01-23 03:06:15 +00:00
ejcoumans
63dc666bf6 fix for static planeshape and spheres, need to use the getSupportingVertex with margin for proper contact point location. 2008-01-23 02:42:14 +00:00
ejcoumans
f12f04fb97 optimization: only call solveGroup if there is some work: avoid virtual function call, its overhead can be excessive
based on 3000 body benchmark
2008-01-18 07:10:08 +00:00