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
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
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
b69c6ac3f5
fix padding in btSolverConstraint, see Issue 650
...
fix some warnings
2012-09-08 19:21:14 +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
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
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
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
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
14a3e45602
use getContactBreakingThreshold in SpuContactResult.cpp
2012-02-29 02:17:39 +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
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
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
a06ee28aa6
fix OpenCL kernel
2011-11-30 18:44:00 +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
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
4f25d731f9
fix autotools build
...
fix picking for tetrahedral soft body (demo 29/30)
add text for failing OpenCL kernel build, thanks to Greg
2011-09-16 23:58:38 +00:00
erwin.coumans
d3dc7afefd
fix in non-SIMD OpenCL cloth demo, kernel names changed.
...
Thanks Greg, see http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=7442&p=25422#p25422
2011-09-16 21:58:01 +00:00
erwin.coumans
bb29d15058
create premake4 solutions for the various OpenCL configurations (AMD, NVIDIA, Intel OpenCL SDKs for Windows)
...
primarily to distribute project files that work.
CMake is still better supported in general (not all demos/libs have been ported)
Revert a recent change about warnings: %zu doesn't work in printf, %d does
2011-09-16 01:28:34 +00:00
erwin.coumans
a13d22dc84
Fix a lot of warnings, thanks to ejtttje, Fixes issue 537
...
Fix soft body debug rendering
2011-09-15 01:17:34 +00:00
erwin.coumans
b68c64f2db
Disable DX11 cloth bounds update, it is too slow by default.
...
Use g_dx11Solver->setEnableUpdateBounds(true); to re-enable it (it enables GPU collision of cloth versus capsule)
2011-09-14 20:55:00 +00:00
erwin.coumans
1e360bdb6b
add Intel build support for the OpenCL cloth demo, and use the bullet_logo.png
...
Thanks to ggjunker for the patch, see Issue 533
2011-09-13 01:52:42 +00:00
erwin.coumans
82234e6f33
add preliminary premake4 support (next to cmake) mainly to auto-generate Visual Studio projectfiles that can be redistributed (with no dependency on cmake, premake)
2011-09-02 22:24:08 +00:00
erwin.coumans
ed02816e68
add kst argument for VSolveLinks.cl kernel (VSolveLinksKernel method)
...
Note that this method is not used by default.
Thanks to Peter for the report and fix, this fixes Issue 511
2011-09-02 04:30:01 +00:00
erwin.coumans
7743f5bce5
Update environment variable to CUDA_PATH (was NVSDKCOMPUTE_ROOT) and fix a few bugs that prevented the NVIDIA OpenCLClothDemo to run properly.
2011-08-17 22:08:10 +00:00
erwin.coumans
e83b5dac75
fixes in the DX11 cloth (for devices with physical wavefronts smaller than 32)
...
another fix for out-of-bounds check (there was no assert for this previously)
2011-08-03 20:21:23 +00:00
erwin.coumans
251bb4e727
remove the 'exit' calls from the OpenCL soft body solver. Use the solver->checkInitialized() method, after solver->optimize() to see if the kernels build OK.
2011-06-30 00:23:42 +00:00
erwin.coumans
cce582d905
Add support for AMDAPPSDKROOT environment variable
...
Initialize vSolveLinksKernel OpenCL cloth kernel (although kernel is unused)
Fixes Issue 508
2011-04-23 16:01:44 +00:00
erwin.coumans
9a9a4394ab
fix 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)
2011-04-09 03:40:15 +00:00
erwin.coumans
cdddf9d25a
add FractureDemo to AllBulletDemos
...
improvements in CCD handling
some cleanup of CcdPhysicsDemo and BasicDemo
2011-04-09 01:14:21 +00:00
erwin.coumans
d80805d40c
apply the DX11 cloth fix to allow DLL usage, see Issue 494
2011-04-07 16:19:51 +00:00
erwin.coumans
624dac6128
Make btParallelConstraintSolver 64-bit ready
...
add an optional assert method for the btCollisionDispatcher, to make sure the contact pool is contiguous (needed for btParallelConstraintSolver)
2011-04-04 22:38:56 +00:00
erwin.coumans
d419f79770
fixes to make MultiThreadedDemo work in 64bit, ParallelConstraintSolver won't work yet, only the parallel collision dispatcher
2011-04-03 19:30:26 +00:00
erwin.coumans
1fb2fa3db9
put an #ifdef in PosixThreadSupport in the right location
2011-04-02 20:13:50 +00:00
erwin.coumans
b16b61d9d6
disable 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
2011-04-02 19:01:23 +00:00
erwin.coumans
852fa3ba30
add the BT_ prefix for all #ifdef guards, to avoid conflicts with developers own header defines.
...
Fixes Issue 497
//license header
#ifndef BT_RIGIDBODY_H
#define BT_RIGIDBODY_H
class btRigidBody
{
};
#endif //BT_RIGIDBODY_H
2011-04-01 17:14:52 +00:00
erwin.coumans
88b19eb023
fixes in PosixThreadSupport to enable ThreadingDemo and MultiThreadingDemo to run properly.
...
fix autotools build (added missing files)
2011-03-30 19:01:29 +00:00
erwin.coumans
8995ad440c
fix a few more warnings
2011-03-15 22:51:00 +00:00
erwin.coumans
334cc85a1f
fix some warnings
2011-03-15 22:48:36 +00:00
erwin.coumans
1a222f642a
Stop using wavefront/warp synchronization inside OpenCL/DirectCompute, it is not future proof.
...
Similar to this commit for DX11: http://code.google.com/p/bullet/source/detail?spec=svn2343&r=2330
See also http://forum.beyond3d.com/archive/index.php/t-55751.html
2011-03-15 22:41:55 +00:00
erwin.coumans
21162f77e3
fixes to make the OpenCL cloth demo run on Apple/GPU
2011-03-15 22:24:27 +00:00
erwin.coumans
6a2a72d987
Fix Apple Snow Leopard build
...
remove 'ComputeBounds', it isn't used and OpenCL compilation breaks Apple build
2011-03-15 20:30:23 +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