erwin.coumans@gmail.com
e8c2475c95
Added a gCompoundChildShapePairCallback to filter (enable/disable) child shape collisions for a btCompoundShape.
...
Thanks to Rich McDaniel for the patch.
See MyCompoundChildShapeCallback in Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.cpp for usage.
2013-04-02 02:01:43 +00:00
erwin.coumans
02a22f6329
Avoid using SSE in API when BT_USE_SSE_IN_API is not defined
...
Fixes Issue 683.
2012-12-20 22:09:59 +00:00
erwin.coumans
7e14e79da0
Fix Issue 680, compilation error using Visual Studio 2005, service pack 1, quicksort compare function needs to be in a class.
...
Toggle between GJK and SAT (initializePolyhedralFeatures) in convexDecomposition at easch restart of the demo (spacebar)
2012-12-17 20:38:31 +00:00
erwin.coumans
73b217fb07
Apple contribution for OSX SSE and iOS NEON optimizations unit tests, thanks to Jordan Hubbard, Ian Ollmann and Hristo Hristov.
...
For OSX:
cd build
./premake_osx xcode4
for iOS:
cd build
./ios_build.sh
./ios_run.sh
Also integrated the branches/StackAllocation to make it easier to multi-thread collision detection in the near future. It avoids changing the btCollisionObject while performing collision detection.
As this is a large patch, some stuff might be temporarily broken, I'll keep an eye out on issues.
2012-06-07 00:56:30 +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
46be84741c
fix an issue in the ConvexDecompositionDemo, replacing std::vector by btAlignedObjectArray.
2011-04-01 18:09:31 +00:00
erwin.coumans
e5b5126876
Enable rayTest btDbvt (dynamic aabb-tree) acceleration for btCompoundShape
...
Thanks to NaN/core13, see Issue 25
2011-02-26 22:19:00 +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
1425feec26
minor warning fixes, issue with "direction[i] = direction[i];" on OSX
2010-02-23 18:08:44 +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
065a56ee4b
fix Mac OSX build
2010-02-11 21:41:05 +00:00
erwin.coumans
6a8a8ad39f
more improvements for msvc cmake build system and test for autogenerated cmake projectfiles for msvc 2008 in msvc/2008 (with relative paths)
2010-02-08 20:35:04 +00:00
erwin.coumans
558abff4db
added extra file search path for cmake-generated msvc projectfiles (needs 4 levels back)
2010-02-08 08:51:08 +00:00
erwin.coumans
a6d9e977f7
A bit more work on the cmake build system, copy glut32.dll or glut64.dll into binary directory for out-of-source builds.
...
Include .rc resource file (to add icon) for WIN32 cmake.
2010-02-08 08:12:04 +00:00
erwin.coumans
4140a20552
fixed some compile issue for Mac Dynamica plugin, see
...
http://code.google.com/p/bullet/issues/detail?id=221
added some missing file for autotools/Makefile.am
fix: btBulletWorldImporter::loadFileFromMemory always returned false, if it was succesful
2010-01-31 16:46:06 +00:00
erwin.coumans
788f48643b
remove all warnings on Mac OSX Snow Leopard
2010-01-30 22:31:56 +00:00
erwin.coumans
77b773f470
more improvements, copy testFile.bullet to target binary directory (cmake), fix some warnings
2010-01-30 21:46:50 +00:00
erwin.coumans
8616ea07d8
copy glut*.dll next to executable using cmake postbuild step
...
re-add CollisionInterfaceDemo to cmake
2010-01-29 17:47:17 +00:00
erwin.coumans
44565d20f4
added serialization support for btCompoundShape, btCapsuleShapeX/Z, btCylinderShapeX,Z
...
make some serialization methods const
prepare for constraint serialization
2010-01-26 02:24:03 +00:00
erwin.coumans
a7a6ab8835
Add BulletWorldImporter: it takes the in-memory data from BulletFileLoader and instantiates objects in a BulletDynamicsWorld.
...
Note that BulletFileLoader is has no dependencies on BulletDynamics/BulletCollision.
Also added a custom build step to copy asset (.bullet and .obj file) into the executable folder
Made a few 'char*' 'const char*' to avoid compiler warnings
2010-01-25 21:58:32 +00:00
erwin.coumans
b68f2710cd
change link order, hopefully fixes some link errors on systems that need strict order of libraries (gcc/linux)
...
Thanks elLolo for the report, see http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=4635
2010-01-25 19:50:30 +00:00
erwin.coumans
e7ff71d99b
add support for double precision and 64bit serialization (and compatibility between all versions)
...
fix some issue in serialization of nested array data
add some tesing files
2010-01-25 19:42:51 +00:00
erwin.coumans
5378cf4c8a
more work on Bullet serialization (added support for btConvexHullSupport)
2010-01-23 00:58:47 +00:00
erwin.coumans
e89fe1cbfa
Make BenchmarkDemo a console application, without OpenGL/Glut dependency.
...
Fix potential division by zero when enabling convex distance utility.
Thanks to linzner http://code.google.com/p/bullet/issues/detail?id=264
2009-08-12 08:18:57 +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
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
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
2daf428386
updated CMake support: remove Lib prefix, to facilitate Apple Framework support, add App prefix for demos
...
See discussion here: http://code.google.com/p/bullet/issues/detail?id=129
2008-11-06 06:54:35 +00:00
erwin.coumans
d25d264e77
Improved CharacterDemo/KinematicCharacterController, dynamic objects will bounce off.
...
Don't create a todo list for doxygen by default (the chaotic todo's would confuse most developers)
Improve support for small objects, by having dynamic contact breaking thresholds. Still needs small internal timestep and some GJK improvements.
2008-11-05 03:28:10 +00:00
erwin.coumans
28e580c203
removed STL usage of Extras/ConvexBuilder and replaced by btAlignedObjectArray
...
fixed several warnings, thanks to sparkprime
added comments patch for linear math, thanks to Tully Foote
2008-10-28 18:52:46 +00:00
erwin.coumans
6f28170422
Removed obsolete btPoint3: use btVector3 instead
2008-10-27 19:56:48 +00:00
erwin.coumans
93d1d24234
Some changes in rendering, to get shadows for trimeshes
...
Add dynamic aabb tree (btDbvt) optimization for btCompoundShape/btCompoundCollisionAlgorithm
Add btTransformAabb util, todo: deploy it throughout the codebase
2008-09-10 05:20:04 +00:00
john.mccutchan
32bf51aa47
Fixed memory leaks in ConvexDecomposition and ColladaConverter libraries
...
Added ConvexDecompositionDemo to CMake build
2008-08-28 17:36:50 +00:00
erwin.coumans
4894f24c9a
Fixes for FPU exceptions, thanks to Phil Knight for reporting and John McCutchan for fix/workarounds.
...
Added new cluster collision methods for soft bodies, thanks to Nathanael Presson.
Enable/disable textures/shadows for specific demos.
2008-08-01 01:04:45 +00:00
erwin.coumans
1139c06a4d
more soft body preparations, moved some parts from Demo/SoftBody to src/BulletDynamics/SoftBody
...
moved Extras/ConvexHull/btConvexHull.* to src/LinearMath/btConvexHull.*
removed btCollisionObject::m_internalOwner, replaced it by m_internalType. This should not affect external API (it was clearly marked as internal)
2008-04-10 20:00:41 +00:00
ejcoumans
fc333d2e18
updated Jam and CMake build files for new Extras/ConvexHull library
2008-02-13 08:15:58 +00:00
ejcoumans
eeb78b8d45
free memory for btShapeHulls, keep track of it in GL_ShapeDrawer.
...
move btShapeHull and btConvexHull into its own library in Extras/ConvexHull (it allocates memory using mem/delete and refactoring into using btAlignedAlloc/Free takes too much time)
fix heightfield / btOptimizedBvh for quantization, so that raycast can use quantized aabb (clamp up for maxima and down for minima)
work-in-progress (update projectfiles etc)
2008-02-13 07:14:19 +00:00
ejcoumans
c86fea11dc
use btHullShape/btConvexHull to reduce vertices in a convex hull. Perhaps we always use this, to avoid convex objects with too many vertices...?
2008-01-24 01:35:34 +00:00
ejcoumans
19753da3b4
prettified convex composition demo (added concave version, next to convex hull and convex decomposition)
2008-01-23 23:48:30 +00:00
ejcoumans
95fa8f9185
use new convex hull drawing code for btConvexTriangleMeshShape
2008-01-23 23:36:45 +00:00
ejcoumans
d051e2eacb
First commit of 2008, Happy New Year!
...
Add option to compile without btClock and without profiling: comment out USE_BT_CLOCK, and #define BT_NO_PROFILE
Fixed typo/case in #include "LinearMath/btQuickProf.h", in SpuParallelSolver.cpp
Removed unnecessary files from libxml CMakeLists.txt
2008-01-03 04:42:00 +00:00
ejcoumans
f1be4ab221
only update aabb of active objects, thanks Peter Tchernev for reporting ( http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1764 )
...
move debug aabb rendering from updateAabb to debugDrawWorld
2007-12-10 02:18:38 +00:00
ejcoumans
2e4912b67a
demo cleanup part 1
2007-12-07 00:27:30 +00:00
ejcoumans
cab75b53ec
added hierarchical profiling (needs more cleanup)
...
avoid dynamic allocations in btRaycastVehicle
2007-11-21 03:00:40 +00:00
ejcoumans
e755d1ed4e
added some comments, to clarify unit-test/brute force implementations.
2007-11-02 01:14:29 +00:00
ejcoumans
c3ac939a94
removed debug drawer, should be added externally (in main.cpp or in AllBulletDemos)
2007-11-01 23:44:50 +00:00
ejcoumans
f3424f491c
cleanup memory in CcdPhysicsDemo, RagdollDemo, ConcaveDemo, BspDemo (work in progress)
2007-11-01 05:50:50 +00:00
ejcoumans
fd1e672fcb
updated demos to show debug display with new AllBulletDemos (AllInOne),
...
added btDynamicsWorld::getWorldType
2007-10-25 07:07:12 +00:00
ejcoumans
ce0ce3b135
updated AllBulletDemo
2007-10-23 05:46:16 +00:00