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
0d077293a5
use heap sort instead of quicksort
2012-03-22 17:43:17 +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
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
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
6cf8dfc202
fix linux build, and enable simulation by default for SerializeDemo
2012-03-05 01:10:58 +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
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
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
b90352d62b
changes in debug drawing, thanks to Dennis Cappendijk
...
See Issue 559
2012-02-29 04:15:09 +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
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
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
80b23971ca
move the CL_PLATFORM_MINI_CL check in the right place
2011-11-15 00:27:45 +00:00
erwin.coumans
108065d96c
fix OSX build
2011-11-14 23:35:22 +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
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
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
0656de3057
premake4 compile/link fixes
2011-09-16 19:56:14 +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
144d24009a
CcdPhysicsDemo: fixed the setCcdMotionThreshold value, it was wrong (way too small
2011-09-15 23:24:42 +00:00
erwin.coumans
654fe7872a
remove btContinuousDynamicsWorld, it is obsolete and was never completed.
...
If you need tunneling prevention, one option is to use the CCD motion clamping in btDiscreteDynamicsWorld. See also Bullet/Demos/CcdPhysicsDemo.
You can use an embedded sphere that prevents tunneling, using the following settings:
body->setCcdMotionThreshold(0.5);
body->setCcdSweptSphereRadius(0.9f);
Add a camera zoom setting for the demos, thanks to ejtttje, fixes Issue 543
2011-09-15 18:47:13 +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
9abcd9cf2e
some compile fixes for MacOSX
2011-09-14 18:48:23 +00:00
erwin.coumans
b690019e39
Removed global operator- in btQuaternion, and rewrote the 'getAxis' method
...
Add a unit test for testQuaternionGetAxisAngle
Thanks to ejtttje, fixes Issue 538
2011-09-13 23:37:05 +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
c8b3c9e306
more premake4 fun and tests
2011-09-03 00:27:54 +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
06112592fd
Add another wind model, that doesn't clamp the maximum force.
...
Thanks to saggitasaggita for the patch, see http://code.google.com/p/bullet/issues/detail?id=532
2011-09-01 01:53:45 +00:00
erwin.coumans
b907018561
ParticleOCL demo was sorting out-of-bounds, thanks to igelado for the report
...
Fixes Issue 515
2011-08-30 04:19:26 +00:00
erwin.coumans
642a6821a5
remove speculative contacts, they break restitution and cause other artifacts
...
use btConvexPolyhedron for debug rendering, if available
fixes in btConvexConvexAlgorithm for polyhedral contact clipping, if GJK separating normal is zero
don't shift vertices in btPolyhedralConvexShape
2011-08-30 03:28:32 +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
096389153b
add HACD also to the AllBulletDemos (it includes the ConvexDecompositionDemo)
2011-07-07 00:44:53 +00:00
erwin.coumans
996bcb18ee
Added HACD library by Khaled Mamou, for improved convex decomposition
...
See also http://sourceforge.net/projects/hacd/ and http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=4&t=6619
Thanks to Sujeong Kim for the integration with the Bullet/Demos/ConvexDecompositionDemo
2011-07-07 00:28:15 +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
4cc502b24a
remove aspect ratio check from demo graphics, see also http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=6944
2011-06-21 01:40:34 +00:00
erwin.coumans
b80e5fd167
Remove 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)
2011-05-20 12:29:24 +00:00
erwin.coumans
1e7b9de339
fixes for unix/autotools
2011-04-09 03:57:48 +00:00