16cc5665defix in the breaking constraints feature
erwin.coumans
2011-07-01 21:51:38 +00:00
251bb4e727remove the 'exit' calls from the OpenCL soft body solver. Use the solver->checkInitialized() method, after solver->optimize() to see if the kernels build OK.
erwin.coumans
2011-06-30 00:23:42 +00:00
fcb1448f21fix member variable name
erwin.coumans
2011-05-22 11:01:46 +00:00
b80e5fd167Remove co-planar faces from convex hull, using 2d Graham scan Improve SAT performance, by skipping back-facing features Add assert in array class (probably fires in places)
erwin.coumans
2011-05-20 12:29:24 +00:00
20e95be9cdFix regression issue: transform is not identity in case of softbody colliding against btCompoundShape.
erwin.coumans
2011-05-11 20:51:57 +00:00
cce582d905Add support for AMDAPPSDKROOT environment variable Initialize vSolveLinksKernel OpenCL cloth kernel (although kernel is unused) Fixes Issue 508
erwin.coumans
2011-04-23 16:01:44 +00:00
6ccd5a644aimplement stub function for clGetProgramInfo to avoid linker errors Fixes Issue 510
erwin.coumans
2011-04-23 15:47:49 +00:00
d9a1a1d415fix bug in the OPC_ArraySAP.cpp (used in Extras/CDTestFramework to compare agains Bullet broadphases) Thanks to Olli-Pekka Räsänen for the report, mentioned by Pierre Terdiman in his blog: http://www.codercorner.com/blog/?p=475
erwin.coumans
2011-04-18 00:08:48 +00:00
1b305562beAdded Pierre Terdiman's 'internal object' optimization to improve performance for separating axis tests. Make the winding consistent in btConvexHullComputer (and related fixes in btPolyhedralConvexShape), thanks to Ole! Some fixes in the btPolyhedralContactClipping implementation (never report a penetration deeper than GJK/EPA found, to avoid issues due to its approximate contact normal directions) Properly visualize btPolyhedralConvexHullShape that have a btConvexPolyhedron (by calling initializePolyhedralFeatures() method)
erwin.coumans
2011-04-15 18:37:28 +00:00
7d37b3c472add support for PosixThreadSupport for MiniCL (partial CPU OpenCL replacement)
erwin.coumans
2011-04-11 16:28:21 +00:00
8bc27b39f7bump up version to 2.78 in a few places missed previously, fixing issue 506
erwin.coumans
2011-04-11 15:28:55 +00:00
1e7b9de339fixes for unix/autotools
erwin.coumans
2011-04-09 03:57:48 +00:00
9a9a4394abfix in btParallelConstraintSolver to support double precision fixes in SAT/polyhedral contact clipping, avoid adding GJK contacts (the contact margin causes different contact depths) add polyhedral convex shape in InternalEdgeDemo as example of the new SAT/polyhedral contact clipping (added reference to Manual/what's new) avoid glueing objecs with contacts that are positive (no gaps)
erwin.coumans
2011-04-09 03:40:15 +00:00
cdddf9d25aadd FractureDemo to AllBulletDemos improvements in CCD handling some cleanup of CcdPhysicsDemo and BasicDemo
erwin.coumans
2011-04-09 01:14:21 +00:00
2291a6a9d3small update on Bullet Physics Manual (revision number, what's new for 2.78)
erwin.coumans
2011-04-07 20:48:50 +00:00
e9f2176804fixes in AllBulletDemos OSX projectfile
erwin.coumans
2011-04-07 17:08:21 +00:00
e6044a1086re-enabled m_maxEdgeAngleThreshold and m_edgeDistanceThreshold
erwin.coumans
2011-04-07 16:46:22 +00:00
d80805d40capply the DX11 cloth fix to allow DLL usage, see Issue 494
erwin.coumans
2011-04-07 16:19:51 +00:00
a4e8213edeImplemented btDiscreteDynamicsWorld::addSpeculativeContacts, using conservative advancement to find contact point ahead of time make Extras/ConvexDecomposition thread safe, Issue 501 some improvements to the btInternalEdgeUtility, patch from Issue 501
erwin.coumans
2011-04-07 06:23:34 +00:00
49630e9c77improvements in separating axis test / polyhedral clipping support. improved debug rendering for polyhedra allow to dynamically switch between gjk and sat test to compute separating axis (independent from the polyhedral clipping)
erwin.coumans
2011-04-07 03:59:14 +00:00
563654fb6eAdd soft body anchor 'm_influence' to control the solver. Thanks to Gregory Jaegy, see Issue 502 Avoid using btTransform to update btSoftBody (bounds are already in worldspace) Use btConvexHullComputer for soft body cluster debug rendering Fix soft body demo issue of invisible soft bodies (rendering was not enabled properly)
erwin.coumans
2011-04-05 20:32:59 +00:00
624dac6128Make btParallelConstraintSolver 64-bit ready add an optional assert method for the btCollisionDispatcher, to make sure the contact pool is contiguous (needed for btParallelConstraintSolver)
erwin.coumans
2011-04-04 22:38:56 +00:00
d419f79770fixes to make MultiThreadedDemo work in 64bit, ParallelConstraintSolver won't work yet, only the parallel collision dispatcher
erwin.coumans
2011-04-03 19:30:26 +00:00
1fb2fa3db9put an #ifdef in PosixThreadSupport in the right location
erwin.coumans
2011-04-02 20:13:50 +00:00
b16b61d9d6disable constraints when they exceed a breaking threshold, control it with new methods in btTypedConstraint: get/setBreakingImpulseThreshold and get/setEnabled Disabled constraints are not removed from the world and they use negligible CPU cycles
erwin.coumans
2011-04-02 19:01:23 +00:00
d198451909clear the applied impulse for constraints (no warmstarting) simplify logic, see Issue 499
erwin.coumans
2011-04-02 00:44:15 +00:00
46be84741cfix an issue in the ConvexDecompositionDemo, replacing std::vector by btAlignedObjectArray.
erwin.coumans
2011-04-01 18:09:31 +00:00
852fa3ba30add the BT_ prefix for all #ifdef guards, to avoid conflicts with developers own header defines. Fixes Issue 497
erwin.coumans
2011-04-01 17:14:52 +00:00
b1f21a7e6aAdd better support for btCollisionWorld::convexSweepTest for btStaticPlaneShape, now using the btContinuousConvexCollision directly. Bugfix in btKinematicCharacterController, using an uninitialized variable
erwin.coumans
2011-04-01 16:33:55 +00:00
08a93b28f0re-introduce the radius/epsilon removed in a previous commit, it is necessary for termination.
erwin.coumans
2011-03-31 21:54:26 +00:00
5cee553a96convexSweepTest: don't report hits if 'needsContactResponse' reports false. Should fixes Issue 197
erwin.coumans
2011-03-31 21:20:52 +00:00
0bef2e7363Fixes in btContinuousConvexCollision, should fix Issue 347
erwin.coumans
2011-03-31 21:14:35 +00:00
88b19eb023fixes in PosixThreadSupport to enable ThreadingDemo and MultiThreadingDemo to run properly. fix autotools build (added missing files)
erwin.coumans
2011-03-30 19:01:29 +00:00
2a856f8c32add support for clipFaceAgainstHull, so we can clip convex polyhedra against triangles (without connectivity information) in addition to the existing clipHullAgainstHull Fix for debug drawing of contact points comment-out some debug drawing code for triangle meshes
erwin.coumans
2011-03-29 21:58:15 +00:00
8847b21eb7fix for gcc/ubuntu
erwin.coumans
2011-03-29 09:12:35 +00:00
784e7fdb39Added support for separating axis test for polyhedral shapes Added initial support for polyhedral contact clipping. This clipping takes a separating normal, that can be computed using either SAT or GJK/EPA. To enable clipping, use btPolyhedralConvexShape::initializePolyhedralFeatures(); (needs to be enabled for both convex shapes) No concave trimesh support for SAT/clipping yet. To enable SAT, see the toggle in btConvexConvexAlgorithm. Fixes in contact normal in btGjkPairDetector. Hopefully this doesn't cause any regression (we need unit tests!)
erwin.coumans
2011-03-29 08:52:18 +00:00
1f5af32203make sure Bullet compiles with LLVM/CLANG See also Issue 496
erwin.coumans
2011-03-24 21:37:42 +00:00
bd88a0c4b8include stdio.h for printf
erwin.coumans
2011-03-22 21:44:13 +00:00
ee5c10fd9binclude stdio.h for sprintf
erwin.coumans
2011-03-22 21:41:47 +00:00
231a6ac718remove default constructors, they cause compile errors under Fedora (in Blender)
erwin.coumans
2011-03-22 16:29:55 +00:00
f44cb95b2aAdded improved convex hull computation utility based on Preparata and Hong Thanks to Ole Kniemeyer, MAXON, See also http://code.google.com/p/bullet/issues/detail?id=275 The ConvexHullDistanceDemo uses it to visualize the convex hull of a point cloud.
erwin.coumans
2011-03-22 00:53:17 +00:00
5454652e44fix bug in btBulletWorldImpoter, thanks to Dirk Gregorius for sharing a .bullet file that reproduces the bug
erwin.coumans
2011-03-19 20:23:38 +00:00
72f88856cdonly use VBO's and USE_GPU_COPY -> OpenCL/OpenGL interop under Windows, so that stuff compiles/runs on Mac OSX and Linux See Issue 495
erwin.coumans
2011-03-19 19:45:24 +00:00
f17fa297d5wrapped up first version of the FractureDemo move 'split impulse' / position solver before velocity solver, so that applied impulse is available for fracture add btSliderConstraint::getAngularPos see http://code.google.com/p/bullet/issues/detail?id=489
erwin.coumans
2011-03-18 00:20:52 +00:00
74a65a6207cleaned up FractureDemo, still need to apply the velocity/impulses after the fracture took place
erwin.coumans
2011-03-17 00:41:39 +00:00
8995ad440cfix a few more warnings
erwin.coumans
2011-03-15 22:51:00 +00:00
334cc85a1ffix some warnings
erwin.coumans
2011-03-15 22:48:36 +00:00
6a2a72d987Fix Apple Snow Leopard build remove 'ComputeBounds', it isn't used and OpenCL compilation breaks Apple build
erwin.coumans
2011-03-15 20:30:23 +00:00
25b4d8da0bfix path to PE include file
erwin.coumans
2011-03-15 17:38:03 +00:00
830796ddceapply changes from Blender/extern/bullet2
erwin.coumans
2011-03-13 16:21:42 +00:00
7c3db274c2add support for btScaledBvhTriangleMeshShape serialization (export and import through btBulletWorldImporter)
erwin.coumans
2011-03-12 20:25:03 +00:00
10580c94bdremove 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
erwin.coumans
2011-03-11 23:27:04 +00:00
2b5e16de4drename solveCollisionsAndUpdateVelocities.cl to SolveCollisionsAndUpdateVelocities solveCollisionsAndUpdateVelocitiesSIMDBatched to SolveCollisionsAndUpdateVelocitiesSIMDBatched
erwin.coumans
2011-03-11 20:26:59 +00:00
f2f20da204rename solveCollisionsAndUpdateVelocities.cl to SolveCollisionsAndUpdateVelocities solveCollisionsAndUpdateVelocitiesSIMDBatched to SolveCollisionsAndUpdateVelocitiesSIMDBatched
erwin.coumans
2011-03-11 20:26:05 +00:00
4f562399c2Fix in the hlsl file, to allow other wavefront sizes to work correctly, thanks Ronen for the fix. Fix in btDX11SIMDAwareSoftBodySolver::optimize, the interface changed
erwin.coumans
2011-03-11 01:30:46 +00:00
1e62d5eadfDX11ClothDemo: fix texture load and initial camera position
erwin.coumans
2011-02-28 05:41:56 +00:00
8cb14e178eadded missing GPU cloth simulation files and DX11/OpenCL kernels Thanks to Cameron Hart for the report, see Issue 486
erwin.coumans
2011-02-28 05:29:54 +00:00
a522cb98d9Added 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.
erwin.coumans
2011-02-27 09:46:46 +00:00
d52f58edd8Synchronize 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
erwin.coumans
2011-02-27 09:07:07 +00:00
ec1bd45f4fmove 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)
erwin.coumans
2011-02-27 06:33:30 +00:00
d2502f80e3always use USE_SSE3_LDDQU on Windows+MSVC, and also on GCC when __SSE3__ is defined
erwin.coumans
2011-02-27 06:20:35 +00:00
cb7f4a9728vectormath requires SSE2, but a single instruction required SSE3, added an #ifdef so it compiles on gcc, using both -msse2 and -msse3
erwin.coumans
2011-02-27 06:13:11 +00:00
c956acbb87fixes in vectormath, sse, when compiling on GCC
erwin.coumans
2011-02-27 06:02:22 +00:00
18371e7876Fix in user collision filtering for btCollisionWorld::rayTestSingle: it was not properly overridden. Thanks Paul Dubois, See Issue 397
erwin.coumans
2011-02-27 03:52:33 +00:00
2049fb2cfadon't initialize damping twice, it is confusing. See Issue 472, thanks Daniel.
erwin.coumans
2011-02-27 03:39:31 +00:00
4e8596eef5Added some helper methods for constraints and btMatrix3x3, Thanks to francois, See Issue 466
erwin.coumans
2011-02-27 03:28:53 +00:00
e5b5126876Enable rayTest btDbvt (dynamic aabb-tree) acceleration for btCompoundShape Thanks to NaN/core13, see Issue 25
erwin.coumans
2011-02-26 22:19:00 +00:00
3f74c62ca4new getLow/getHigh methods aren't inline, thanks harkon for report and fix, see Issue 484
erwin.coumans
2011-02-22 01:36:50 +00:00
ecaf8d2594Generate 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)
erwin.coumans
2011-02-21 22:32:12 +00:00
f19995aeabimprovement for btHingeConstraint to deal with large constraint limits, see Issue 479 Thanks promyclon for the report and patch, and Roman Ponomarev for testing.
erwin.coumans
2011-02-19 20:02:19 +00:00