Commit Graph

95 Commits

Author SHA1 Message Date
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
86f5b09623 Added newline at the ends of these files in order to prevent g++ warnings. 2006-09-24 17:25:13 +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
aaed6cc26b fixed some redundant arguments, and updated change list 2006-09-20 01:17:42 +00:00
ejcoumans
5ed0cf5b7f improved performance, and allowed custom friction and contact solver models. See CcdPhysicsDemo #define USER_DEFINED_FRICTION_MODEL 2006-09-20 00:49:33 +00:00
ejcoumans
d375a474b3 fixed broadphases after performance optimizations 2006-09-19 06:08:54 +00:00
ejcoumans
84afe40064 changed version number, moved SphereSphere algorithm and decreased default number of rigidbodies from 3250 back to 250. 2006-09-19 04:58:11 +00:00
ejcoumans
96046852b2 moved SphereSphereCollisionAlgorithm to main library 2006-09-19 04:55:02 +00:00
ejcoumans
8c023e764c started working on some serious performance improvements. now the union find is optimized, the broadphase add/remove overlapping pair was too slow. added a stl::set to keep track of overlapping pairs. this speeds up the set find/remove. work in progress.the SimpleBroadphase is broken. will be fixed tomorrow.
Did some tests with 3000 rigidbodies, works much smoother now :)
2006-09-19 02:59:30 +00:00
ejcoumans
f83677deed added buildsystem files 2006-09-17 06:34:40 +00:00
ejcoumans
28404fe477 2006-09-17 06:32:57 +00:00
ejcoumans
a98b7f1a95 example that shows how to register your own collision algorithms. 2006-09-17 01:39:54 +00:00
ejcoumans
c114703156 updated demos includes 2006-09-11 06:10:40 +00:00
ejcoumans
43370aaa4f first step in refactoring/cleaning up demos 2006-09-11 05:31:22 +00:00
ejcoumans
a27c35ecaa 2006-09-11 05:30:55 +00:00
ejcoumans
1bbd779aa3 added ColladaConverter.cpp to cmakelist 2006-09-07 00:44:34 +00:00
ejcoumans
fa4fd1369c Added support for SHORT/WORD indices
Removed references to m_userPointer (in CollisionObject), called it m_userObjectPointer
increased view distance in glut demo file
2006-09-06 22:21:12 +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
a0c157ed85 fixed memoryleak,
added RayTestSingle to CollisionWorld
prepared to add VehicleDemo
2006-09-04 21:28:32 +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
ejcoumans
334ce42650 added basic RaycastVehicle support, and CcdPhysicsEnvironment::getAppliedImpulse(int constraintId), this value is useful as treshold to break constraints. 2006-08-29 23:55:32 +00:00
ejcoumans
4cdcee8871 updated CMakeLists.txt to include LibXML and LibColladaDom, and use better naming for libs. This should allow autogeneration of visual studio projectfiles, and Apple XCode projectfiles for COLLADA_DOM demo. 2006-08-28 01:26:31 +00:00
ejcoumans
ee3ca06b20 added additional quickprof timer for rendering 2006-08-17 09:41:56 +00:00
ejcoumans
8cd999a189 changed filename for msvc 2006-08-16 14:03:39 +00:00
ejcoumans
e11b86cf4c endian-check bug? 2006-08-11 23:38:38 +00:00
ejcoumans
d5c7b742ad updated buildfiles for new BspDemo 2006-08-11 23:28:37 +00:00
ejcoumans
f43911f9d0 added CMake file 2006-08-11 23:27:19 +00:00
ejcoumans
e2b6d4ee65 some changes related to BspDemo 2006-08-11 23:01:25 +00:00
ejcoumans
955858a48b Added Quake BSP loading to the ColladaDemo example. This can become utility to transform bsp2dae 2006-08-11 21:24:35 +00:00
ejcoumans
ac9c70cbbf Added Quake BSP loading to the ColladaDemo example. This can become utility to transform bsp2dae 2006-08-11 21:24:14 +00:00
ejcoumans
cccd18c08e added CMakeLists.txt for opengl support 2006-08-11 07:13:23 +00:00
ejcoumans
d931aae32f added basic CCD calculations for Compounds and non-convex (convex-versus-concave). 2006-08-11 04:10:37 +00:00
ejcoumans
16781831dc added initial support for per-triangle material properties in a non-convex mesh. needs testing. 2006-08-10 08:18:05 +00:00
ejcoumans
3a27e8b1bf Added preliminary CMake buildsystem support, it can autogenerate projectfiles/makefiles etc. Including Mac OS X Xcode.
This provides a better maintainable alternative to jam/msvcgen
2006-08-09 19:38:21 +00:00
ejcoumans
04e57189c8 added compound support in COLLADA physics import 2006-08-01 05:37:54 +00:00
ejcoumans
235b49d748 COLLADA import, avoided some crashes, improved <convex_mesh> support 2006-07-29 00:54:31 +00:00
ejcoumans
b8cbfe5f72 Basic support for COLLADA physics constraints (each DOF can be completely locked or free, no limits yet) 2006-07-28 21:49:26 +00:00
ejcoumans
63594284c3 - quick workaround in the COLLADA-DOM to handle INF/-INF
- started few lines into COLLADA constraint importing
2006-07-28 02:47:26 +00:00
ejcoumans
bb4b099583 2006-07-27 01:45:06 +00:00
ejcoumans
2e64928d96 Improved conformance, added Auto-Camera UP support (from asset <up_axis>Y_UP</up_axis>)
Added the Bullet signature for export (comment/author/authoring_tool)
2006-07-26 21:54:08 +00:00
ejcoumans
750af5c197 updated COLLADA 'physics snapshot' export 2006-07-26 07:25:07 +00:00
ejcoumans
44ff483ad6 allow to export simulation to COLLADA 2006-07-26 03:03:22 +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
60ce7413fe added COLLADA <plane> support (uses StaticPlaneShape ) 2006-07-18 19:38:56 +00:00
ejcoumans
08464b1964 Added COLLADA-DOM import for concave triangle <mesh> 2006-07-18 04:42:27 +00:00
ejcoumans
f2743251f7 recent changes didn't import convex_mesh 2006-07-17 05:14:16 +00:00