Commit Graph

2055 Commits

Author SHA1 Message Date
erwin.coumans
7c3db274c2 add support for btScaledBvhTriangleMeshShape serialization (export and import through btBulletWorldImporter) 2011-03-12 20:25:03 +00:00
erwin.coumans
0c11538a28 Make a copy of btStridingMeshInterfaceData during import, so that the in-place data can be removed.
See http://code.google.com/p/dynamica/issues/detail?id=17
2011-03-12 06:17:54 +00:00
erwin.coumans
ed76ad98c2 update serialization structures 2011-03-12 04:43:31 +00:00
erwin.coumans
bcb08a93f8 update serialization structures 2011-03-12 04:39:24 +00:00
erwin.coumans
10580c94bd remove constraints/rigid bodies from dynamics world in btBulletWorldImporter
Thanks to vicariousentertainment, see http://code.google.com/p/dynamica/issues/detail?id=16
Enable SIMD OpenCL cloth solver by default
enable keyboard 'up' for Windows (non-Glut) version
2011-03-11 23:27:04 +00:00
erwin.coumans
2b5e16de4d rename solveCollisionsAndUpdateVelocities.cl to SolveCollisionsAndUpdateVelocities
solveCollisionsAndUpdateVelocitiesSIMDBatched to SolveCollisionsAndUpdateVelocitiesSIMDBatched
2011-03-11 20:26:59 +00:00
erwin.coumans
f2f20da204 rename solveCollisionsAndUpdateVelocities.cl to SolveCollisionsAndUpdateVelocities
solveCollisionsAndUpdateVelocitiesSIMDBatched to SolveCollisionsAndUpdateVelocitiesSIMDBatched
2011-03-11 20:26:05 +00:00
erwin.coumans
4f562399c2 Fix in the hlsl file, to allow other wavefront sizes to work correctly, thanks Ronen for the fix.
Fix in btDX11SIMDAwareSoftBodySolver::optimize, the interface changed
2011-03-11 01:30:46 +00:00
erwin.coumans
bf90952c12 Fix in aabb computation for a btUniformScalingShape
Thanks to Flix, see http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=6439
2011-03-11 00:05:07 +00:00
erwin.coumans
5a4d65f2fe update Mac OSX xcode project 2011-03-07 23:48:40 +00:00
erwin.coumans
b67da9e50a made BasicDemo/Speculative Contacts demo a bit prettier 2011-03-05 21:13:49 +00:00
erwin.coumans
7a9c349a8c enable predictive contact constraints, see BasicDemo 2011-03-05 03:01:44 +00:00
erwin.coumans
a99d2679bd removed broken msvc projectfiles 2011-03-05 02:00:59 +00:00
erwin.coumans
a2112b11f0 added missing file capsule.h for DX11ClothDemo
Thanks to Cameron, see Issue 486.
2011-03-04 20:31:57 +00:00
erwin.coumans
fd4ae96697 Performance optimization for btCompoundShape::setLocalScaling
Thanks to Mirza, See Issue 487

