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
erwin.coumans
71a7da86e2
Use CreateEventA instead of CreateEvent to avoid breaking unicode builds.
...
Thanks tom@sickheadgames.com for the report/fix, see Issue 320
2009-12-21 23:57:54 +00:00
erwin.coumans
d68521803f
updated vectormath (minor fixes, including a bugfix in storeXYZ)
2009-12-19 02:08:44 +00:00
erwin.coumans
4f2ad3a3ad
applied patch for compound shape in SpuGatheringCollisionTask, see Issue 313
...
http://code.google.com/p/bullet/issues/detail?id=313
Thanks Bbilz for the report and fix!
2009-12-18 01:20:57 +00:00
erwin.coumans
6536d8cc31
Added option to install 'Extra' libs, turned off by default (BulletMultiThreaded, OpenGL, COLLADA_DOM, libxml,BulletColladaConverter)
...
Thanks xenonofarcticus, for the patch: http://code.google.com/p/bullet/issues/detail?id=294
2009-12-13 20:30:29 +00:00
rponom
f919baf03d
Improved Slider, Hinge and Generic6DOF constraint setup.
...
Turned on by default, use m_useOffsetForConstraintFrame = false to use old setup
Use "O" (capital 'o') button to toggle it in SliderConstraintDemo and ConstraintDemo
Total applied impulse copied back from btSolverConstraint to btTypedConstraint
2009-11-25 23:52:12 +00:00
erwin.coumans
73250b4be2
make the menus compile on both (Snow) Leopard and iPhone
2009-11-03 05:25:48 +00:00
erwin.coumans
d07b7ef3fa
added a few methods for better vector_math compatibility with PS3 SDK version
2009-10-20 20:36:58 +00:00
erwin.coumans
e8177a4fb3
applied fix for 64bit detection, thanks to ejtttje
...
http://code.google.com/p/bullet/issues/detail?id=277
2009-09-17 21:17:25 +00:00
erwin.coumans
ed09140fb7
remove some warnings, thanks to Zenja http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=4063
2009-09-09 23:51:30 +00:00
erwin.coumans
659b215a69
Override btCollisionWorld::addCollisionObject with flags more appropriate for btDynamicsWorld (StaticFilter)
...
Minor fixes (#ifndef SPU_COLLISION_OBJECT_WRAPPER_H block etc)
Only update 'setNumTasks' when necessary
Revert vectormath.h include (can't resolve conflicts with PS3 SDK, need additional #include path)
2009-09-09 22:49:43 +00:00
erwin.coumans
df550730da
include relative full path for vectormath_aos.h, and fix minor typo in glut.h
2009-09-07 17:42:12 +00:00
erwin.coumans
819622fbe8
delete obsolete SpuRaycast files, attempt to get demos to compile/run under 64bit glut.
2009-09-06 23:01:49 +00:00
erwin.coumans
4e2cef2c69
removed SpuRaycaster and SpuParallelSolver, both were obsolete: slow, broken and unsupported
2009-09-06 20:58:40 +00:00
erwin.coumans
ae3255f5e9
initialize maximum distance to zero when not using separating distance utility.
2009-08-12 01:17:12 +00:00
erwin.coumans
d7c7c0c9ef
avoid one redundant motionstate synchronization
...
minor warning fix
2009-08-11 23:50:59 +00:00
erwin.coumans
d67aa861f2
Add support for childshape index for btCompoundShape during ContactAddedCallback,
...
see example in Bullet/Demos/ConvexDecompositionDemo
Removed some warnings
2009-08-11 00:30:41 +00:00
erwin.coumans
8c07b2a8a1
fixes in build system
2009-08-08 00:41:57 +00:00
erwin.coumans
aef97d6015
Share btGjkPairDetector, btGjkEpa2, btVoronoiSimplexSolver with SPU/Multithreaded implementation (remove duplicate code)
...
Make btTypedConstraint and btPersistentManifold both derive from btTypedObject to make SPU-side generic constraint solver easier.
Note: all build systems need to be updated: remove SpuVoronoiSimplexSolver.cpp, SpuGjkPairDetector.cpp, SpuEpaPenetrationDepthSolver.cpp, SpuGjkEpa2.cpp
2009-08-07 08:57:56 +00:00
erwin.coumans
3e2529fcb5
Minor constraint refactoring, to allow SPU-side processing for PLAYSTATION 3 (added non-virtual methods)
...
Also comment-out some code for __SPU__ to reduce code size
Added btContactConstraint (only used on PS3 SPU right now, better to use btPersistentManifold directly for contact constraints)
Improved readblend utility library (see also usage in http://gamekit.googlecode.com with Irrlicht)
Fix for btConvexConvexAlgorithm, potential division by zero
Thanks linzner http://code.google.com/p/bullet/issues/detail?id=260
2009-08-05 22:14:46 +00:00
erwin.coumans
b16f251530
Initialize m_maxNumTasks, it is required by the spubullet-2.75 for PLAYSTATION 3.
2009-08-05 01:10:46 +00:00
erwin.coumans
1b457b45e2
Minor fixes in multi-threaded narrowphase Bullet version: allow to dynamically switch number of threads/SPUs
...
Disable USE_SEPDISTANCE_UTIL for now
2009-08-04 00:03:14 +00:00
erwin.coumans
bbc072958b
compile fix for OSX 10.4, see
...
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=3825
2009-07-16 07:03:16 +00:00
erwin.coumans
82828745ea
enable SIMD for Apple OSX Intel
...
compile fixes for _btGpu_computeGridSize undefined in libBulletMultiThreaded
http://code.google.com/p/bullet/issues/detail?id=246
2009-07-16 06:23:04 +00:00
erwin.coumans
40c73f327c
+ CMake build system fix under Windows: don't define _WINDOWS to allow Glut console demo to build properly
...
+ Allow user to enable useConvexConservativeDistanceUtil . Use dynamicsWorld->getDispatchInfo().m_useConvexConservativeDistanceUtil = true;
(see Demos/Benchmarks/Benchmark4 (convex objects falling down)
+ Fix for plane drawing (just wire-frame)
+ Gimpact: use collision margin of 0.07 for demo (because BULLET_TRIANGLE_COLLISION is used)
+ replace dot,cross,distance,angle,triple in btVector3 by btDot, btCross,btDistance,btAngle,btDistance to avoid naming conflicts
+ Some fixes in GJK penetration depth normal direction (broken in a previous commit)
+ fix in calculateDiffAxisAngleQuaternion to make ConvexConservativeDistanceUtil work properly
+ allow debug drawing to debug btContinuousConvexCollision
+ add comment/warning that btTriangleMesh::findOrAddVertex is an internal method, users should use addTriangle instead
2009-07-15 16:47:48 +00:00
erwin.coumans
258ef6e25a
+ Added joint feedback for constraints, needs testing/demo before 2.75 release.
...
See also http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2677
and http://code.google.com/p/bullet/issues/detail?id=227
To enable, use constraint->enableFeedback(true);
And then either use
constraint->getAppliedImpulse() for an estimated applied impulse,
or constraint-> getAppliedLinearImpulse(), or constraint->getAppliedAngularImpulseA() or constraint->getAppliedAngularImpulseB().
+removed a few warnings.
2009-05-27 01:34:46 +00:00
erwin.coumans
badf723257
Replace all hardcoded 1e30(f) by BT_LARGE_FLOAT, defined in btScalar.h as 1e18(f) so that its square still fits in FLT_MAX
...
Thanks to Ole K. for reporting! http://code.google.com/p/bullet/issues/detail?id=206
2009-05-23 02:15:54 +00:00
erwin.coumans
31d3bf7700
compile fixes for trunk on OSX
2009-05-23 01:40:27 +00:00
erwin.coumans
4ad21d36f9
some fixes in build systems
2009-05-22 19:24:20 +00:00
erwin.coumans
fb6146f0be
Added MiniCL, a limited subset of OpenCL, the open standard for parallel programming of heterogeneous systems.
...
MiniCL includes a cross-platform run-time frontend based on pthreads, Win32 Threads, or libspe2 for Cell SPU.
It is there, to bridge the gap until OpenCL is more widely available.
See Bullet/Demos/VectorAdd, influenced by NVidia OpenCL Jumpstart Guide:
http://developer.download.nvidia.com/OpenCL/NVIDIA_OpenCL_JumpStart_Guide.pdf
2009-05-22 01:43:37 +00:00
rponom
c680791ce9
3 new constraints added : btGeneric6DofSpringConstraint, btUniversalConstraint, btHinge2Constraint
...
Motors for btConeTwistConstraint added (for obsolete solver only)
appConstraintDemo changed to test new constraints
Several coding-style fixes
2009-05-21 22:10:13 +00:00
erwin.coumans
8d9c445b73
Fix btGpu2dDemo build -> remove btGpuUtils.cpp and re-enable 3 include files for CPU implementation
...
(btGpuUtils.cpp requires several build system fixes first)
2009-05-16 14:44:28 +00:00
rponom
a95b2a33bd
Added a possibility to build appGpu2dDemo with CUDA solver.
...
It is disabled by default, see Demos/Gpu2dDemo/btGpuDemoDynamicsWorld.h for instructions how to enable it
Cleaned up Extras/CUDA folder and libbulletcuda project
2009-05-14 20:20:56 +00:00
erwin.coumans
1526691f89
fixed memory leaks in ForkLiftDemo/VehicleDemo
...
Thanks to mi076 for report+fix: http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2652
Minor syntax error fix in a Jamfile
2009-05-14 17:03:42 +00:00
erwin.coumans
34685cb631
Fixes for Linux compilation,
...
Thanks to Ole: http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=3590
Add option to select EPA or Minkowski sampling method in btDefaultCollisionConfiguration
2009-05-11 20:35:26 +00:00
erwin.coumans
0a360904b6
fixes in Jam msvcgen -> use SSE instead of SSE2 to stay compatible with older AMD Athlon XP processors, updated build files, minor compile fixes for GPU experimental code
2009-05-09 21:25:42 +00:00
erwin.coumans
33029ad996
updated demos -> ALT + mouse uses Maya-style controls, replaced BMF_Fonts by GLDebugFont
...
fix debug drawing of btMultiSphereShape
added box2d demo
added experimental gpu 2d demo
2009-05-09 19:27:14 +00:00
erwin.coumans
700db838b1
Add 1D and 2D support for Bullet: using rigidbody->angularFactor(const btVector3& factor) and body->setLinearFactor(const btVector3& linearFactor);
...
For example, to only allow linear motion in the X-Z plane, and only rotation around Y axis use:
body->setLinearFactor(btVector3(1,0,1));
body->setAngularFactor(btVector3(0,1,0));
Fix build issues with CodeBlocks, when generating projectfiles using CMake 2.6:
${OPENGL_glU_LIBRARY} should be ${OPENGL_glu_LIBRARY}
Fix build issue with CodeBlocks, comment out xmlfree in Extras/COLLADA_DOM/src/modules/LIBXMLPlugin/daeLIBXMLPlugin.cpp (will leak memory)
2009-03-08 04:14:17 +00:00
erwin.coumans
8acadeb711
minor tweaks to demos: enable constraint debug drawing in AllBulletDemos, default constraint debugging size set to 0.3,
...
set svn:eol-style native for folder files
http://code.google.com/p/bullet/issues/detail?id=191
2009-02-18 22:52:03 +00:00
erwin.coumans
d886c06fa5
Add the option for the btSimulationIslandManager to avoid splitting islands (for constraint solving)
...
Move the convertContact inside constraint solver to its own method
2009-02-13 02:34:46 +00:00