Commit Graph

28 Commits

Author SHA1 Message Date
sjbaker
6b102c65b3 Cleanup some trivial compilation warnings. 2007-03-19 04:27:59 +00:00
ejcoumans
897d1491fa enable aabb compression in ColladaDemo btTriangleMesh. 2007-03-12 23:20:41 +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
f8b714cd42 disable scaling in collada converter, it doesn't give good results in most files. 2007-02-28 00:48:10 +00:00
ejcoumans
e610598d33 - Added compressed/quantized AABB tree, 16 bytes per node, while supporting 32-bit (triangle) indices. Should be faster and smaller then original version (quantized aabb check is done in integer space)
Original aabb nodes are 44 bytes (with full floating point precision and additional part index)
- added meter-unit scaling support in ColladaConverter.cpp
2007-02-25 06:11:23 +00:00
ejcoumans
c4a83539ca terminate the cleaned filename with zero character, thanks to Jay for reporting this fix! 2007-02-13 16:12:20 +00:00
ejcoumans
7453af5dde more fixes in Collada Physics conversion, related to convex meshes and uninitialized mass data. 2007-02-01 02:51:59 +00:00
ejcoumans
8a98639d78 fixed a crashing bug (NULL strings) and change the viewing angle of default camera in the demo 2007-01-31 20:57:14 +00:00
ejcoumans
e8ca371a71 Workaround for bad PhysX Collada .dae export from Maya:
It seems whenever the <rigid_body> has <extra> 	<technique profile="PhysX"><kinematic>true</kinematic> this <rigid_body> should have <dynamic> false</dynamic>.
2007-01-31 03:22:52 +00:00
ejcoumans
7b5301bb43 accept constraint with single rigidbody 2007-01-19 03:48:54 +00:00
ejcoumans
62c93b02bb fixed issue with missing COLLADA Physics asset 2006-12-20 21:23:58 +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
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
82ba30caa6 fixed 2 issues, one related to wrong 'safety' catch for large objects
and COLLADA constaints didn't recognize rigid body names
2006-10-31 02:11:29 +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
289c5ca7fe improvements/bugfixes related to kinematic(animated) objects, synchronizeMotionStates 2006-10-19 15:20:38 +00:00
ejcoumans
33b3ec94f1 more fixes, related to introduction of btMotionState, and using realtime timestep 2006-10-18 04:01:07 +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
d85ecfe5c2 removed more duplicate iterators 2006-10-03 18:01:24 +00:00
ejcoumans
01a6290cf7 more refactoring, restored some profiling and some debugging 2006-09-30 02:26:51 +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
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
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
7dea1a911c filename fixes 2006-09-20 03:48:58 +00:00
ejcoumans
815ec6178e Collada Converter minor fix in load 2006-09-02 00:34:03 +00:00
ejcoumans
59b6f509ff improved COLLADA physics support, with respect to instancing.
Can read Ageia 'CreateDynamics' exported files again.
See http://codesuppository.blogspot.com/
2006-09-01 23:42:14 +00:00