erwin.coumans
1b7642f0f5
Prepare for 2.81 release, increase version numbers
...
Fixed DNA serialization for C++11: avoid negative char values
Fixes 617. (needs to be tested)
2012-09-11 03:49:50 +00:00
erwin.coumans
8c56528a79
Avoid 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)
2012-09-11 03:12:32 +00:00
erwin.coumans
9612561113
add 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)
2012-09-11 00:56:11 +00:00
erwin.coumans
9cfcabfc4c
disable all demos for premake4 iOS build (it only compiles HelloWorld, Benchmark and UnitTest for now)
...
add btAlignedFree to deleteCriticalSection
2012-09-10 16:02:30 +00:00
erwin.coumans
77b662d5fe
fix a few more warnings under Windows
...
fix linker issue due to unsigned/int variable
2012-09-10 04:46:39 +00:00
erwin.coumans
5417bae113
add zigzag heightfield for Ogre compatibility.
...
Fixes Issue 625. Thanks to KLLoyd!
2012-09-09 22:48:20 +00:00
erwin.coumans
f50cf5585a
fix MinGW compilation, use size_t instead of unsigned long
...
add missing virtual methods in SequentialThreadSupport
2012-09-09 22:19:54 +00:00
erwin.coumans
e2522c6f9b
re-enable debug drawing of box, instead of using the generic convex path.
...
Fixes Issue 622. Thanks for the report!
2012-09-09 22:08:23 +00:00
erwin.coumans
2fb970ce33
disable debug drawing in btCompoundCollisionAlgorithm
...
Fixes Issue 600.
Thanks to Stuart for the report.
2012-09-09 21:31:02 +00:00
erwin.coumans
6b8a571438
better fix for memory issue of BulletMultiThreaded
...
See Issue 271 and
http://www.bulletphysics.org/Bullet/phpBB3/viewtopic.php?p=&f=9&t=4043
2012-09-09 21:25:00 +00:00
erwin.coumans
ccfbb9fd79
revert memory deletions, should be done properly
2012-09-09 20:57:41 +00:00
erwin.coumans
491c91f486
fix memory leak in BulletMultiThreaded
...
Fixes Issue 271.
2012-09-09 20:53:55 +00:00
erwin.coumans
7bb4e0e1bd
fix ForkLiftDemo update (previous commit)
...
implement preallocate{Vertices,Indices} in btTriangleMesh. Fixes Issue 647.
2012-09-09 17:59:02 +00:00
erwin.coumans
ff72d64ffa
fix memory leak in Box2dDemo. Fixes Issue 619. Thanks to Joshua Downer for the report.
2012-09-09 17:31:10 +00:00
erwin.coumans
3b83428a7f
Applied 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.
2012-09-09 17:22:30 +00:00
erwin.coumans
2700ba17c0
fix memory leak when calling initializePolyhedralFeatures
...
Fixes Issue 623, thanks for the report/patch!
2012-09-08 19:43:24 +00:00
erwin.coumans
b69c6ac3f5
fix padding in btSolverConstraint, see Issue 650
...
fix some warnings
2012-09-08 19:21:14 +00:00
erwin.coumans
196aa20329
add 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
2012-09-03 04:38:08 +00:00
erwin.coumans
c1138535f9
use btAssert instead of assert
...
use __debugbreak for Windows MSVC asserts and asm volatile ("int3");\ on Mac OSX (__i386__ / __x86_64__)
2012-09-02 17:54:30 +00:00
erwin.coumans
c28f413e50
remove obsolete IBM Cell SDK makefiles
2012-09-02 17:38:51 +00:00
erwin.coumans
48966ec247
remove the need for ARM_NEON_GCC_COMPATIBILITY definition (arm/Apple/iOS)
2012-08-31 22:41:05 +00:00
erwin.coumans
84b1774dda
improve 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
2012-08-31 19:46:24 +00:00
erwin.coumans
37ebcc3aa6
fix and re-enable sphere-box collision algorithm, Issue 643
...
Thanks to Laurent for the fix and Thomas for adapting the fix to latest trunk revision!
2012-07-31 17:17:51 +00:00
erwin.coumans
7f6131f0cc
fix soft body friction value, Issue 613
...
Thanks to Jarno for the report and fix.
2012-07-31 17:02:40 +00:00
erwin.coumans
1a3cbb0177
fix unit test under Ubuntu
...
fixes Issue 629, thanks to joshua.downer for the report and fix
2012-07-31 16:53:44 +00:00
erwin.coumans
a734e86453
fix autotools/autoconf see also
...
http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=8300&p=28416#p28416
2012-07-31 04:40:16 +00:00
erwin.coumans
10ed7bffd5
Fix 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
2012-07-24 04:07:25 +00:00
erwin.coumans
73b217fb07
Apple contribution for OSX SSE and iOS NEON optimizations unit tests, thanks to Jordan Hubbard, Ian Ollmann and Hristo Hristov.
...
For OSX:
cd build
./premake_osx xcode4
for iOS:
cd build
./ios_build.sh
./ios_run.sh
Also integrated the branches/StackAllocation to make it easier to multi-thread collision detection in the near future. It avoids changing the btCollisionObject while performing collision detection.
As this is a large patch, some stuff might be temporarily broken, I'll keep an eye out on issues.
2012-06-07 00:56:30 +00:00
erwin.coumans
777b92a2ad
fix HACD/CMakeLists.txt to add .inl files for install fixes Issue 616
...
https://code.google.com/p/bullet/issues/detail?id=616&colspec=Modified%20ID%20Type%20Stars%20Status%20Owner%20Summary
fix Intel cmake build of ParticlesOpenCL and OpenCLClothDemo
disable debug printf
2012-05-30 19:22:54 +00:00
erwin.coumans
ec734ada87
OpenCL 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)
2012-04-10 23:36:07 +00:00
erwin.coumans
8453942546
workaround for a GCC 4.2 compiler bug and warning in pointer conversion,
...
fixes Issue 615, thanks to Daniel Sefton for the report
2012-03-30 19:15:55 +00:00
erwin.coumans
4b92fbaccf
fix AllBulletDemosOSX Xcode project
2012-03-27 21:27:19 +00:00
erwin.coumans
0d077293a5
use heap sort instead of quicksort
2012-03-22 17:43:17 +00:00
erwin.coumans
da54814d09
Bug 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!
2012-03-16 18:59:50 +00:00
erwin.coumans
6fe42c183a
Fix deletion of debug drawer (use a static global)
...
Fixes issue 608
2012-03-15 21:56:57 +00:00
erwin.coumans
f4cf504223
add a couple of missing PhysicsEffects premake files
2012-03-14 20:35:46 +00:00
erwin.coumans
76375afff2
revert 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
2012-03-14 03:52:29 +00:00
erwin.coumans
52f9f6ed09
convert UTF-8 to ascii (how did the Byte Order Mark/BOM ever get into this file?)
2012-03-12 18:43:11 +00:00
erwin.coumans
28de5ea030
unsigned char -> char for serialization data structures.
...
See Issue 604
2012-03-05 23:38:36 +00:00
erwin.coumans
b5b31ce52b
added 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.
2012-03-05 21:47:05 +00:00
erwin.coumans
03e1603a2f
update explanation about GPU rigid body pipeline
2012-03-05 05:52:36 +00:00
erwin.coumans
52c15f9fd0
explain that the GPU rigid body pipeline is only tested under Windows, with recent GPU
2012-03-05 05:50:51 +00:00
erwin.coumans
8bf2ce9911
update Bullet_User_Manual.pdf with 'What's new for Bullet 2.80'
2012-03-05 05:45:46 +00:00
erwin.coumans
ee63abcae4
update PhysicsEffects Android readme and bump up Sony copyright year
2012-03-05 05:06:14 +00:00
erwin.coumans
a93a661b94
Add 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
2012-03-05 04:59:58 +00:00
erwin.coumans
6cf8dfc202
fix linux build, and enable simulation by default for SerializeDemo
2012-03-05 01:10:58 +00:00
erwin.coumans
571af41cf6
Add the GPU rigid body pipeline from https://github.com/erwincoumans/experiments as a Bullet 3.x preview for Bullet 2.80
2012-03-05 00:54:32 +00:00
erwin.coumans
73c4646b40
updated version of glew, and use static glew under Windows (CMake and premake project updates)
2012-03-05 00:18:24 +00:00
erwin.coumans
9bc3b5eb10
Update btOpenCLUtils to allow caching of precompiled program binaries (save/load). See Bullet/Demos/SerializeDemo/AMD for an example use
...
Fix in btBulletWorldImporter: load friction/restitution and patch radius of btCapsuleShape (it needs to embed the margin)
Partly apply a modified patch to make the SerializeDemo_AMD work, but avoid breaking the MiniCL version. See Issue 594
2012-03-04 22:12:12 +00:00
erwin.coumans
9c6a790e4b
minor fix in SerializeDemo
2012-03-03 03:44:10 +00:00
erwin.coumans
2be785680c
also update release version in CMakeLists.txt
2012-03-03 03:15:04 +00:00
erwin.coumans
710954d772
Constraints can override their own number of solver iterations (either more or less than the default) or leave it default (-1)
...
Bump version to 2.80
2012-03-03 03:07:18 +00:00
erwin.coumans
a5aa2a5ff7
Add single body constructor for btGeneric6DofSpringConstraint. See Issue 601, thanks to aj.dneg for the patch.
2012-03-01 05:48:51 +00:00
erwin.coumans
640d11e617
Add a mention of the fact that the profiler btQuickProf doesn't use the memory allocator, See Issue 529, thanks to Young.
...
Bump up version number of Bullet manual to 2.80
2012-03-01 05:30:45 +00:00
erwin.coumans
0daf69afb6
Add an improved way to approximate the area of the contact manifold, using 4 points instead of 3. It is switched off by default (need to check performance first), use gContactCalcArea3Points = false to enable it. Thanks to Hiroshi Matsuike for the improvement!
...
Use App prefix for AppHfFluidDemo
2012-03-01 05:02:01 +00:00
erwin.coumans
99db5e6c8a
fix in ConvexDecomposition (old one, not HACD)
...
See Issue 552, thanks to Jarno
2012-02-29 05:55:45 +00:00
erwin.coumans
0adc75433b
fix a warning in btSerializer.h (unused variable nr)
2012-02-29 05:51:10 +00:00
erwin.coumans
73c8a8673e
comment the stride parameters of btIndexedMesh
...
See Issue 518,
thanks to Julien Rebetez
2012-02-29 05:40:55 +00:00
erwin.coumans
dff62e67df
CMakeListst.txt maintenance/improvement: create frameworks for BulletMultiThreaded and MiniCL, also minor fix in BulletCollision
...
thanks to eitttje, see Issue 548
2012-02-29 05:19:22 +00:00
erwin.coumans
4010b9a58c
make some methods/data const for btHeightfieldTerrainShape
...
See Issue 569
Thanks to Camilla Berglund
2012-02-29 05:04:34 +00:00
erwin.coumans
8f389d13e7
fix btQuaternion::slerp
...
See issue 583.
Thanks to macbearchen for the report and joshua downer for the fix
2012-02-29 04:50:39 +00:00
erwin.coumans
018c526edc
Install BulletFileLoader and BulletWorldImporter if -DINSTALL_EXTRA_LIBS=ON
...
See Issue 563
2012-02-29 04:43:51 +00:00
erwin.coumans
b90352d62b
changes in debug drawing, thanks to Dennis Cappendijk
...
See Issue 559
2012-02-29 04:15:09 +00:00
erwin.coumans
1bcfd824f2
object that have no contact response should not activate other objects
...
See Issue 592
2012-02-29 03:56:53 +00:00
erwin.coumans
b8d293c1fe
Fixes for double precision compilation
...
Thanks to Dennis Cappendijk for the report and fix
See Issue 575
2012-02-29 03:50:53 +00:00
erwin.coumans
0ad2738167
install vectormath include files, because BulletMultiThreaded depends on it
...
Fixes Issue 595
Thanks to knox31085 for the report
2012-02-29 03:33:42 +00:00
erwin.coumans
14a3e45602
use getContactBreakingThreshold in SpuContactResult.cpp
2012-02-29 02:17:39 +00:00
erwin.coumans
4a76886bb9
Fix in double precision version of a unit test. Fixes Issue 596
...
Thanks to jmmartinez1986 for the report and fix
2012-02-29 02:00:00 +00:00
erwin.coumans
bafef09b6e
add btAlignPointer template and use it in serializer/allocator
...
this should fix Issue 559
2012-02-25 19:24:59 +00:00
erwin.coumans
22dc2ca6c3
fix for btGeneric6DofConstraint, when the btRotationalLimitMotor goes over PI or under -PI.
...
See http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=5046&p=27113#p27113
Thanks zlash for the fix/report and Flix for the reminder.
2012-02-18 09:21:16 +00:00
erwin.coumans
15deee7e79
Fix a division by zero in btConeTwistConstraint::calcAngleInfo2
...
http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=7867
Thanks to Aardwolf for report and Roman Ponomarev for the fix
2012-02-16 23:44:43 +00:00
erwin.coumans
9bfdc346c3
allow cancel operation for HACD (it takes minutes to complete, blocking modelers such as Maya when accidently pressed)
...
used in Dynamica maya plugin (http://dynamica.googlecode.com )
2012-01-31 04:45:46 +00:00
erwin.coumans
99ab91b451
use #include "file.h" instead of #include <file.h> in HACD
2012-01-29 18:06:47 +00:00
erwin.coumans
79b78e6469
Don't access pairCache->getOverlappingPairArrayPtr() if there are 0 pairs.
...
Thanks to knox31085
Fixes Issue 579.
2012-01-23 22:04:46 +00:00
erwin.coumans
58d1d14880
fix capitalization in OpenCL include path (non-Windows platforms)
2012-01-23 21:51:51 +00:00
erwin.coumans
ff4fa560f0
Add missing forward declaration.
...
Thanks to SkewMatrix.
Fixes Issue 582.
2012-01-23 21:43:01 +00:00
erwin.coumans
f754952232
Pass in a const reference to a CompareFunc for quickSort, to make Visual Studio 2011 happy.
...
Thanks to Cameron Hart
Fixes Issue 588
2012-01-23 21:39:44 +00:00
erwin.coumans
ce50f11fea
Fix mismatching de-allocation, thanks to ravi.rathnam
...
Fixes Issue 591
2012-01-23 21:24:16 +00:00
erwin.coumans
ccf30e8ee9
fix for ghost objects
2012-01-11 20:13:06 +00:00
erwin.coumans
c3ae82633c
fix issue 586
...
fix OpenCL demo compile issue on non-Windows issues
2012-01-11 01:43:35 +00:00
erwin.coumans
6392b61a98
add a missing file, duh
2011-12-20 20:50:03 +00:00
erwin.coumans
aac528faad
tweak capsule collision values, to show issue
2011-12-20 18:20:52 +00:00
erwin.coumans
b11f6ad26d
enable the OpenCL test for SoftDemo
2011-12-20 18:12:52 +00:00
erwin.coumans
2876c14888
Apply a patch that updates vertex position on GPU for the OpenCL version, by Dongsoo Han (saggita), work-in-progress
...
Removed the unused OpenCL kernels
Add example how to cache binary kernels, see SoftDemo compiled with OpenCL AMD using msvc/vs2008_opencl.bat
2011-12-20 18:04:01 +00:00
erwin.coumans
1f7a67b7da
Apply a patch that updates vertex position on GPU for the OpenCL version, by Dongsoo Han (saggita), work-in-progress
...
Removed the unused OpenCL kernels
Add example how to cache binary kernels, see SoftDemo compiled with OpenCL AMD using msvc/vs2008_opencl.bat
2011-12-20 18:03:24 +00:00
erwin.coumans
5cb40ed6e3
Apply a patch that updates vertex position on GPU for the OpenCL version, by Dongsoo Han (saggita), work-in-progress
...
Removed the unused OpenCL kernels
Add example how to cache binary kernels, see SoftDemo compiled with OpenCL AMD using msvc/vs2008_opencl.bat
2011-12-20 18:03:04 +00:00
erwin.coumans
fff709635e
Apply a patch that updates vertex position on GPU for the OpenCL version, by Dongsoo Han (saggita), work-in-progress
...
Removed the unused OpenCL kernels
Add example how to cache binary kernels, see SoftDemo compiled with OpenCL AMD using msvc/vs2008_opencl.bat
2011-12-20 18:02:48 +00:00
erwin.coumans
3035ee69c4
Fix for btCapsuleShape, m_localScaling is already applied to the radius/halfExtents so don't apply it again in the localGetSupportVertex(NonVirtual)
...
Make sure SerializeDemo compiles fine without DESERIALIZE_SOFT_BODIES defined
2011-12-14 11:18:11 +00:00
erwin.coumans
dacb24e968
pass in const vectors into btUniversalConstraint and normalize the local copy
...
Thanks to SkewMatrix for the patch, http://code.google.com/p/bullet/issues/detail?id=571
2011-12-14 09:10:12 +00:00
erwin.coumans
22915b2344
enable randomization of non-contact constraints (disabled by default)
...
Thanks to Peter Kyme, http://code.google.com/p/bullet/issues/detail?id=576
2011-12-14 09:06:14 +00:00
erwin.coumans
aa6f352ddc
use #include "btScalar.h" instead of "LinearMath/btScalar.h"
...
fixes Issue 572
2011-12-12 16:56:39 +00:00
erwin.coumans
e1c9b67ef7
reduce dynamic memory allocations in btDbvt::rayTestInternal,
...
fixes Issue 574, thanks to Anton Breusov
2011-12-12 16:52:52 +00:00
erwin.coumans
606d65d95b
Reduce dynamic memory allocation, fixes Issue 573
...
Thanks to Anton Breusov for the patch
2011-12-12 16:47:41 +00:00
erwin.coumans
665829bd81
only use the getInterpolationWorldTransform for objects that are not isStaticOrKinematic
...
This should solver the issue discussed here: http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?t=7681
remove some warning
2011-12-12 13:33:34 +00:00
erwin.coumans
76785d6e01
Only set the m_interpolationWorldTransform to m_worldTransform for kinematic objects, and use the new transform directly for static/dynamic objects.
...
update some cmake project files
2011-12-12 11:53:20 +00:00
erwin.coumans
a06ee28aa6
fix OpenCL kernel
2011-11-30 18:44:00 +00:00
erwin.coumans
866dc2c6c7
operator argument had to be const
2011-11-22 00:21:48 +00:00
erwin.coumans
0e6926c096
avoid compile errors in projects (btHashMap copied gives errors, see http://gamekit.org/forum/viewtopic.php?f=9&t=29&start=93
2011-11-22 00:03:46 +00:00
erwin.coumans
bd8c8355fa
update to a newer version of premake4 4.4 beta3
2011-11-16 23:22:50 +00:00
erwin.coumans
4e0aa42123
Disallow the operator= for btAlignedObjectArray, together with some fixes in the code (to avoid accidental deep copy)
...
Enable #define BT_ALLOW_ARRAY_COPY_OPERATOR in Bullet/LinearMath/btAlignedObjectArray.h to re-enable it
Fixes Issue 564, thanks to Tissen Peter for the report/fix
2011-11-15 20:09:05 +00:00