Commit Graph
100 Commits
Author SHA1 Message Date
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 d1e9a885f3 added some files 2008-02-12 02:02:48 +00:00
ejcoumans e48c81c55e added basic sphere-box case for porting purposes. This way, we can have a basic sample without GJK. 2006-09-27 00:51:25 +00:00
ejcoumans a54f928b60 added vehicle simulation 2006-09-27 00:08:24 +00:00
ejcoumans 2a602aefa1 added replacement for CcdPhysicsEnvironment 2006-09-26 23:55:35 +00:00
ejcoumans 9531ec4b30 most basic rigid body simulation
lacks object deactivation and constraints, vehicles etc.
2006-09-26 21:31:44 +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
ejcoumans 804d99e392 fixed bug in PolyhedralConvexShape supportmapping, and better description for GJK max iteration exit 2006-09-24 04:21:11 +00:00
ejcoumans ccced9fd82 fixed 2 bugs, updated changes.txt 2006-09-23 02:05:22 +00:00
ejcoumans 7c61399313 fixed two recently introduced bugs, that cause crashes when removing objects.
one related to UnionFind optimization, the other to broadphase optimizations. Should do better unittesting next time!
2006-09-23 02:00:33 +00:00
ejcoumans 7dea1a911c filename fixes 2006-09-20 03:48:58 +00:00
ejcoumans 1a8db5a00e minor fix 2006-09-20 03:44:27 +00:00
ejcoumans 52a950db62 added alternative paths, when files are not found 2006-09-20 03:19:27 +00:00
ejcoumans 93e145a4fc autogenerated projectfiles for GPUphysics 2006-09-20 03:08:16 +00:00
ejcoumans 69c11061c3 2006-09-20 03:04:40 +00:00
ejcoumans c779f05989 added autogeneration file / jamfile 2006-09-20 02:59:26 +00:00
ejcoumans fcb21dcfcd added glew for msvc autogeneration 2006-09-20 02:56:15 +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 1d539aa662 XNA physics testbed, just 2 cubes for now, move with a/d keys 2006-09-19 19:03:41 +00:00
ejcoumans 7faf84d784 accidental typo 2006-09-19 18:07:27 +00:00
ejcoumans 4970e86100 latest 0.5 changes from Steven Baker, and fixed Windows MSVC compiling issues 2006-09-19 17:10:30 +00:00
ejcoumans eb6664f7c2 issue with OS X and std::set, erase doesn't return an iterator. todo: check this 2006-09-19 07:06:23 +00:00
ejcoumans d375a474b3 fixed broadphases after performance optimizations 2006-09-19 06:08:54 +00:00
ejcoumans d78d0b3055 re-autogenerated projectfiles, moved some new file 2006-09-19 05:20:45 +00:00
ejcoumans 163948e351 strange, stl::set<>::iterator is a const iterator under Apple... 2006-09-19 05:14:11 +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 d47d23ea74 added glew, useful the GPU physics, see Extras/GPUphysics 2006-09-18 20:40:32 +00:00
ejcoumans b548455ae9 added Steven Baker's GPU physics code (work in progress) 2006-09-18 20:16:43 +00:00
ejcoumans d87a85ae97 re-autogenerated msvc projectfiles 2006-09-17 06:46:58 +00:00
ejcoumans eefb3e6c23 2006-09-17 06:44:22 +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 e854a2f55b updated Bullet User Manual 2006-09-17 02:23:36 +00:00
ejcoumans a98b7f1a95 example that shows how to register your own collision algorithms. 2006-09-17 01:39:54 +00:00
ejcoumans be91e38bcc added an updated version of the Bullet user manual. described main features, demos etc. 2006-09-17 01:16:44 +00:00
ejcoumans 60fe5affd7 island management bug 2006-09-15 00:01:19 +00:00
ejcoumans 0607bfe9de optimized the island management. It was unoptimized, and becomes a bottleneck for large amounts of objects. 2006-09-14 23:43:50 +00:00
ejcoumans db2265ce03 check for valid debugdrawer before using it 2006-09-11 16:47:12 +00:00
ejcoumans badbb56898 updated projectfiles 2006-09-11 06:25:34 +00:00
ejcoumans c114703156 updated demos includes 2006-09-11 06:10:40 +00:00
ejcoumans 1a6333e709 2006-09-11 05:31:56 +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 7b5da11662 dispatcher was missing actual implementation for user-registration function 2006-09-08 02:41:47 +00:00
ejcoumans 3a9c5dcc35 2006-09-08 02:28:26 +00:00
ejcoumans 37c920db63 Alternative sphere-sphere collision algorithm 2006-09-08 00:53:29 +00:00
ejcoumans 10aed12f42 more assert issues fixed in Epa 2006-09-07 23:28:30 +00:00
ejcoumans 543ad0ed4c check for valid pointer of CcdPhysicsEnvironment before removal
also added additional assignment to motionstate, when 'setposition'/'setorientation' is called.
2006-09-07 23:01:53 +00:00
ejcoumans b8961f0308 added __cdecl to memory definition, should allow compilation of code with non-cdecl default calling convention 2006-09-07 22:59:57 +00:00
ejcoumans 4365199a47 added optional striding to ConvexHullShape 2006-09-07 22:58:29 +00:00
ejcoumans 6a0296d437 tested Epa, and added some debug printf stuff
Still has some issues, but so does the sampling MinkowskisumPenetrationDepth solver (its an approximation)
2006-09-07 22:55:17 +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 400376289c 2006-09-06 00:38: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 e84716482d autogenerated and added VehicleDemo to MSVC projectfiles 2006-09-04 21:58:32 +00:00
ejcoumans 61374e7777 updated recent changes 2006-09-04 21:52:37 +00:00
ejcoumans a0c157ed85 fixed memoryleak,
added RayTestSingle to CollisionWorld
prepared to add VehicleDemo
2006-09-04 21:28:32 +00:00
ejcoumans 1048793061 fixed collision bug involving meshes/compounds: always keep point with deepest penetration
increased default number of objects/overlaps in broadphase to 20k/60k
2006-09-04 18:54:36 +00:00
ejcoumans b76e642506 fixed one performance problem with sleeping objects 2006-09-02 01:50:16 +00:00
ejcoumans 815ec6178e Collada Converter minor fix in load 2006-09-02 00:34:03 +00:00
ejcoumans d36abec2a9 updated projectfiles for ColladaConverter, and added Cmake mention in doxygen frontpage 2006-09-02 00:01:26 +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 5c7653fa82 re-autogenerated projectfiles to include Vehicle files 2006-08-30 00:39:59 +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 e1b85d1969 Got a license from Intel for vtune. The first performance analysis showed an unexpected bottleneck:
apparently the UnionFind / island management had unexpected overhead. Added path compression to the UnionFind::find operation, and iterative over the actual islands, rather then over all number of objects.
2006-08-29 23:37: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 9a8e8d5639 upgraded version, and projectfiles 2006-08-16 13:34:10 +00:00
ejcoumans bc18e8cff0 added Bspdemo resources 2006-08-16 13:15:29 +00:00
ejcoumans c2f3f16549 updated version to 1.9 2006-08-12 00:59:22 +00:00
ejcoumans 05a6658271 added Quake BSP physics demo 2006-08-12 00:08:02 +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 22c416dc0c quake bsp test file. This file was made by Jan-Paul van Waveren (idsoftware) and he gave me permission to use this file. 2006-08-11 21:25:46 +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 369fabd300 added initial support for per-triangle material properties in a non-convex mesh. needs testing. 2006-08-10 08:20:15 +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 3407c4c3e5 updated changes, upgraded COLLADA-DOM version 1.4.1, and .dae snapshot export support 2006-07-26 20:12:44 +00:00
ejcoumans 4a3551c48d autogenerated new projectfiles for COLLADA-DOM latest SVN 2006-07-26 19:36:40 +00:00
ejcoumans 7038e5c736 updated COLLADA-DOM to the latest bleeding-edge (1.4.1) SVN version of today 2006-07-26 18:58:09 +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