erwin.coumans
73250b4be2
make the menus compile on both (Snow) Leopard and iPhone
2009-11-03 05:25:48 +00:00
erwin.coumans
703582f4fa
apply fix for btAcosf/btAsinf (numerical issue causes values of X become slightly larger than 1 or smaller than -1, causing NaNs)
...
manually add some missing files to msvc projectfiles for now
fix in box-box collision detector, preventing it to fail in some rare cases
remove redundant line in btHingeConstraint, thanks to teravus
fix mouse drag camera rotation issue (modulo 360 instead of 180)
2009-10-09 23:35:00 +00:00
erwin.coumans
7b4bfcbcab
some compile fixes in debug font rendering
2009-09-29 02:12:40 +00:00
erwin.coumans
ebd44c1cd2
updated new DialogDynamicsWorld GUI to compile and run on Mac OS X.
2009-09-26 19:58:37 +00:00
erwin.coumans
2f4f468f4d
Created basic physics-based OpenGL menu dialog system, with toggle/text and slider control.
2009-09-26 01:44:09 +00:00
erwin.coumans
0d0da7ae4e
minor fixes in GLDebugFont.cpp
...
update automake Makefile.am, add some missing files such as btActionInterface.h
http://code.google.com/p/bullet/issues/detail?id=258
unix line endings for install-sh
2009-09-17 22:02:11 +00:00
erwin.coumans
dcfb23dc13
update build for btConvex2dShape functionality
...
use btDbvtBroadphase in HelloWorld demo, it is the recommended broadphase
2009-09-17 20:17:14 +00:00
erwin.coumans
f65e829ca0
Add support for generic 2d convex shapes, through wrapper class btConvex2dShape. See Bullet/Demos/Box2dDemo for example wrapping a btCylinderShape and 2d btConvexHullShape.
...
Add some extra degeneracy debugging check in btGjkPairDetector
2009-09-17 19:45:22 +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
cc5ba4608f
use pre-tick callback to update motor targets in DynamicControlDemo: dynamicsWorld->setInternalTickCallback(callbackFunc,void* userPtr=MotorDemo,bool pretick=true
2009-09-09 23:23:22 +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
2ef7c1a457
Fixes / improvements in soft body:
...
avoid blow-up due to improper mass calculation for fixed nodes (happened when using clusters)
allow to create collision clusters for each tetrahedron or triangle, when using btSoftBody::generateClusters(0)
tweak soft body demos a bit, only draw debug wireframe if necessary
2009-08-28 21:23:54 +00:00
erwin.coumans
f492899499
Added example of tetrahedral (volumetric) softbodies
...
Keep camera distance positive when using mouse zoom
Updated autogenerated msvc projectfiles
Added glut 64 bit support
2009-08-27 18:39:17 +00:00
erwin.coumans
f82cfc8259
dd pthread to MiniCL_VectorAdd project, for Unix
2009-08-26 19:50:35 +00:00
erwin.coumans
34699f6de6
+ add option to set pre-tick callback, called at the beginning of each internal simulation step
...
+ use real-time for soft body demo (using this pre-tick callback)
+ optimize the generation of bending constraints for the special case where the distance is 2
2009-08-14 21:36:51 +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
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
a27b349dd0
compile fixes for Linux
2009-07-14 19:43:22 +00:00
erwin.coumans
60c107b7a7
Updated INSTALL description. This info should go also in Bullet User Manual and Online.
...
Thanks to ejtttje http://code.google.com/p/bullet/issues/detail?id=248
Use GJK for GImpact triangle test
See http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=3687
More improvements in GJK degeneracy handling (using second EPA/GJK run)
Issue/discussion here http://code.google.com/p/bullet/issues/detail?id=250
CMake improvements
Thanks to ejtttje http://code.google.com/p/bullet/issues/detail?id=247
Added basic camera/wall detection for character demo
2009-07-14 02:10:03 +00:00
erwin.coumans
c4ad354ac0
More GJK degeneracy fixes, thanks Jacob Langford for the feedback:
...
http://code.google.com/p/bullet/issues/detail?id=250
Added missing files for Maya Dynamica plugin
Thanks Herbert Law for the patch, and damrit and others for the report
http://code.google.com/p/bullet/issues/detail?id=231
Fix btQuaternion shortestArcQuat, thanks Stan Melax for original fix and shogun for reminder
http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1989
Implemented btDiscreteDynamicsWorld::removeCollisionObject (and btSoftBodyDynamicsWorld) to avoid
crashes. Thanks Jacob Langford for bringing that up.
Minor sphere-debug drawing issue (spheres were drawn inside-out (wrong face winding)
2009-07-13 21:48:19 +00:00
erwin.coumans
3538ac1162
add radius to debug sphere drawing
2009-07-10 00:26:46 +00:00
erwin.coumans
dc4180f1ce
+ fix bug in SoftDemo: use removeRigidBody for rigid bodies, instead of removeCollisionObject
...
+ use default convex drawing instead of special cylinder drawing (caps are wrongly drawn)
+ allow camera translation using middle-mouse button in SoftDemo
+ add/removeCollisionObject virtual
Thanks Ola for this suggestion
2009-07-06 04:15:02 +00:00
rponom
99f6ff7cf3
Some fixes to work with constraint angle limits close to -PI or PI
2009-06-12 01:23:47 +00:00
erwin.coumans
699ba8f5b2
forgot to update Demos/Gpu2dDemo for btMultiSphereShape change (removed 1st argument)
2009-06-11 14:32:41 +00:00
erwin.coumans
f552a1dbbf
Remove first argument from btMultiSphereShape, calculate local inertia approximation from aabb.
...
If user wants more accurate inertia tensor for multi-sphere shape, use btCompoundShape instead
(amd btCompoundShape::calculatePrincipalAxisTransform)
Thanks rcharlton for bringing this up.
Erwin
2009-06-11 13:51:48 +00:00
erwin.coumans
6c80353556
Minor fix in friction: calculate second friction direction based on un-scaling first friction direction (issue if it was scaled to zero)
...
Force activation state of static objects to be ISLAND_SLEEPING, once they are added to the world
Add backwards compatibility option btDiscreteDynamicsWorld::setSynchronizeAllMotionStates, just in case only updating active objects broke someones code
Don't disable 3D box-box in box2ddemo
2009-06-11 12:22:41 +00:00
rponom
ee664e7750
Damping for spring motors added
...
see btGeneric6DofSpringConstraint::setDamping()
2009-06-02 01:10:43 +00:00
erwin.coumans
0c097bd45a
Added keyboardUpCallback,
...
Thanks to Erik Weitnauer
http://code.google.com/p/bullet/issues/detail?id=215#c1
Fixed ccdMotionThreshold (wrongly squared input value)
Thanks to Mark Carlson for the report/fix.
http://code.google.com/p/bullet/issues/detail?id=216#c1
2009-05-23 02:48:16 +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
4f92f69ca4
added projectfiles
2009-05-22 20:09:19 +00:00
erwin.coumans
4ad21d36f9
some fixes in build systems
2009-05-22 19:24:20 +00:00
rponom
bc1662abee
Gpu3D demo added
2009-05-22 02:41:22 +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
erwin.coumans
2f1014268b
+ Internal improvements for collision shapes
...
1) add AabbCaching versions of btPolyhedralConvexShape and btMultiSphereShape (this speeds up btMultiSphereShape 'getAabb', and reduces size of btBoxShape)
2) btCylinderShape doesn't derive from btBoxShape anymore
+ Minor fixes in drawing for btMultiSphereShape, btBoxShape.
+ Don't re-generate btDebugFont every frame
+ Disabled velocity prediction for btDbvtBroadphase. Previous default can be restored using btDbvtBroadphase->setVelocityPrediction(1./2.);
2009-05-22 01:03:45 +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
42ece54556
applied patch that allows to enable multithreading mode for CcdPhysicsDemo,
...
Still requires manually adding BulletMultiThreaded library dependency (we won't enable it by default just yet)
Thanks SkewMatrix for the report/fix: http://code.google.com/p/bullet/issues/detail?id=222
2009-05-14 17:24:08 +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
rponom
4616b62686
Static objects support added for appGpu2dDemo
2009-05-13 00:43:42 +00:00
erwin.coumans
22fe8935c3
updated test1.oec with a few static objects
...
fix Maya plugin hinge constraint support
update copyright year in BulletCollision/CollisionShapes.
2009-05-12 22:28:45 +00:00
rponom
6ac6b3a257
Second attempt to commit appGpu2dDemo with Bullet narrowphase
...
Previous version was with old btGpuDemoDynamicsWorld.cpp :-(
2009-05-12 18:56:08 +00:00
rponom
fcf7bda3b0
More stable parameters for solver (GpuDemo2d)
...
Added a possibility to switch between GPU/Bullet narrowphase ('j' key)
2009-05-12 01:54:41 +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
7a210546cf
added existing demos to CMake build system
...
thanks to http://code.google.com/p/bullet/issues/detail?id=209
Added helper method 'getAxis' to btQuaternion,
thanks to Tully.Foote, http://code.google.com/p/bullet/issues/detail?id=205
2009-05-06 22:03:22 +00:00