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
442959d457
autogenerated msvc 2008 projectfiles
2010-07-21 21:26:58 +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
4eddfce03e
remove some warnings
2010-07-20 23:37:11 +00:00
erwin.coumans
f3664551b5
CMake test for existance of Demos and Demos_ps3 directories
...
Updated character controller, see also http://code.google.com/p/bullet/issues/detail?id=198
2010-07-20 22:31:00 +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
5fd08505ba
Serialization fix: workaround for conflicting SDNA data -> SDNANAME (needs better fix)
...
Serialization fix imported from gamekit, see http://code.google.com/p/gamekit/source/detail?r=433
2010-07-20 13:55:12 +00:00
erwin.coumans
745b3d4e05
fix some warnings, see Issue 400
2010-07-20 01:09:34 +00:00
erwin.coumans
f5e6f87427
implemented patch by Vroonsh to optimize island management with many static objects.
...
It can be disabled by commenting out the #define STATIC_SIMULATION_ISLAND_OPTIMIZATION in Bullet/src/BulletCollision/CollisionDispatch/btUnionFind.h
See also Issue 406
2010-07-20 00:21:52 +00:00
erwin.coumans
5b70a895a5
fix some issues with Linux compatibility,
...
see Issue 409
2010-07-17 13:44:10 +00:00
erwin.coumans
41ad5d3c06
revert accidentally committed testing code for the btParallelConstraintSolver (in BasicDemo)
2010-07-17 01:06:38 +00:00
erwin.coumans
e269034494
removed obsolete virtual implementation of 'getUpAxis' in btCylinderShapeZ. It has been replaced by the non-virtual implementation in the base class (for Cell SPU)
...
Thanks to Paul Dubois for the report, see Issue 407
2010-07-16 23:41:29 +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
rponom
13d9441f30
Fixed particle demo bug (grid was smaller than world box)
2010-07-16 01:11:24 +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
b884554a8f
Hack around latest AMD graphics cards having troubles with point sprite rendering
...
The problem is still unresolved on the 5870 card, and results in a black screen
See also http://forums.amd.com/devforum/messageview.cfm?catid=392&threadid=129431
2010-06-25 18:31:10 +00:00
erwin.coumans
b04f176604
fix for OpenCL demos build for NVidia
2010-06-25 17:01:14 +00:00
erwin.coumans
b83e16b7ff
fix out-of-bounds in AMD version of VectorAdd
2010-06-25 00:40:20 +00:00
erwin.coumans
5db1c008bd
add AMD version of VectorAdd_OpenCL, next to MiniCL (has issues with workgroup size)
2010-06-25 00:19:22 +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
b2798eaae5
fix typo on API btCollisionDispatcher::getDispatherFlags -> getDispatcherFlags
...
Thanks to Andres Traks for the report/patch:
http://code.google.com/p/bullet/issues/detail?id=372
2010-06-18 01:17:40 +00:00
erwin.coumans
627877e3e5
fix to setLocalScaling for a btCylinderShape, thanks to rutina for the patch:
...
http://code.google.com/p/bullet/issues/detail?id=393
2010-06-18 00:59:08 +00:00
erwin.coumans
5e069f220e
Issue 395: [Patch] implement btCompoundShape::createAabbTreeFromChildren
...
Thanks Paul Dubois for the patch
2010-06-18 00:39:42 +00:00
erwin.coumans
f6242087a1
make btHingeConstraint constructor arguments const, thanks to Nick Waanders
...
http://code.google.com/p/bullet/issues/detail?id=391
return value in btBulletWorldImporter
2010-06-18 00:31:06 +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
d2cc0d73c5
avoid crash in .bullet file reading on empty files (or file-not-found)
2010-05-12 23:18:11 +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
erwin.coumans
b39abc4513
minor addition to GLDebugFont for non-blender text rendering (better readable on top of existing graphics)
...
Use GLDebugDrawStringInternal(xcoord,ycoord,text,rgb_color,use_blending,character_spacing);
2010-05-12 23:03:10 +00:00
erwin.coumans
f9445bdfde
Minor update SSE version of SCE Vectormath library
...
Changes:
Update copyright year to 2010
Updated operator- for Vector3 (use NEG_MASK)
Use newtonrapson_rsqrt4 for Quat::normalize (better precision)
Add Vector::loadXYZW and Quat::loadXYZW, similar to scalar version, using _mm_lddqu_si128
Replace inline by __forceinline
Add get128Ref and set128() methods
2010-05-07 02:25:20 +00:00
erwin.coumans
c35e72bd9f
minor tweak: allow btBulletWorldImporter to convertAllObjects (instantiate Bullet objects) without having to reload/parse the .bullet file. Can be useful to quickly destroy and restart a dynamics world
2010-05-03 19:49:46 +00:00
erwin.coumans
8723005cd7
fix for MinGW compiler support in bChunk.h serialization
...
thanks to comicfans44 for the report and fix:
http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=5014&p=18368#p18368
2010-04-26 20:25:42 +00:00
erwin.coumans
334420fc79
SCE Vectormath scalar version update
2010-04-20 18:26:03 +00:00
erwin.coumans
1c218bffed
Add an 'extension' pointer to btCollisionObject for some of our Bullet extentions (a custom constraint solver that needs a back-pointer)
2010-04-13 21:43:34 +00:00
erwin.coumans
0fbd9d49c4
+ Optimization: move some variable declarations outside of the innerloop in btCompoundCollisionAlgorithm.cpp
...
Thanks to mccdo at iastate.edu for the contribution, see Issue 373
+ Optimization: removed some unnecessary code in btConvexHullShape::localGetSupportingVertexWithoutMargin
+ Added autogenerated Visual Studio 2005 projectfiles (using a patched cmake 2.8.1 to avoid any references to cmake/absolute paths)
2010-04-12 17:46:56 +00:00
erwin.coumans
07f51390ea
Fix for the non-virtual implementation of btGeneric6DofConstraint (mainly for Cell SPU purposes):
...
Need to explicitly call testAngularLimitMotor(i);, because it cannot be called during 'getInfo1', because m_rbA and m_rbB is not available.
2010-04-05 20:18:53 +00:00
erwin.coumans
f0ba00c010
prettify debug drawing of cone and cylinder,
...
thanks to francois.sugny
see also http://code.google.com/p/bullet/issues/detail?id=369
2010-03-31 21:12:59 +00:00
erwin.coumans
c0a694c571
added bullet.pc.cmake and fixes for PKGCONFIG
...
See also http://code.google.com/p/bullet/issues/detail?id=337
2010-03-31 20:58:53 +00:00
erwin.coumans
0bf3cb5aa5
setMassProps didn't adjust gravity force, this might impact some projects
...
See also
http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=4835
and
http://code.google.com/p/bullet/issues/detail?id=364
2010-03-31 20:50:11 +00:00
erwin.coumans
bb84b93dd9
enable INSTALL_LIBS for "Unix Makefiles" and for APPLE AND FRAMEWORKS,
...
leave the option disabled by default for other build systems (MSVC, Xcode etc)
See also http://code.google.com/p/bullet/issues/detail?id=370
2010-03-31 20:28:51 +00:00
erwin.coumans
7aa183f42f
fix an issue with calculating the max depth of btDbvt
...
(shouldn't impact the btDbvtBroadphase or other code, feature seems to be unused)
2010-03-31 20:11:56 +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
9de41ddd7a
btBulletWorldImporter fix: don't crash when loading files that have wrong constraint setup for btGeneric6DofConstraints
2010-03-15 23:28:50 +00:00
erwin.coumans
2f2d33d578
bugfix related to previous commit (btAssert at the wrong place)
...
fixes for automake build system (remove references to ColladaDemo)
2010-03-13 20:47:21 +00:00
erwin.coumans
192a2b38e9
assign proper index when removing a child shape from btCompoundShape
...
Thanks to sparkprime for the report and fix in Issue 354
See http://code.google.com/p/bullet/issues/detail?id=354
Fix a few warnings
2010-03-12 05:32:57 +00:00
erwin.coumans
f250fd21c5
fix warning in character controller
2010-03-08 01:40:02 +00:00
erwin.coumans
81efe51116
create a better demo for the perturbation around the separating normal
2010-03-06 23:30:32 +00:00
erwin.coumans
00127a3d70
apply fixes for the btKinematicCharacterController to avoid climbing walls (it was broken anyway)
...
Thanks to ossumajor, see Issue 198
2010-03-06 19:39:14 +00:00