ejcoumans
99337454e3
Added Steve Baker and Jay Lee as contributors. Added double precision to autogenerated msvc projectfiles as build-configuration.
2006-12-27 05:35:20 +00:00
ejcoumans
af5cfb838a
updated Jamfiles so only the appropriate Bullet libraries gets installed, not the helper/internal ones.
2006-12-27 01:34:54 +00:00
ejcoumans
5929b2b79d
fixed jam 'install' to properly copy right headerfiles in the destination directory
2006-12-26 17:16:40 +00:00
sjbaker
db573e4a59
Clean up about a bazillion compilation warnings.
2006-12-22 02:33:42 +00:00
ejcoumans
a0f320764b
Upgraded to latest COLLADA-DOM 1.2.0, see http://sourceforge.net/project/showfiles.php?group_id=157838
...
November 13, 2006
Re-applied the 'INF' fix for constraint limits.
2006-12-19 02:33:05 +00:00
ejcoumans
df9230327c
Contribution to add optional double precision floating point support. Define BT_USE_DOUBLE_PRECISION for all involved libraries/apps.
2006-12-16 05:51:30 +00:00
ejcoumans
6dff5a218e
process contact and non-contact constraints inside the same iteration loop
...
added first draft for hingeConstraint motor
2006-12-12 03:15:11 +00:00
ejcoumans
a4541d2470
missing Jamfile
2006-12-09 02:43:07 +00:00
ejcoumans
ae208d78e1
more build system stuff
2006-12-09 01:46:28 +00:00
ejcoumans
08f86712b7
update buildsystem files
2006-12-09 01:33:49 +00:00
ejcoumans
e4fcc157d4
updated buildsystem file
2006-12-09 01:29:00 +00:00
ejcoumans
9022f8cc70
fixes for buildsystem
2006-12-09 01:19:15 +00:00
ejcoumans
f9832f6b88
updated build systems/GPU_physics for Mac OS X
2006-12-08 22:04:02 +00:00
ejcoumans
1aa4e010f0
updated jamfile, updated optional ODE quickstep/box-box
2006-12-08 16:28:02 +00:00
ejcoumans
55d6b5b8e1
added constructor to btPlaneSHape
2006-12-07 07:46:25 +00:00
ejcoumans
bf591b44ec
Replaced most STL std::vector with btAlignedObjectArray.
...
Same interface but less features (push_back, pop_back, clear, size, [] etc).
To prepare for SIMD/SSE code: Added #define ATTRIBUTE_ALIGNED16(a) __declspec(align(16)) a
2006-12-06 04:22:36 +00:00
ejcoumans
71145de242
renamed ConcaveShape to btConcaveShape
...
added btHeightfieldTerrainShape (not done yet)
2006-11-29 02:11:25 +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
sjbaker
6bb806d26b
More cleanup.
2006-11-20 06:48:45 +00:00
sjbaker
04d41b7a0a
Cleanup compilation warnings.
2008-02-12 04:22:31 +00:00
ejcoumans
509ed8f634
added GIMPACT update from Francisco. Thanks!
2006-11-17 02:20:37 +00:00
ejcoumans
b07bb88a2d
Added new EPA penetration depth solver
...
improved gjk/minkowski sampling pd method
added original solver variant, use btSequentialImpulseConstraintSolver2
Added Pierre Terdimans PD testbed
2006-11-16 06:14:12 +00:00
ejcoumans
be175e888e
2006-11-14 05:09:11 +00:00
ejcoumans
133a7dda99
updated CMakefiles and stuff
2006-11-12 07:56:16 +00:00
ejcoumans
f227b476d7
Added GIMPACT integration for moving concave meshes (interaction with all other Bullet collision shapes)
...
Thanks a lot to Francisco León Nájera for the contribution!
2006-11-12 06:20:34 +00:00
ejcoumans
d4307428c4
Added GIMPACT integration for moving concave meshes (interaction with all other Bullet collision shapes)
...
Thanks a lot to Francisco León Nájera for the contribution!
2006-11-12 06:19:52 +00:00
ejcoumans
a9172d8684
Added GIMPACT integration for moving concave meshes (interaction with all other Bullet collision shapes)
...
Thanks a lot to Francisco León Nájera for the contribution!
2006-11-12 06:15:19 +00:00
ejcoumans
d46ff8ea45
2006-11-11 19:32:20 +00:00
ejcoumans
f3432e7069
2006-11-11 19:31:30 +00:00
ejcoumans
de59b585f7
2006-11-11 19:30:53 +00:00
ejcoumans
98fa2a38e8
updated some jamfiles, for Extra folder
2006-11-11 06:40:55 +00:00
ejcoumans
8cbd721a1f
added some brute-force way to shrink convex polyhedra (to compensate collision margin)
...
made Extra/EPA compile again, updated Pierre's testbed to compile out-of-the-box
2006-11-11 03:22:15 +00:00
ejcoumans
074e2b2d3b
improved robustness of penetrations involving triangles and boxes, by adding their 'preferred' penetration directions.
...
added wireframe/solid mode for meshes
updated solid penetration depth solver (comparison in Extras)
2006-11-05 05:12:10 +00:00
ejcoumans
07873854a4
more small refactoring: some methods were still upper-case.
2006-11-03 04:32:48 +00:00
ejcoumans
3fe3b11924
use Dispatcher in ConcaveConvexCollisionAlgorithm (so it uses the registered collision algorithm, not hardcoded convexconcave)
...
improved performance of constraint solver by precalculating the cross product/impulse arm
added collision comparison code: ODE box-box, also sphere-triangle
added safety check into GJK, and an assert for AABB's that are very large
write partid/triangle index outside of GJK
2006-10-28 02:06:19 +00:00
ejcoumans
b8376a1673
removed SphereSphereCollisionAlgorithm.cpp (is now part of core Bullet/src) and added ODE BoxBoxCollisionAlgorithm/BoxBoxDetector for comparison
2006-10-27 21:01:16 +00:00
ejcoumans
d878885db4
updated quickstep solver (for comparison), enabled GPU physics again (but WIN32 doesn't have the VertexTextureSupport enabled)
2006-10-13 23:58:52 +00:00
ejcoumans
6fa35ba9a4
updated the Extras/quickstep files, for comparison
2006-10-13 22:33:28 +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
9b01b6672e
updated makefile and fixed a GLuint <-> int conversion issue
2006-10-01 17:16:02 +00:00
sjbaker
a7eca49065
Added some performance measuring tools.
...
Speeded up collision detection significantly.
2006-10-01 16:36:57 +00:00
sjbaker
9ebc440ee5
Added simple collision detection.
2006-10-01 03:45:08 +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
c9e468b127
update buildsystem for recent refactoring
2006-09-30 02:40:55 +00:00
ejcoumans
14397a2f72
confusion about memory management, and removed obsolete PhysicsInterface code.todo: updated the demos that still use this code
2006-09-29 19:57:23 +00:00
ejcoumans
21482e4cab
some minor comment-renames, and moved some data from box/sphere into common convex.
2006-09-28 20:14:10 +00:00
ejcoumans
c473bd69ce
refactoring
2006-09-28 01:28:16 +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
sjbaker
2b286e4748
Added new GPU physics demo into both trunk and branch.
2006-09-27 19:18:52 +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
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
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
69c11061c3
2006-09-20 03:04:40 +00:00
ejcoumans
c779f05989
added autogeneration file / jamfile
2006-09-20 02:59:26 +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
sjbaker
dad2cb634e
* Merged in my latest changes into SVN repository.
...
* Arranged to avoid reading/writing textures at same time.
* Removed depth and stencil buffers from FBO's.
* Eliminated 1-component FBO that caused grief for FBO completeness test.
* Added back missing cubeShaderNoTexture.vert
2006-09-20 00:44:41 +00:00
sjbaker
22fdf584b8
Reverse order of entries in CHANGES
2006-09-19 22:46: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
4970e86100
latest 0.5 changes from Steven Baker, and fixed Windows MSVC compiling issues
2006-09-19 17:10:30 +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
b548455ae9
added Steven Baker's GPU physics code (work in progress)
2006-09-18 20:16:43 +00:00
ejcoumans
db2265ce03
check for valid debugdrawer before using it
2006-09-11 16:47:12 +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
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
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
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
d931aae32f
added basic CCD calculations for Compounds and non-convex (convex-versus-concave).
2006-08-11 04:10:37 +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
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
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
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
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
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
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
2eed545a70
enable to suspend and restore dynamics. also, catched the case where failed dynamics (resulting in infinite AABB sizes) doesn't mess up the entire simulation, it just get's deactivated (with a message that a simulation error happened)
2006-06-22 03:00: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
473e290540
use config-win32 for visual studio builds
...
disabled 2 libxml settings (CATALOG & ICONV), to get it to compile
2006-06-19 20:56:20 +00:00
ejcoumans
8dcbaeb2b8
more work to get libxml / libcollada-dom to build multiplatform
2006-06-19 19:33:14 +00:00
ejcoumans
0f3bda1fb0
more build stuff for libxml / COLLADA
2006-06-19 17:51:06 +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
f2636f8d4b
updated to more recent libxml2 version (work in progress)
2006-06-18 23:22:39 +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
6fc2e100f5
added limited support for COLLADA_DOM. Will need to add jam/msvcgen build support.
2006-06-18 05:31:52 +00:00
res2002
21ec6305f7
Applied a patch from Michael D. Adams to fix a warning with gcc.
2006-06-17 18:36:38 +00:00
ejcoumans
51a645bb4a
constraints between bodies merge constraint simulations (this fixes problems with deactivation/sleeping)
2006-06-17 15:22:06 +00:00
dondickied
6dfe8389a1
dgregorius: changes to generic constraint
2006-06-15 13:37:49 +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
60df0e79c5
added vc8 projectfile
2006-06-09 20:11:09 +00:00
ejcoumans
bff230b23c
COLLADA 1.4 DOM support preparation (Visual Studio 2005 files + readme.txt)
2006-06-05 23:27:37 +00:00
ejcoumans
f743269af9
Added Generic 6 DOF Constraint skeleton
2006-06-03 21:09:14 +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
9414d46266
vc7.1 projectfiles added for FCollada
2006-06-01 07:00:26 +00:00
ejcoumans
5cb549a9bb
more Collada physics work
2006-06-01 06:58:51 +00:00
ejcoumans
ca2e2a5950
need to pass char as variable, not as argument (vc8 crashes)
2006-06-01 04:10:29 +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
718faabe59
added fcollada vc8 files
2006-05-27 01:23:15 +00:00
ejcoumans
1035e21422
removed obsolete ODE sdk
2006-05-26 19:15:23 +00:00
ejcoumans
95ea729454
don't merge if hulls are empty
2006-05-26 19:14:55 +00:00
ejcoumans
8402358d46
compile convexdecomposition under unix, removed another template
2006-05-26 17:47:54 +00:00
ejcoumans
98129bcae9
2006-05-26 17:20:14 +00:00
ejcoumans
e0b28e6726
2006-05-26 05:54:21 +00:00
ejcoumans
6abd4264ee
2006-05-26 00:29:43 +00:00
ejcoumans
18ac5c40ce
turned template class into normal class, too many issues at the moment
2006-05-25 20:46:30 +00:00
ejcoumans
e061ec1ebf
moved files around
2006-05-25 19:18:29 +00:00