erwin.coumans
ae6c59848f
fix OSX build
2010-01-20 04:52:07 +00:00
erwin.coumans
50a3c32a5f
Added preliminary binary serialization code in btCollisionWorld.cpp, with example in Bullet/Demos/BasicDemo.cpp
...
(work-in-progress, some initial working version should be ready very soon, for Bullet 2.76)
2010-01-20 01:00:39 +00:00
erwin.coumans
9bcc19a98f
enable Box2dDemo for Win32 app.
2010-01-19 23:37:14 +00:00
erwin.coumans
8da244b443
remove a few warnings in DemoApplication
2010-01-19 23:29:19 +00:00
erwin.coumans
7b41af1765
Don't use GLUT by default under Windows, but a Win32 App instead. All demos have to be fixed (only basic demo works now). Also on Mac OSX, we plan to use cocoa instead of Glut.
2010-01-19 22:59:49 +00:00
erwin.coumans
5d3ba1daa6
fix compile issue, and add BulletCollision/CollisionDispatch/btInternalEdgeUtility.cpp/h to CMakeLists.txt/Makefile.am
2010-01-19 20:12:45 +00:00
erwin.coumans
96d73d642d
fixes in debug drawer: always use rgba color with each component in range [0..1]
...
use sphere/box rendering of debug drawer
Thanks accodejockey for the report: See http://code.google.com/p/bullet/issues/detail?id=280
Also see http://code.google.com/p/bullet/issues/detail?id=279
2010-01-19 19:38:18 +00:00
erwin.coumans
1b6a4e1285
Don't re-define M_PI but use SIMD_PI instead
...
Thanks philiplowman for the report, See Issue 268
2009-12-21 23:55:09 +00:00
erwin.coumans
fcd2b93a22
fix in box-box contact generation: choose better contact point location (along contact normal) when objects are swapped.
...
move debugDrawWorld to btCollisionWorld.
improved CollisionInterfaceDemo, show how to perform a closest point query for objects that are not in the collision world.
removed a bit of garbage from the debug drawer
2009-12-18 00:54:52 +00:00
erwin.coumans
6425af9a6c
make RenderTexture.h compile on double precision mode
2009-12-13 22:26:11 +00:00
erwin.coumans
443d38366f
remove Gpu2dDemo Gpu3dDemo MiniCL_VectorAdd demos from CMake build system (it is not properly supported on most platforms anyway)
2009-12-13 21:39:47 +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
f4c4e91904
more cmake fixes
2009-11-17 03:03:27 +00:00
erwin.coumans
f59ad619a2
Disable BulletMultiThreaded, Gpu2dDemo, Gpu3dDemo, MiniCL_VectorAdd, they are currently not supported for 64bit platforms.
2009-11-06 00:36:30 +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
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