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
97b287a6bc
updated Jam buildsystem to link properly under systems that rely on strict ordering of the link libraries
2006-10-05 14:05:09 +00:00
ejcoumans
71393bac40
updated buildstuff, collada-dom is now colladadom (should make VisualStudio 6 users happy)
2006-10-04 23:54:22 +00:00
ejcoumans
323a1046fd
Cleaned up/simplified construction of a btRigidBody
...
Fixed memoryleak in btOptimizedBvh (delete []m_contiguousNodes;)
Changed DemoApplication::localCreateRigidBody, so it adds the rigidbody to the btDynamicsWorld.
Added check for duplicate objects in world when adding.
Added assert to prevent setLinearVelocity on static rigidbodies
Added btCollisionFilterGroups to btBroadphaseProxy
removed duplicate 'btBroadphaseProxy* m_broadphaseProxy;' in btRigidBody
2006-10-04 23:46:27 +00:00
ejcoumans
d85ecfe5c2
removed more duplicate iterators
2006-10-03 18:01:24 +00:00
sjbaker
2aaab1ab1a
Assorted cleanup of compilation warnings. Also fixed some actual errors:
...
#include "renderTexture.h"...when the file is actually called 'RenderTexture.h'.
2006-10-01 00:08:09 +00:00
ejcoumans
62bdd2bde2
don't crash when no debugdrawer is available, added some damping for the constraint demo
2006-09-30 03:16:02 +00:00
ejcoumans
dcf007ca38
more refactoring for CMake buildsystem
2006-09-30 02:51:35 +00:00
ejcoumans
c9e468b127
update buildsystem for recent refactoring
2006-09-30 02:40:55 +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
fc9319ee43
refactoring: added basic text in DemoApplication (not all keys are hooked up yet)
2006-09-28 01:56:34 +00:00
ejcoumans
c473bd69ce
refactoring
2006-09-28 01:28:16 +00:00
ejcoumans
5b2d6af1ef
refactoring: re-ordered libs
2006-09-28 01:27:48 +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
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
ejcoumans
9f9f35f847
working towards better COLLADA 1.4i physics conformance for the DOM
2006-07-16 22:26:11 +00:00
ejcoumans
3f1319586c
fixed libxml for MacOS X
2006-07-10 07:15:40 +00:00
ejcoumans
ccad7b2f22
'Think Different': enabled some demos to compile for OS X -i386
2006-07-10 05:25:06 +00:00
ejcoumans
faa1dc90be
debug drawing for ParallelPhysicsEnvironment
2006-07-05 05:22:09 +00:00
ejcoumans
d2570694a9
added debug drawing for concave objects (draws overlapping triangles)
2006-07-05 05:03:09 +00:00
ejcoumans
62593f8b99
refactoring of TriangleMeshShape, introduced ConcaveShape, which allows for StaticPlaneShape and future landscape/heightfield shape
2006-07-03 22:41:19 +00:00
ejcoumans
e190b3cb79
Added basic gather/scatter to simulation island (for ParallelIslandDispatcher/ParallelPhysicsEnvironment.
2006-07-02 05:33:35 +00:00
ejcoumans
a359212fb3
more work on parallel dispatching of simulation islands
2006-07-01 03:33:05 +00:00
ejcoumans
2d80bae6e3
fairly large refactoring of dispatcher/simulation island management, to allow for parallel simulation.
2006-07-01 00:22:15 +00:00
ejcoumans
8e91b0cd68
ParallelPhysicsEnvironment development started
2006-06-30 05:39:15 +00:00
ejcoumans
3a85557c29
Refactoring for parallel processing of islands, collision detection and constraint solving.
2006-06-30 00:41:09 +00:00
ejcoumans
9824a49f08
adjusted the default numbodies for CcdPhysicsDemo
2006-06-29 21:19:22 +00:00
ejcoumans
5d1c4ddd68
adjusted the default number of bodies in CcdPhysicsDemo
2006-06-29 21:16:05 +00:00
ejcoumans
54641d98f7
lowered the default number of objects
2006-06-29 21:13:29 +00:00
ejcoumans
16116177a7
updated projectfiles for moved files, disable EPA demo (temporarily)
2006-06-29 21:10:32 +00:00
ejcoumans
9105c3af5a
Refactoring:
...
Moved optional code to Extras: AlgebraicCCD,EPA,quickstep
Moved SimpleBroadphase data to OverlappingPairCache, and derive both SimpleBroadphase and AxisSweep3 from OverlappingPairCache.
Added ParallelPhysicsEnvironment (prepair more parallel mainloop)
Upgraded hardcoded limit from 1024/8192 to 32766/65535 (max objects / max overlapping pairs)
2006-06-29 20:57:47 +00:00
ejcoumans
7a0a0941f9
moved filters in CcdConstructionInfo
2006-06-25 21:03:10 +00:00
ejcoumans
c8a0c95195
added basic collision filtering, in broadphase. more advanced collision filtering should happen in CollisionDispatch::NeedsCollision
...
fixed CcdPhysicsDemo: don't pick static objects, it create a point 2 point constraint, which assert in jacobian generation
2006-06-25 19:36:50 +00:00
ejcoumans
324b18b719
minor type in simdvector3, no picking on fixed objects, no run-time type info
2006-06-21 05:22:43 +00:00
ejcoumans
e82e31e692
removed some obsolete files (appBasicSample), FCollada lib, external-libs folder
...
start physics by default (not pressing 'i')
2006-06-19 23:21:10 +00:00
ejcoumans
c4cd297f22
step the simulation 1 frame, so the initial starting position is ok.
...
added comment how to use FCollada instead of COLLADA_DOM
2006-06-19 22:03:07 +00:00
ejcoumans
8dcbaeb2b8
more work to get libxml / libcollada-dom to build multiplatform
2006-06-19 19:33:14 +00:00
ejcoumans
51fb1b25fc
added missing libxml2 files, and config.h (for linux). todo: both configwin32.h for win32, and configure for non-windows
2006-06-19 02:01:26 +00:00
ejcoumans
650e0ac744
created Jamfile for COLLADA_COM & LibXML, added LibXML in it's own location under Extras
...
libxml doesn't compile with jam yet, C sourcecode versus C++?
2006-06-18 10:25:12 +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
res2002
c875616bbb
Typo
2006-06-17 18:44:49 +00:00
res2002
0f54c5c8f5
Add Extras/FCollada as an include path for appColladaDemo.
2006-06-17 18:43:06 +00:00
ejcoumans
3c6993e45e
- CcdPhysicsDemo also uses Generic6DofConstraint (testing with mouse picking).
...
- HingeConstraint back to old method by default (comparison)
- FCollada by default in ColladaDemo
2006-06-14 02:51:47 +00:00
dondickied
63e05649ee
2006-06-13 21:48:15 +00:00
dondickied
7535b02e58
dgregorius: Changed hinge constraint to use JacobianEntry class. Also removed change from last submission to JacobianEntry constructor for angular constraints.
2006-06-12 19:53:41 +00:00
ejcoumans
d61f1034ba
step closer to COLLADA-DOM, convex hull / mesh. can't find where the vertices/triangles are 'hidden' in the structures.
2006-06-10 01:44:20 +00:00
ejcoumans
87b6f7ae37
COLLADA-DOM support for box, sphere, cylinder, mass, isdynamic and start transform
2006-06-09 22:34:17 +00:00
ejcoumans
b4df21acb5
added cylinder support in ColladaDemo, rendering of Cylinder, updated .dae files.
2006-06-09 00:17:20 +00:00
ejcoumans
f743269af9
Added Generic 6 DOF Constraint skeleton
2006-06-03 21:09:14 +00:00
ejcoumans
9c21151c5f
new Collada physics demos
2006-06-03 02:19:43 +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
5cb549a9bb
more Collada physics work
2006-06-01 06:58:51 +00:00
ejcoumans
b5d0520c58
added initial Collada 1.4 Physics support
2006-06-01 03:27:01 +00:00
ejcoumans
7392431860
some work on fcollada import
2006-05-27 01:24:08 +00:00
ejcoumans
8402358d46
compile convexdecomposition under unix, removed another template
2006-05-26 17:47:54 +00:00
ejcoumans
d973370f3b
2006-05-26 05:56:39 +00:00
ejcoumans
9405204ee5
new demos
2006-05-26 00:30:45 +00:00
ejcoumans
23580cbaed
added demos
2006-05-25 20:02:12 +00:00
ejcoumans
76ab55d1be
added demos
2006-05-25 20:01:29 +00:00
ejcoumans
e061ec1ebf
moved files around
2006-05-25 19:18:29 +00:00