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
erwin.coumans
b3f081fc85
Added preparation for GPU hardware accelerated solvers for BulletSoftBody (OpenCL and DirectCompute backends will follow)
...
Added assert to check for positive masses in btCompoundShape::calculatePrincipalAxisTransform, see Issue 399
Fixes for LLVM/GCC compilation issue in btSequentialImpulseConstraintSolver
(Untested) fix for Linux 64bit compilation Issue 409
2010-07-16 23:26:25 +00:00
erwin.coumans
fbc17731ec
Several changes to sync Bullet trunk with PlayStation 3 spubullet version
...
Still needs some cross-platform fixes
2010-07-08 17:02:38 +00:00
erwin.coumans
76a58e1f4e
fixes in OSX ThreadingDemo / PosixThreadSupport
2010-06-29 01:19:03 +00:00
erwin.coumans
7bfa94b6a3
implement barrier/critical section for OSX (PosixThreadSupport)
...
enable Demos/ThreadingDemo for OSX
add cmake build support for VectorAdd_OpenCL for OSX
2010-06-28 23:03:14 +00:00
erwin.coumans
8bf91f735c
Create a stringify example, instead of loading the .cl file from disk, include it as a string.
...
The kernel in the .cl file is also compiled by the native C++ cpu compiler, when using MiniCL.
When you want to debug the kernel using MiniCL, and want to put breakpoints, it is best to:
1) enabled the define #define DEBUG_MINICL_KERNELS 1 in Bullet/src/BulletMultiThreaded/MiniCL.cpp
2) temporarily remove the stringify lines in the .cl kernel, because it prevents the debugger from finding the right line.
2010-06-25 22:21:18 +00:00
erwin.coumans
498da0721b
Move some code from Branches/OpenCL to trunk, related to threading and OpenCL:
...
Added Demos/ThreadingDemo showing how to use the cross-platform btThreadSupportInterface under Windows.
Added Demos/ParticlesOpenCL showing how to run the NVidia particle demo under OpenCL implementations by AMD, NVidia and MiniCL (CPU)
2010-06-24 22:54:00 +00:00
erwin.coumans
f7be7acc3a
minor thread debugging issue: move printf before the SetEvent (in Win32ThreadSupport)
2010-05-14 00:36:10 +00:00
erwin.coumans
ae09329a9d
Add PPU fallback for btCompoundShape that have more child shapes than MAX_SPU_COMPOUND_SUBSHAPES (default 16, see SpuNarrowPhaseCollisionTask/SpuCollisionShapes.h)
2010-05-12 23:06:48 +00:00
rponom
b409abac09
Deltas of linear and angular velocities applied to rigid bodies now are kept between simulation steps.
...
Read-only access functions added to btRigidBody to get these values
Several OpenCL functions are implemented for MiniCL
2010-03-17 19:06:59 +00:00
erwin.coumans
97bc4be09d
improving shared library/framework support (still untested)
2010-03-06 17:07:22 +00:00
erwin.coumans
81f04a4d48
fix: some file didn't have the svn:eol-style native yet
2010-03-06 15:23:36 +00:00
erwin.coumans
c517f14dd4
fix some compile issue on some 64bit compilers
2010-02-28 22:21:07 +00:00
erwin.coumans
1c0ec85c32
Retired the Jam build system (and msvcgen). CMake is currently the preferred build system on Windows, Mac and UNIX
...
(autotools files are still left for now)
2010-02-20 15:47:20 +00:00
erwin.coumans
6ef37ab722
pass on rigid body name in btBulletWorldImporter, to make it easier to bind physics and graphics objects.
...
moved some obsolete files to Extras/obsolete, and removed freeglut
moved ColladaDemo to Dynamica Maya plugin repository (it has COLLADA_DOM and libxml), see http://dynamica.googlecode.com
Added new .bullet file
Minor update in Bullet_User_Manual.pdf, removed obsolete Bullet_Faq.pdf
2010-02-20 15:39:09 +00:00
erwin.coumans
820119a6df
fix previous commit in BulletMultiThreaded.
2010-02-18 05:55:39 +00:00
erwin.coumans
2b7c0989a0
parallel/SPU collision task: contact points have to be replaced, otherwise small positional errors accumulate (and spheres start rolling automatically etc)
2010-02-18 01:51:30 +00:00
erwin.coumans
45e7c7f564
Add missing files to XCode project
...
Add option to disable SPU collision processing, and add assert to detect unsupported recursive compounds on SPU.
2010-02-17 02:34:26 +00:00
erwin.coumans
e71051e931
BulletMultiThreeded SpuGatheringCollisionDispatcher: minor change in batch size of scheduled pairs: use 128 by default, unless the number of pairs is less then (total amount of tasks * batch size)
2010-02-12 23:14:16 +00:00
erwin.coumans
70a6073b52
fixes to allow btStaticPlaneShape to be processed on SPU (alignment, non-virtual calls)
2010-02-12 22:49:40 +00:00
erwin.coumans
088d843f8c
Add btStaticPlaneShape support for SpuGatheringCollisionDispatcher.
...
See Issue 312, thanks to davidsream for the report
2010-02-12 22:02:19 +00:00
erwin.coumans
10c300c7a0
sprintf_s and strcpy_s breaks mac build, remove for now. If we want safe versions, we need to implement a btSprintf and byStrCpy version
2010-02-11 21:33:51 +00:00
erwin.coumans
70c70bf681
cmake: don't install anything by default, unless the option INSTALL_LIBS is enabled
...
cmake: fix for multi-threaded benchmarks
2010-02-11 07:12:58 +00:00
erwin.coumans
97921411d2
cmake build system improvement: don't INSTALL when INTERNAL_CREATE_DISTRIBUTABLE_MSVC_PROJECTFILES is set
...
minor fix for MinGW32, reported here: http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=4710
2010-02-11 04:32:37 +00:00
erwin.coumans
f567130d78
add option to compile benchmark using BulletMultiThreaded (for now the option is only tested on Windows)
2010-02-08 23:50:33 +00:00
erwin.coumans
7d4e2873e2
move some recent MiniCL work to trunk
2010-02-08 22:42:58 +00:00
erwin.coumans
a9556d0fd5
use _WIN32 instead of WIN32 (_WIN32 is a compiler built-in)
...
add virtual destructor to bFile
2010-02-06 18:50:45 +00:00
erwin.coumans
744774d9ad
re-added SpuSync.h, it might come handy at some stage
2010-02-06 01:09:29 +00:00
erwin.coumans
5364f22047
use #include "BulletHeaders.h" instead of #include <BulletHeader.h>
2010-02-04 20:37:06 +00:00
erwin.coumans
c71b968110
fixes on unix (new lines and case)
2010-01-30 23:48:19 +00:00
erwin.coumans
788f48643b
remove all warnings on Mac OSX Snow Leopard
2010-01-30 22:31:56 +00:00
erwin.coumans
701bc64ab7
re-enable the GenericJointDemo for CMake
2010-01-29 00:46:59 +00:00
erwin.coumans
b010233e7b
Only use a system-wide vectormath_aos.h on CELLOS_LV2 or if USE_SYSTEM_VECTORMATH
...
(otherwise use the included version in Bullet/src/BulletMultiThreaded/vectormath
2010-01-20 22:46:56 +00:00