c4db79791cImprove the loading of serialized Bullet files, so that after 'loadFileFromMemory' you can save the existing memory back to disk converted to native architecture endianness. Fixed a bug that prevented big endian machines to load cloth data (due to wrong endian swap of pointer array) Also improved the 'preswap' so that you can swap endianness on big endian machines (to little endian)
erwin.coumans
2012-11-10 00:51:51 +00:00
f35621eb01Bug in ConeTwist constraint with tight limits fixed ConeTwist constructor for one-body constraint modified
rponom@gmail.com
2012-11-09 19:22:05 +00:00
ff38230704use the right m_bvhAabbMax/m_bvhAabbMin to adjust quantization
erwin.coumans
2012-10-11 16:36:16 +00:00
fe3cfe56b6fix unaligned data issue, see Issue 657
erwin.coumans
2012-10-10 06:35:32 +00:00
79989a8d3dForce spuNodeCallback to be 16-byte aligned, so that we can use SIMD. Related to Issue 657 Recompute the quantization values in case the maximum/minimum extends roundtrip using quantize/unQuantize are out-of-range (alternatively, pass in a larger quantizationMargin)
erwin.coumans
2012-10-10 04:21:36 +00:00
a32efa48c1add BulletQuickstart.pdf and a reference to it from the old Bullet_User_Manual.pdf add HelloWorld demo to premake
erwin.coumans
2012-10-08 19:01:47 +00:00
30b88f2f8emore work on the new Bullet manual/quickstart guide, and cross reference to HelloWorld.cpp source code
erwin.coumans
2012-10-06 20:56:44 +00:00
eaabf1a2c8Expose btManifoldResult::calculateCombinedRestitution and btManifoldResult::calculateCombinedFriction as static member functions, so it can be reused for speculative contacts Add speculative contact restitution, but disabled by default, not well tested (btDiscreteDynamicsWorld::setApplySpeculativeContactRestitution) Add --with-double-precision option to premake build system
erwin.coumans
2012-10-05 21:15:11 +00:00
6be2689f01add joint feedback (applied force and applied torque for a constraint)
erwin.coumans
2012-10-05 05:37:12 +00:00
394bb103f0Fix src/BulletCollision/CollisionDispatch/btSphereBoxCollisionAlgorithm.cpp See Issue 643, thanks to Laurent at liquiddragon for the patch. Fix warning, See Issue 655
erwin.coumans
2012-10-04 20:32:04 +00:00
416b8477b3start to rewrite the Bullet manual and check-in the Latex source
erwin.coumans
2012-10-03 19:34:43 +00:00
79a792913dAdd the option BUILD_MULTITHREADING to CMAKE, only enabled on APPLE and MSVC platforms. This controls multi-core (BulletMultiThreaded), MiniCL, DX11 and OpenCL acceleration. On other platforms (Linux) it might work, but it is unsupported. Fix some warnings in btBulletWorldImprter
erwin.coumans
2012-09-28 19:32:30 +00:00
60bf599246perform GrahamScanConvexHull2D around an arbitrary oriented 2D plane in 3D, to fix some convex hull face merging problems add compound shape support to BulletXmlWorldImporter and fix some compile issue under Debian (hopefully) object picking change in the demos: create a ball-socket picking constraint when holding shift while mouse dragging, otherwise a fixed (6dof) constraint add assert in constraint solver, when both objects have their inertia tensor rows set to zero btPolyhedralContactClipping: add edge-edge contact point in findSeparatingAxis (similar to the default GJK case)
erwin.coumans
2012-09-28 07:14:48 +00:00
837e5cb5e0serialize rolling friction
erwin.coumans
2012-09-27 16:20:29 +00:00
4442a826edadd commandline arguments to serialize demo for xml export and Bullet import file name update AntTweakBar version in CDTestFramework add btCompoundShape support in BulletXmlWorldImporter (this importer is still premature/work-in-progress)
erwin.coumans
2012-09-26 19:47:18 +00:00
60c1b1918afix bug for convex-convex polyhedral contact clipping, where the origin of the object is not located inside the convex hull of the vertices.
erwin.coumans
2012-09-23 18:35:19 +00:00
182c3034defixes in btBulletXmlWorldImporter, and add premake4 support for the related demo
erwin.coumans
2012-09-22 05:27:35 +00:00
0fa444e851fix Mac OSX build
erwin.coumans
2012-09-22 04:26:14 +00:00
f2c9cdfb11add m_rollingFriction to serialization structures add btContactSolverInfo and gravity to serialization structures (actual serialization code will follow soon)
erwin.coumans
2012-09-21 23:37:24 +00:00
214579ec60Allow btBulletWorldImporter to convert/export a .bullet file to XML Add first version of btBulletXmlWorldImporter, still incomplete but it can read some files Fix false assert in btSequentialImpulseConstraintSolver
erwin.coumans
2012-09-21 22:47:11 +00:00
7494463be8reset the companion Id back to -1, because of a bug related to kinematic objects Thanks to Francois for the report. See Issue 652
erwin.coumans
2012-09-20 11:32:27 +00:00
5bba00dea4improve control over rolling friction, use the same m_rollingFriction for both linear factor and absolute clamping value.
erwin.coumans
2012-09-20 04:18:29 +00:00
59a29b1859fix kinematic objects, see Issue 652 add m_rollingFriction to btRigidBody::btRigidBodyConstructionInfo
erwin.coumans
2012-09-20 03:32:52 +00:00
a76e38eff0fix link order so that the premake build works under Linux
erwin.coumans
2012-09-17 16:55:47 +00:00
8be5172df5fix issue in the recent SSE implementation of setInterpolate3 align class
erwin.coumans
2012-09-17 16:03:47 +00:00
90643bec75fix problem with btCylinderShape creation in RollingFrictionDemo
erwin.coumans
2012-09-16 19:26:27 +00:00
4934ce61fatweak rolling friction in RaytestDemo
erwin.coumans
2012-09-16 17:23:39 +00:00
22fb7d5c1eimprove rolling friction using anisotropic direction, to avoid resting in an instable position (for implicit capsule, cylinder and cone shape) See Bullet/Demos/RollingFrictionDemo for an example
erwin.coumans
2012-09-16 17:01:25 +00:00
7eebb79cedimplemented rolling friction, using a contact constraint. Useful to get rolling spheres to rest, even on a slightly sloped plane. See http://www.youtube.com/watch?v=RV7sBAsKu4M and Bullet/Demos/RollingFrictionDemo Fixes in FractureDemo (mouse picking constraint needs to be removed, otherwise constraint solver crashes/asserts)
erwin.coumans
2012-09-15 06:52:17 +00:00
54744b6ab9added gyroscopic force option for btRigidBody, body->setFlags(BT_ENABLE_GYROPSCOPIC_FORCE); Note that it can easily introduce instability at regular (60Hertz) simulation steps so it is generally best to not use the option. If needed, use a very small internal step, such as 1000 Hertz (world->stepSimulation(dt,100,1./1000.f); or stepSimulation(1./1000.,0);
erwin.coumans
2012-09-14 21:39:48 +00:00
3e9f35c0fdAdd btGearConstraint, with a demo in Bullet/Demos/ConstraintDemo Thanks to Dimitris Papavasiliou for the idea.
erwin.coumans
2012-09-13 22:40:39 +00:00
2dfde77bacdelete some unused projects
erwin.coumans
2012-09-13 00:25:44 +00:00
c2f9d927c2fix ray test kF_FilterBackfaces and kF_KeepUnflippedNormal flags add Demos/RaytestDemo to show/test rayTest fix premake batch files
erwin.coumans
2012-09-12 23:19:05 +00:00
73082e995cenable AMD OpenCL sdk for linux too Fixes Issue 641
erwin.coumans
2012-09-12 16:42:03 +00:00
9a460942a9register the gimpact collision algoritm in the SerializeDemo by default
erwin.coumans
2012-09-11 22:28:41 +00:00
2871a3d30fenable import/deserialization of optimizedBvh data in a .bullet file
erwin.coumans
2012-09-11 19:59:00 +00:00
4eb5240cbeApplied patch for character controller by bjorn.wesen. Fixes Issue 644.
erwin.coumans
2012-09-11 04:36:57 +00:00
d99d9779a2cast to char to avoid C++11 issue Fixes Issue 716.
erwin.coumans
2012-09-11 03:58:11 +00:00
1b7642f0f5Prepare for 2.81 release, increase version numbers Fixed DNA serialization for C++11: avoid negative char values Fixes 617. (needs to be tested)
erwin.coumans
2012-09-11 03:49:50 +00:00
8c56528a79Avoid using restitution for ccd motion clamping. Restitution for fast moving objects should be handled by btDiscreteDynamicsWorld::createPredictiveContacts (make sure to merge islands based on those predictive contacts too, added some check in the solver) This fixes Issue 356. Use same solver settings for AllBulletDemos Make sure to embed the setCcdSweptSphereRadius inside the actual collision shape (for shoot box)
erwin.coumans
2012-09-11 03:12:32 +00:00
9612561113add btDiscreteDynamicsWorld::createPredictiveContacts after discrete collision detection and add temporary contact manifolds, for the constraint solver. This should improve 'ccd' handling when using world->getDispatchInfo().m_useContinuous = true;body->setCcdSquareMotionThreshold(...); body->setCcdSquareMotionThreshold(...) shoot smaller boxes (test) use yellow instead of orange for contact point normals tweak default erp and erp2 values, now split impulse is on by default (need to check it)
erwin.coumans
2012-09-11 00:56:11 +00:00
9cfcabfc4cdisable all demos for premake4 iOS build (it only compiles HelloWorld, Benchmark and UnitTest for now) add btAlignedFree to deleteCriticalSection
erwin.coumans
2012-09-10 16:02:30 +00:00
77b662d5fefix a few more warnings under Windows fix linker issue due to unsigned/int variable
erwin.coumans
2012-09-10 04:46:39 +00:00
5417bae113add zigzag heightfield for Ogre compatibility. Fixes Issue 625. Thanks to KLLoyd!
erwin.coumans
2012-09-09 22:48:20 +00:00
f50cf5585afix MinGW compilation, use size_t instead of unsigned long add missing virtual methods in SequentialThreadSupport
erwin.coumans
2012-09-09 22:19:54 +00:00
e2522c6f9bre-enable debug drawing of box, instead of using the generic convex path. Fixes Issue 622. Thanks for the report!
erwin.coumans
2012-09-09 22:08:23 +00:00
2fb970ce33disable debug drawing in btCompoundCollisionAlgorithm Fixes Issue 600. Thanks to Stuart for the report.
erwin.coumans
2012-09-09 21:31:02 +00:00
ff72d64ffafix memory leak in Box2dDemo. Fixes Issue 619. Thanks to Joshua Downer for the report.
erwin.coumans
2012-09-09 17:31:10 +00:00
3b83428a7fApplied polar decomposition patch. Fixes Issue 621. Thanks to Christian for the report, Joshua for the fix, Dongsoo for checking the fix. Applied picking cloth patch. Fixes Issue 646. Thanks to Dongsoo. Applied patch Softbody updateConstraints. Fixes Issue 503. Thanks to Dave Bruce Phillips and Dongsoo. Fix various warnigns under Mac OSX.
erwin.coumans
2012-09-09 17:22:30 +00:00
e208f99289clear all arrays when deleting data. Fixes Issue 645.
erwin.coumans@gmail.com
2012-09-08 20:05:53 +00:00
2700ba17c0fix memory leak when calling initializePolyhedralFeatures
erwin.coumans
2012-09-08 19:43:24 +00:00
f3d40957bereplace MAKE_ID by BT_MAKE_ID to avoid conflic with Blender code base. Fixes Issue 628, thanks to Sergey!
erwin.coumans@gmail.com
2012-09-08 19:33:47 +00:00
b69c6ac3f5fix padding in btSolverConstraint, see Issue 650 fix some warnings
erwin.coumans
2012-09-08 19:21:14 +00:00
9065f59229only use neon for armv7, quick commit through website
erwin.coumans@gmail.com
2012-09-06 05:22:17 +00:00
196aa20329add m_splitImpulseTurnErp solver setting, initialized to 0.1: more stable recovery from deeper penetrations by reducing the angular effect (if split impulse is enabled) Set it to 1.0 to disable the effect. removed broken/not maintained heightfield fluid demo add some API methods to btPersistentManifold
erwin.coumans
2012-09-03 04:38:08 +00:00
c1138535f9use btAssert instead of assert use __debugbreak for Windows MSVC asserts and asm volatile ("int3");\ on Mac OSX (__i386__ / __x86_64__)
erwin.coumans
2012-09-02 17:54:30 +00:00
c28f413e50remove obsolete IBM Cell SDK makefiles
erwin.coumans
2012-09-02 17:38:51 +00:00
48966ec247remove the need for ARM_NEON_GCC_COMPATIBILITY definition (arm/Apple/iOS)
erwin.coumans
2012-08-31 22:41:05 +00:00
84b1774ddaimprove handling of restitution by using the velocity (linear/angular) before applying forces: this is done by re-introducing the btSolverBody and only apply the forces to solver body, and use the original rigid body velocity for restitution computation. warmstarting for contact points was broken, fix in btPersistentManifold enable split impulse by default (at the cost of some performance) add the option for zero-length friction (instead of recomputing friction directions using btPlaneSpace), use the solver mode flag SOLVER_ALLOW_ZERO_LENGTH_FRICTION_DIRECTIONS precompute lateral friction directions (in btManifoldResult) remove the mConstraintRow[3] from btManifoldPoint, it just took a lot of memory with no benefits: fixed it in btParallelConstraintSolver
erwin.coumans
2012-08-31 19:46:24 +00:00
10ed7bffd5Fix serialization issue with btGeneric6DofSpringConstraintData, due to typo Skip btGeneric6DofSpringConstraintData parts of the data that will be invalid in .bullet files version 280 or older This fixes Issue 618, thanks to cyrfer for the report. minor improvements in premake build (name library output so multiple Visual Studio installations don't conflict) remove msvc folder
erwin.coumans
2012-07-24 04:07:25 +00:00
f9908667ebfix xcode project in Extras/AllBulletDemosOSX and enable stencil shadows
erwincoumans
2012-06-21 07:00:08 +00:00
73b217fb07Apple contribution for OSX SSE and iOS NEON optimizations unit tests, thanks to Jordan Hubbard, Ian Ollmann and Hristo Hristov.
erwin.coumans
2012-06-07 00:56:30 +00:00
ec734ada87OpenCL GPU rigid body pipeline2: initialize the host/gpu velocities so that the demo also works with NVIDIA GPUs (apparently AMD Radeon initializes the memory with zero, hiding this bug)
erwin.coumans
2012-04-10 23:36:07 +00:00
8453942546workaround for a GCC 4.2 compiler bug and warning in pointer conversion, fixes Issue 615, thanks to Daniel Sefton for the report
erwin.coumans
2012-03-30 19:15:55 +00:00
0d077293a5use heap sort instead of quicksort
erwin.coumans
2012-03-22 17:43:17 +00:00
da54814d09Bug fix in EPA implementation, compute closest triangle to the origin using edges/vertices, instead of the projected origin distance. See Issue 606 for detailed description. Thanks a lot to Jarno for the report and fix!
erwin.coumans
2012-03-16 18:59:50 +00:00
6fe42c183aFix deletion of debug drawer (use a static global) Fixes issue 608
erwin.coumans
2012-03-15 21:56:57 +00:00
f4cf504223add a couple of missing PhysicsEffects premake files
erwin.coumans
2012-03-14 20:35:46 +00:00
76375afff2revert quickSort change in commit http://code.google.com/p/bullet/source/detail?r=2527 and fix the underlying sort issue in VoronoiFractureDemo (store intermediate values in memory to avoid problems) @todo: rewrite the island management to avoid sort for better performance Thanks to Peter Kyme for the report, fixes Issue 607
erwin.coumans
2012-03-14 03:52:29 +00:00
52f9f6ed09convert UTF-8 to ascii (how did the Byte Order Mark/BOM ever get into this file?)
erwin.coumans
2012-03-12 18:43:11 +00:00
28de5ea030unsigned char -> char for serialization data structures. See Issue 604
erwin.coumans
2012-03-05 23:38:36 +00:00
b5b31ce52badded VoronoiFractureDemo, thanks to RBD fix in infinite recursion in quickSort, exclude the pivot in each sub partition disabled constraints don't merge simulation islands, and they don't disable collision between linked rigid bodies either.
erwin.coumans
2012-03-05 21:47:05 +00:00
03e1603a2fupdate explanation about GPU rigid body pipeline
erwin.coumans
2012-03-05 05:52:36 +00:00
52c15f9fd0explain that the GPU rigid body pipeline is only tested under Windows, with recent GPU
erwin.coumans
2012-03-05 05:50:51 +00:00
8bf2ce9911update Bullet_User_Manual.pdf with 'What's new for Bullet 2.80'
erwin.coumans
2012-03-05 05:45:46 +00:00
ee63abcae4update PhysicsEffects Android readme and bump up Sony copyright year
erwin.coumans
2012-03-05 05:06:14 +00:00
a93a661b94Add PhysicsEffects to Extras. The build is only tested on Windows and Android. The Android/NEON optimized version of Physics Effects is thanks to Graham Rhodes and Anthony Hamilton, See Issue 587
erwin.coumans
2012-03-05 04:59:58 +00:00
6cf8dfc202fix linux build, and enable simulation by default for SerializeDemo
erwin.coumans
2012-03-05 01:10:58 +00:00