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
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
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
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
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
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
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
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
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
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
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
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
erwin.coumans
d3c6f9dd67
BulletWorldImporter didn't properly import m_3indices16 arrays, fixes Issue 562 thanks to Marius Elvert
...
Support for m_3indices8 import
Fix un-initialized memPtr->m_3indices8 at export time, add a workaround at loading time
2011-11-15 18:40:45 +00:00
erwin.coumans
f64fc0a26b
avoid array out-of-bounds access
2011-11-15 18:16:42 +00:00
erwin.coumans
21ecc26fde
fix compile issue under linux
2011-11-14 23:29:07 +00:00
erwin.coumans
0ccc82a2ab
disable the OpenCL asserts by default (BT_SUPPRESS_OPENCL_ASSERTS), and re-enable the shader initialzation in bool btOpenCLSoftBodySolver::checkInitialized()
2011-11-14 23:12:33 +00:00
erwin.coumans
0d1fcf7c48
Move btOclUtils.cpp/h and btOclCommon.cpp/h to btOpenCLUtils.cpp/h
...
Rename member numerator to m_numerator in btConvexHullComputer.cpp to avoid confusion (Thanks to Ian for the feedback)
Add btSoftBody::addAeroForceToNode and btSoftBody::addAeroForceToFace, thanks to Dongsoo Han/Saggita
2011-11-14 22:22:49 +00:00
erwin.coumans
a374f8c0d4
remove btOclGetMaxFlopsDev, it was buggy. Just use device 0 in the demos. The OpenCL initialization needs more work/some GUI.
2011-11-11 20:11:03 +00:00
erwin.coumans
66c349caa6
Remove btSoftBodySolver_CPU.*
...
Move btSoftBodySolverData.h to src/BulletMultiThreaded/GpuSoftBodySolvers/Shared/btSoftBodySolverData.h
Attempt to re-enable MiniCL version of OpenCLClothDemo (cloth-capsule collision still broken)
Add optional OpenCL acceleration to SerializeDemo (just for cloth)
2011-11-11 19:00:26 +00:00
erwin.coumans
14352169ab
Fix some array out-of-bounds access errors
...
Add an assert using MAX_DEGENERATE_STATS
Fixes Issue 561, thanks to jarno for the report
2011-10-24 18:24:31 +00:00
erwin.coumans
a415ef6067
apply patch to fix incorrect co-planar polygon merging
...
Thanks to fastflo for the report/patch. This fixes Issue 557
2011-10-18 15:41:14 +00:00
erwin.coumans
04285116ad
Use a different check for duplicate vertices,
...
Thanks to fastflo, see http://code.google.com/p/bullet/issues/detail?id=555
and http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=7511&p=25762#p25762
Added missing Intel OpenCL build file, and fix some compile issue due to missing external
2011-10-12 22:40:43 +00:00
erwin.coumans
8b849e0d07
Fixed split impulse SIMD issue in the constraint solver (doesn't affect default behaviour, as split impulse is switched off by default)
...
Thanks to Laurent Coulon for the report/fix. http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=7515&p=25766#p25766
2011-10-12 20:22:55 +00:00