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
erwin.coumans
4f562399c2
Fix in the hlsl file, to allow other wavefront sizes to work correctly, thanks Ronen for the fix.
...
Fix in btDX11SIMDAwareSoftBodySolver::optimize, the interface changed
2011-03-11 01:30:46 +00:00
erwin.coumans
b7211240fc
more compatibility fixes for Physics Effects 2.x/vectormath.
2011-02-28 07:27:39 +00:00
erwin.coumans
8cb14e178e
added missing GPU cloth simulation files and DX11/OpenCL kernels
...
Thanks to Cameron Hart for the report, see Issue 486
2011-02-28 05:29:54 +00:00
erwin.coumans
d52f58edd8
Synchronize changes from branches/GpuClothAMD to trunk
...
Main improvements are: GPU cloth collision detection against a capsule shape
,OpenCL-OpenGL interoperability (keeping data buffers on GPU), and bug fixes
Thanks to Lee Howes
2011-02-27 09:07:07 +00:00
erwin.coumans
b4876b22cd
Add check for cmake build system so that if the OpenCL library is not found, it will not compile the OpenCL-dependent code (on APPLE)
...
Thanks to Max for the report and fix in Issue 480.
2011-02-09 00:51:40 +00:00
erwin.coumans
b37edd81cd
temp fix for Issue 473
2011-01-11 00:22:23 +00:00
erwin.coumans
4999fba60e
fix some compatibility issues between Bullet / PE / vectormath, introduced a few commits ago
2011-01-07 20:29:34 +00:00
erwin.coumans
f10846ed7a
Added preliminary cmake support for PE branch, Win32 only for now.
2011-01-07 01:48:50 +00:00
erwin.coumans
cbeb5864eb
Fixes in build systems for autotools and cmake, see Issue 438
...
Thanks to Daniel KO Listas at the ODE mailing list
Don't build graphics demos when OpenGL or GLUT is not found
CMake will still build the non-graphical HelloWorld demo (output text to console)
Fix linker error: ThreadingDemo requires pthreads on UNIX systems
Thanks to reptor, see also http://bulletphysics.org/Bullet/phpBB3/posting.php?mode=reply&f=9&t=5748
2010-10-06 23:07:00 +00:00
erwin.coumans
eefffc2cf2
MiniCL and BulletMultiThreaded respect the LIB_SUFFIX
...
Thanks to pprkut@liwjatan.at for the report in Issue 436
Remove unimplemented methods in headerfiles,
thanks to csaba.hruska in Issue 437
2010-10-06 00:59:42 +00:00
erwin.coumans
5bb8330b7b
Applied patch for several build issues:
...
+ add empty constructors to make Bullet compile using clang.
Thanks to Stillmoon for the report and patch, See http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=5730
+ bullet-2.77/Demos/OpenCLClothDemo/cloth.h:103: error: ‘sprintf’ was not declared in this scope
Thanks to pprkut for the report in Issue 435
+ cmake build fails on Unix systems when using BUILD_SHARED_LIBS. Added pthreads to BulletMultiThreaded
Thanks to pprkut for the report in Issue 434
2010-10-04 19:05:56 +00:00
erwin.coumans
0b328a0b8a
Applied patch for Issue 429 to set lib properties
...
Thanks to andrebra for the patch
2010-09-21 23:14:10 +00:00
erwin.coumans
5b34356c43
Load the ParticlesOCL.cl from memory, using the MSTRINGIFY macro, instead of loading it from disk.
...
Small cleanup of cmake build for NVIDIA and AMD OpenCL
For AMD Stream SDK use:
INCLUDE_DIRECTORIES( ${AMD_OPENCL_INCLUDES} )
LINK_LIBRARIES( ${CMAKE_ATISTREAMSDK_LIBPATH}/OpenCL.lib )
For NVIDIA CUDA SDK:
INCLUDE_DIRECTORIES( ${NVIDIA_OPENCL_INCLUDES} )
LINK_LIBRARIES( ${NVIDIA_OPENCL_LIBRARIES})
2010-09-09 23:07:23 +00:00
erwin.coumans
cb2de12243
btSoftBodySolver_OpenCL::setDefaultWorkgroupSize to customize the work group size.
...
Thanks to Simon Green for the feedback, see also Issue 419
Added BT_PROFILE for "predictUnconstraintMotionSoftBody"
Added a few missing destructors.
Added AllMemoryBarrier
Thanks to Lee Howes for the commit in the branch.
2010-09-08 22:21:59 +00:00
erwin.coumans
33a41798cf
more fixes to the 'make install' feature for both cmake and autotools
...
now autotools uses the same library naming as cmake: libBulletSoftBody, libBulletDynamics, libBulletCollision, libLinearMath
cmake doesn't install .svn folders anymore
cmake pkgconfig bullet.pc.cmake 'include' folder fixed (removed /bullet postfix)
added BulletCollision/CollisionShapes/btTriangleInfoMap.h to the install
2010-09-07 23:40:17 +00:00
erwin.coumans
44b82652d0
Collision flag CF_DISABLE_SPU_COLLISION_PROCESSING can be combined with other flags (avoids SPU/parallel collision dispatch)
...
Fix for MinGW32 build
2010-08-30 21:46:23 +00:00
erwin.coumans
33ddc450b4
typo kernal -> kernel
2010-08-27 00:36:12 +00:00
erwin.coumans
958c705a02
Demos/ConvexHullDistance/ConvexHullDistanceDemo.cpp to compile again
...
Allow to use convexProcessingThreshold as maximum distance for convex-convex computation (useful for closest distance/point computation)
2010-08-25 01:28:46 +00:00
erwin.coumans
6a9e16501c
Fixes to compile MiniCL under Linux.
...
OpenCL fixes for Linux not processed yet (TBD)
2010-08-24 21:35:28 +00:00
erwin.coumans
51d43c8166
2010-08-19 23:12:06 +00:00
erwin.coumans
5d89141357
apply patch for building shared libraries (and frameworks)
...
Thanks to ejtttje see Issue 357
2010-08-19 22:28:41 +00:00
erwin.coumans
32433aa8b3
Allow to link the DX11ClothDemo against the 64bit DirectX SDK for x64 builds
...
Fix memory leaks in btBulletFile and btParallelConstraintSolver (and added some additional profile timers)
2010-08-19 20:03:23 +00:00
erwin.coumans
f89ddcc86e
minor fixes in BulletMultiThreaded: SpuCollisionTaskProcess had a memory leak and warnings in btParallelConstraintSolver
2010-08-18 01:33:06 +00:00
erwin.coumans
4f9b450200
added OpenCL cloth demo, contributed by AMD.
...
updated GpuSoftBodySolvers
updated DirectCompute cloth demo
2010-08-14 00:56:17 +00:00
erwin.coumans
e3f4f6f1c5
fix double-precision support
...
improve serialization, better search for SDNA1 tag
2010-07-21 23:59:41 +00:00
erwin.coumans
7684c1b92d
use relative path, to make it easier to include btBulletWorldImporter, #include "../BulletFileLoader/btBulletFile.h"
...
Create a separate library for MiniCL (a rudimentary OpenCL wrapper to run kernels on multi-core CPU using the default C++ compiler, using Win32 Threads or Posix)
tweak vectormath/vmInclude.h for PS3 platforms
fix warning in btKinematicCharacterController
2010-07-21 21:33:40 +00:00
erwin.coumans
dd0f022d1d
trying to sort out the vectormath include path mess:
...
move vectormath to src folder, and add a vmInclude.h that contains the logic in a single location.
If you still need a system-wide vectormath, make sure to define USE_SYSTEM_VECTORMATH (in build system)
2010-07-21 19:11:28 +00:00
erwin.coumans
11fa2e8b43
Added GPU SoftBody constraint solvers for DirectX 11 (Direct Compute) and OpenCL, thanks to AMD.
...
See also http://code.google.com/p/bullet/issues/detail?id=390
Added Demos/DX11ClothDemo
(an OpenCL cloth demo will follow soon)
2010-07-20 16:09:53 +00:00
erwin.coumans
745b3d4e05
fix some warnings, see Issue 400
2010-07-20 01:09:34 +00:00
erwin.coumans
5b70a895a5
fix some issues with Linux compatibility,
...
see Issue 409
2010-07-17 13:44:10 +00:00