backward compatibility fix for recent improvement in btRaycastVehicle 'rollinfluence'
Thanks to Mihail, See Issue 468
2011-03-04 20:16:50 +00:00
erwin.coumans
b167f69ca2 add debug text/info for Demos/InternalEdgeDemo 2011-03-01 00:49:36 +00:00
erwin.coumans
c2badf3b4a don't use MSVC DLL linkage by default for CMake 2011-03-01 00:21:18 +00:00
erwin.coumans
58af9d7569 void->int patch (64bit issue)
THanks to core13/Nan, See Issue 25
2011-02-28 17:24:19 +00:00
erwin.coumans
b7211240fc more compatibility fixes for Physics Effects 2.x/vectormath. 2011-02-28 07:27:39 +00:00
erwin.coumans
e621c880d6 avoid naming conflicts with vectormath/sse version 2011-02-28 06:54:08 +00:00
erwin.coumans
40c4536843 added a few missing methods in vectormath/sse/vec_aos.h 2011-02-28 06:20:44 +00:00
erwin.coumans
b58c3e1f2a update msvc project file, added missing file
(might need proper auto-generation)
2011-02-28 05:45:48 +00:00
erwin.coumans
1e62d5eadf DX11ClothDemo: fix texture load and initial camera position 2011-02-28 05:41:56 +00:00
erwin.coumans
8cb14e178e added missing GPU cloth simulation files and DX11/OpenCL kernels
Thanks to Cameron Hart for the report, see Issue 486
2011-02-28 05:29:54 +00:00
erwin.coumans
a522cb98d9 Added a first version of FractureDemo, showing basic fracture and glue of rigid bodies.
It assumes a btCompoundShaps (where the childshapes are the pre-fractured pieces)
The btFractureBody is a class derived from btRigidBody, dealing with the collision impacts and connectivity/propagating the fracture.
Press the F key to toggle between fracture and glue mode
This is preliminary work, can be used as a starting point to implement your own fracture.
2011-02-27 09:46:46 +00:00
erwin.coumans
d52f58edd8 Synchronize changes from branches/GpuClothAMD to trunk
Main improvements are: GPU cloth collision detection against a capsule shape
,OpenCL-OpenGL interoperability (keeping data buffers on GPU), and bug fixes
Thanks to Lee Howes
2011-02-27 09:07:07 +00:00
erwin.coumans
ec1bd45f4f move some of the debug drawing from btCollisionWorld into btIDebugDraw.h,
this allows the developer to create better looking debug primitives (sphere, capsule, cylinder, cone and plane)
2011-02-27 06:33:30 +00:00
erwin.coumans
d2502f80e3 always use USE_SSE3_LDDQU on Windows+MSVC, and also on GCC when __SSE3__ is defined 2011-02-27 06:20:35 +00:00
erwin.coumans
cb7f4a9728 vectormath requires SSE2, but a single instruction required SSE3, added an #ifdef
so it compiles on gcc, using both -msse2 and -msse3
2011-02-27 06:13:11 +00:00
erwin.coumans
c956acbb87 fixes in vectormath, sse, when compiling on GCC 2011-02-27 06:02:22 +00:00
erwin.coumans
d3de688ddb fixes in src/sse/vectormath to make it compatible with non-MSVC compilers
Thanks to Tjapter (http://www.bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=5091)
and Xavier (Issue 383) for the suggestions.
2011-02-27 05:44:47 +00:00
erwin.coumans
18371e7876 Fix in user collision filtering for btCollisionWorld::rayTestSingle: it was not properly overridden.
Thanks Paul Dubois, See Issue 397
2011-02-27 03:52:33 +00:00
erwin.coumans
2049fb2cfa don't initialize damping twice, it is confusing.
See Issue 472, thanks Daniel.
2011-02-27 03:39:31 +00:00
erwin.coumans
4e8596eef5 Added some helper methods for constraints and btMatrix3x3,
Thanks to  francois, See Issue 466

Prevent crash in SoftBodyDemo, when picking constraints and demo-mode switches to next demo.
2011-02-27 03:28:53 +00:00
erwin.coumans
e5b5126876 Enable rayTest btDbvt (dynamic aabb-tree) acceleration for btCompoundShape
Thanks to NaN/core13, see Issue 25
2011-02-26 22:19:00 +00:00
erwin.coumans
3f74c62ca4 new getLow/getHigh methods aren't inline, thanks harkon for report and fix, see Issue 484 2011-02-22 01:36:50 +00:00
erwin.coumans
ecaf8d2594 Generate a single bullet.h headerfile for serialization, to make it easier to load .bullet files with no dependencies on the Bullet SDK (except Bullet/LinearMath and Bullet/Extras/Serialize/BulletFileLoader)
Added a work-in-progress example how to load a .bullet file using this bullet.h file (and not using the Bullet SDK)
2011-02-21 22:32:12 +00:00
erwin.coumans
f19995aeab improvement for btHingeConstraint to deal with large constraint limits, see Issue 479
Thanks promyclon for the report and patch, and Roman Ponomarev for testing.
2011-02-19 20:02:19 +00:00
erwin.coumans
48e89d44dc Applied patch from Blender, see https://svn.blender.org/svnroot/bf-blender/trunk/blender/extern/bullet2/uninitialized_stack_vec.patch
Thanks to Campbell for reporting this
2011-02-10 21:57:04 +00:00
erwin.coumans
b4876b22cd Add check for cmake build system so that if the OpenCL library is not found, it will not compile the OpenCL-dependent code (on APPLE)
Thanks to Max for the report and fix in Issue 480.
2011-02-09 00:51:40 +00:00
erwin.coumans
cb497b88a6 Avoid division by zero in softbody constraint solving
Thanks majestik for reporting the issue and providing a patch, see Issue 469

Fix bug in findBinarySearch, luckily this method was not used yet.
Thanks snowcat for reporting a fix for this issue:
http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=6294
2011-01-30 21:17:18 +00:00
erwin.coumans
b37edd81cd temp fix for Issue 473 2011-01-11 00:22:23 +00:00
erwin.coumans
4999fba60e fix some compatibility issues between Bullet / PE / vectormath, introduced a few commits ago 2011-01-07 20:29:34 +00:00
erwin.coumans
9098e82004 BT_USE_DOUBLE_PRECISION was missing from bullet.pc using cmake
Thanks to Sigluy, see Issue 471

Default constructor for btBvhTriangleMeshShape causes NULL dereference, so removed obsolete constructor.
Thanks to exarkun, see Issue 465
2011-01-07 17:50:36 +00:00
erwin.coumans
f10846ed7a Added preliminary cmake support for PE branch, Win32 only for now. 2011-01-07 01:48:50 +00:00
erwin.coumans
22ff43e388 removed a minor warning 2011-01-06 02:26:18 +00:00
erwin.coumans
4c3a31077b Applied rolling-influence fix. For backwards compatibility, you can un-comment the #define ROLLING_INFLUENCE_FIX in btRaycastVehicle.cpp
Thanks to Vlad Turchenko for the report and fix, see Issue 468
2010-12-23 02:01:54 +00:00
erwin.coumans
cb4ae2f3b9 Fixed typo in comment, thanks Exarkun for the report in Issue 464 2010-12-22 00:05:59 +00:00
erwin.coumans
51dc372993 (de)serialization of softbody joints working now. Resolving Issue 456. 2010-12-16 07:41:00 +00:00
erwin.coumans
4ba9cfa5a4 trim some un-needed data from softbody joint serialization 2010-12-16 02:54:11 +00:00