Commit Graph

121 Commits

Author SHA1 Message Date
Erwin Coumans
2941f755f7 attempt to support negative local scaling for convex hull, box,sphere, cylinder, cone and btScaledBvhTriangleMeshShape in Bullet. 2008-09-20 23:45:45 +00:00
Erwin Coumans
877d70b14a fixed sphere-sphere collision: contact points were not properly removed/refreshed. 2008-09-20 22:34:54 +00:00
Campbell Barton
7e6c1e1091 needed these changes to get bullet building with cmake and linking with scons 2008-09-18 00:10:12 +00:00
Benoit Bolsee
0c1ec934c6 Update MSVC project file to include BulletSoftBody 2008-09-17 21:14:48 +00:00
Erwin Coumans
80f22a9e60 added another missing file, btHashMap 2008-09-17 20:02:20 +00:00
Erwin Coumans
8b73f35141 added src/LinearMath/btConvexHull.cpp 2008-09-17 19:58:16 +00:00
Erwin Coumans
015a42079c Please add extern/bullet2/src/LinearMath/btConvexHull.cpp to your build system!
Reverted back to original Bullet version.
2008-09-17 19:47:26 +00:00
Ton Roosendaal
2b6aea2009 Added BulletSoftBody as target for Makefile installing of .h files 2008-09-17 11:31:03 +00:00
Campbell Barton
bbdcd3a082 rev 16569 broke building.
Looks like bullets Extras/ConvexDecomposition is missing from blenders source.
comment functions so it builds for now.
2008-09-17 11:23:28 +00:00
Erwin Coumans
651c0e4861 Applied some fixes from Bullet: issues with btDbvtBroadphase, and btSoftBody, and better fix for 64-bit issue in btCompoundCollisionAlgorithm. 2008-09-17 02:30:19 +00:00
Erwin Coumans
ae418491dc Preparation for real-time soft bodies for the game engine, step 1 out of 3. This should be harmless/non-intrusive.
Please make sure each build system include extern/bullet2/src/BulletSoftBody/* and extern/bullet2/src/LinearMath/btConvexHull.*
2008-09-17 01:49:47 +00:00
Nathan Letwory
73c8d76ba4 * make BulletSoftBody own small lib to make sure bullet libs don't grow too large for our beloved scons/mingw users. 2008-09-16 21:23:56 +00:00
Erwin Coumans
0c77a178da add BulletSoftBody to SConscript and Makefile 2008-09-16 21:09:24 +00:00
Erwin Coumans
5941411839 add src/BulletSoftBody/* to cmake (other build systems also will need to do this soon) 2008-09-16 20:52:38 +00:00
Campbell Barton
ce41cfa40a bullet wasnt building on 64bit linux 2008-09-13 12:07:36 +00:00
Benoit Bolsee
a9a8f74b80 Update MSVC project files for latest bullet revision 2008-09-13 11:41:52 +00:00
Benoit Bolsee
17478eeb23 Update MSVC project file for latest Bullet revision. Remove compound patch as it is now included in Bullet trunk. 2008-09-13 08:05:16 +00:00
Erwin Coumans
7f293488d1 Upgrade to latest Bullet trunk, that is in sync with Blender/extern/bullet2. (except for one define 'WIN32_AVOID_SSE_WHEN_EMBEDDED_INSIDE_BLENDER')
In case someone reads those SVN logs: you can enable some extra broadphase SSE optimizations by replacing WIN32_AVOID_SSE_WHEN_EMBEDDED_INSIDE_BLENDER by WIN32 in extern/bullet2/src/BulletCollision/BroadphaseCollision/btDbvt.h

Thanks to Benoit Bolsee for the upstream patch/contribution.
Removed some obsolete files, they were just intended for comparison/testing.
2008-09-13 07:06:43 +00:00
Benoit Bolsee
13b0cf94d5 Bullet patch for compound ray cast. The patch is filed in Bullet patch tracker for inclusion in later revision. If it is not included, apply manually extern/bullet2/bullet_compound_raycast.patch 2008-09-11 20:09:07 +00:00
Benoit Bolsee
d682dc5bd5 svn merge -c 16350 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2008-09-04 23:05:00 +00:00
Daniel Genrich
85deff9c30 svn merge -r 16334:16347 https://svn.blender.org/svnroot/bf-blender/trunk/blender + also added missing files from bullet-2.71alpha0 archiv + fixed compile errors 2008-09-03 10:55:46 +00:00
Erwin Coumans
1926e84650 Finally upgraded to latest Bullet subversion, about to release 2.71. Some recent changes in extern/bullet2 need to be re-applied, will check with Benoit. Ray tests in 0_FPS_Template.blend is broken, didn't figure out why yet.
HELP BUILD SYSTEM MAINTAINERS: Please help with updating all build systems: the newly added files need to be added. Note that the src/SoftBody has been added for future extension of real-time soft bodies.
2008-09-03 02:27:16 +00:00
Benoit Bolsee
f6bdba8351 Bullet patch: option to return true face normal, complete triangle information and broad phase filter. This patch is needed to support enhanced ray cast function in the BGE. I have proposed it to the Bullet forum for inclusion in the next Bullet version. 2008-08-27 19:16:21 +00:00
Benoit Bolsee
4b9f5b2710 BGE Bullet fix: physics debug representation of cone shape does not take Up axis into account. Use Bullet 2.69 code to fix that bug. 2008-08-21 14:07:24 +00:00
Chris Want
5d0a207ecb Patch from GSR that a) fixes a whole bunch of GPL/BL license
blocks that were previously missed; and b) greatly increase my
ohloh stats!
2008-04-16 22:40:48 +00:00
Ken Hughes
05152b7db0 Missed reverting one extra assignment. 2008-02-03 02:09:06 +00:00
Ken Hughes
0a27a31970 Clean-up for various gcc warnings under linux. 2008-02-03 01:33:35 +00:00
Andrea Weikert
c773988003 == MSVC 7.1 projectfiles ==
- added missing files from cloth sim
2008-01-30 20:19:40 +00:00
Daniel Genrich
fd877543d1 New: Collision Modifier and Cloth can be at any position on the modifier stack. BUT everytime the vertices count change, they will free themselves and internal build new (they rely on vertex count). Should be no problem anymore with e.g. subsurf modifier before collision modifier (tested). Fix: applied a patch from schlaile to get my bullet additions compiled with gcc 3.3 2008-01-30 14:01:05 +00:00
Daniel Genrich
77685023ca Initial commit of cloth modifier from branch rev 13453 2008-01-29 21:01:12 +00:00
Erwin Coumans
f0de3124ce reverted to old hinge constraint, it breaks several tests/demos 2007-08-05 17:44:32 +00:00
Jiri Hnidek
ee593409e3 updated scons build system, neccesary after erwin's commit 2007-07-16 09:09:01 +00:00
Andrea Weikert
f3c14b1306 == MSVC 7.1 project files ==
- updated bullet files with btConeTwistConstraint.h and btConeTwistConstraint.cpp
2007-07-15 16:28:25 +00:00
Erwin Coumans
71550bd3c6 removed "btHingeConstraint::" prefix, in btHingeConstraint::btHingeConstraint(btRigidBody& rbA,const btVector3& pivotInA,btVector3& axisInA); 2007-07-06 20:29:26 +00:00
Erwin Coumans
f256efdb34 fixed issue with kinematic objects 2007-07-06 04:30:25 +00:00
Erwin Coumans
376be529bb synchronized to latest version of Bullet. added btConeTwistConstraint (useful for ragdolls etc) 2007-07-06 03:12:31 +00:00
Andrea Weikert
ddc68225c2 ==== MSVC 7.1 projectfiles ====
- bullet update to version 2.53 cleanup
- added file sculptmode-stroke.c
2007-06-25 17:51:37 +00:00
Erwin Coumans
ca26aeb7b2 upgrade to latest Bullet 2.53. cross the fingers it doesn't break one of the exotic or less exotic platforms 2007-06-23 05:28:07 +00:00
Erwin Coumans
d814e2b9c6 two minor changes, hopefully before release:
- reset randseed, which should make simulations more predictable
- re-activate substeps (for more accurate simulations)
2007-05-07 17:10:44 +00:00
Stephen Swaney
981d24daa1 fix gcc warnings about no newline at end of file 2007-03-14 16:09:12 +00:00
Andrea Weikert
d1b17f8c30 ==== MSVC 7.1 project files ====
- fix for 3DPlugin compile
- cleanup of bullet path
- removed PHY_ODE project from 3D plugin too, not used anymore

Now all configurations should build again, let me know of any problems!

Not been able to test if the 3DPlugin is actually working,is job for another day ;)
Also the 3DPlugin is compiled without OpenExr, this needs to be looked into once too.
2007-03-03 11:28:15 +00:00
Ed Halley
cf04786a8b Removed -mpowerpc -mtune=G4 from several SCons files, so it will work on
either PPC or Intel architectures under OSX.  These options should be
inherited properly from the rest of the OSX SCons build system.
2007-01-28 14:55:57 +00:00
Erwin Coumans
3ded473e44 fixed remaining sqrtf into btSqrt 2006-12-28 19:02:31 +00:00
Erwin Coumans
11cd11d4c9 minor fix in Bullet internals 2006-12-25 19:54:17 +00:00
Erwin Coumans
e820cdf6a0 fixing some issues: force needs to wake up objects, property sensor issue, island activation issue 2006-12-25 02:02:13 +00:00
Andrea Weikert
9dd36f08ee ==== MSVC 7 project files ====
- small bullet maintenance for added btAlignedAllocator
2006-12-20 20:52:39 +00:00
Erwin Coumans
9a169f2633 added some new Bullet files, and upgraded to latest Bullet 2.x
Please make sure to have extern/bullet/src/LinearMath/btAlignedAllocator.cpp in your build, if you add the files by name, instead of wildcard *.cpp
2006-12-12 03:08:15 +00:00
Chris Want
cdc996714e Some pretty hard core bullet2 cleaning (kills the bullet2 lib and headers
in the lib dir).
2006-12-06 22:44:47 +00:00
Erwin Coumans
1cef024780 update to latest Bullet 2.x sources. prepare to make near sensors much faster 2006-12-04 15:48:32 +00:00
Erwin Coumans
f22ee3f86f added some 'angularFactor' for character control (to avoid rotation) 2006-12-04 04:31:34 +00:00
Andrea Weikert
f60da54058 ==== MSVC Projectfiles ====
- finally update to bullet2
2006-12-03 18:56:43 +00:00
Kent Mein
b3f47034b7 fixed it so make clean works for bullet2 lib.
Kent
2006-11-30 19:05:03 +00:00
Ton Roosendaal
a2bcb21ec7 Makefile for Bullet had error, didn't copy the .a file to the right dir. 2006-11-30 18:25:44 +00:00
Nathan Letwory
9711d54fb7 * add btHeightfieldTerrainShape.cpp 2006-11-30 12:39:42 +00:00
Erwin Coumans
e720f86a83 updated to latest Bullet 2.x 2006-11-29 05:24:52 +00:00
Erwin Coumans
3e85830cb2 work around some issue with GCC 3.x (probably compiler bug) 2006-11-23 05:48:04 +00:00
Erwin Coumans
52ccf71309 fixed in Bullet 2.x, should make msvc 6 compile, and reverted to 'old' style solver by default. 2006-11-23 02:42:53 +00:00
Erwin Coumans
083c310d1f fixed some code that causes problems with msvc 6 (need to verify) 2006-11-23 00:23:07 +00:00
Chris Want
341f50c4f7 Makefile support for bullet2 ... please test 2006-11-22 19:05:35 +00:00
Nathan Letwory
84a85f2b7e * tweak priority of bullet libs for blenderplayer 2006-11-21 13:19:39 +00:00
Erwin Coumans
318b98fc9a some fixes, related to object activation in game blender 2006-11-21 11:56:02 +00:00
Nathan Letwory
057a6e3360 * small priority fix. Hopefully helps on more platforms 2006-11-21 10:58:07 +00:00
Erwin Coumans
dba9042bb5 added ConeZ/ConeX 2006-11-21 08:22:01 +00:00
Erwin Coumans
98525b0210 added CMake file for new Bullet 2.x 2006-11-21 06:36:09 +00:00
Nathan Letwory
eb73025c63 ==SCons==
Enable Bullet2 for Scons. This should work for all platforms, but please, test, test,
 test, test, test (ad infinitum)
2006-11-21 06:11:41 +00:00
Erwin Coumans
3026843f23 angular-only hinge updated 2006-11-21 01:09:37 +00:00
Erwin Coumans
eec5ae7d50 angular-only hinge updated 2006-11-21 01:06:23 +00:00
Erwin Coumans
d58670ddd2 catch up with latest Bullet 2.x (not in use yet) 2006-11-21 00:03:56 +00:00
Erwin Coumans
3a1b7ece40 updating Bullet 2.x with latest changes. The integration + C-API will follow at some stage. 2006-11-12 21:05:10 +00:00
Erwin Coumans
92fd043346 update Bullet 2.x with latest changes, notice that the integration is not finished yet, and GameBlender is still using extern/bullet. 2006-10-31 18:19:57 +00:00
Erwin Coumans
44d16f0562 Added refactored Bullet 2.x library. Important: these files are not part of the Blender build yet. First, the integration will be updated to make use of the new Bullet version. Then all build systems needs to be updated.
The refactoring didn't leave a single file the same, all filenames and classes have bt prefix, methodnames start with lowercase, a single headerfile can be included, and also a single include path.
Plan is to make use of this Bullet 2.x version in extern/bullet2 within the coming weeks, then extern/bullet can be discarded/ignored/content removed.
2006-10-23 02:54:30 +00:00