e89fe1cbfaMake BenchmarkDemo a console application, without OpenGL/Glut dependency.
erwin.coumans
2009-08-12 08:18:57 +00:00
ae3255f5e9initialize maximum distance to zero when not using separating distance utility.
erwin.coumans
2009-08-12 01:17:12 +00:00
d7c7c0c9efavoid one redundant motionstate synchronization minor warning fix
erwin.coumans
2009-08-11 23:50:59 +00:00
d67aa861f2Add support for childshape index for btCompoundShape during ContactAddedCallback, see example in Bullet/Demos/ConvexDecompositionDemo Removed some warnings
erwin.coumans
2009-08-11 00:30:41 +00:00
1808ec6a0eSome more minor improvements for PS3 SPU version
erwin.coumans
2009-08-05 23:25:44 +00:00
3e2529fcb5Minor 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)
erwin.coumans
2009-08-05 22:14:46 +00:00
b16f251530Initialize m_maxNumTasks, it is required by the spubullet-2.75 for PLAYSTATION 3.
erwin.coumans
2009-08-05 01:10:46 +00:00
1b457b45e2Minor fixes in multi-threaded narrowphase Bullet version: allow to dynamically switch number of threads/SPUs Disable USE_SEPDISTANCE_UTIL for now
erwin.coumans
2009-08-04 00:03:14 +00:00
3160a0555cRevert GIMPACT change (#define BULLET_TRIANGLE_COLLISION 1)after several reports that it doesn't work well Disable SIMD/SSE when using double precision on __APPLE__, thanks Ola for the report! http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?t=3878
erwin.coumans
2009-07-27 06:28:47 +00:00
82fff60324updated MayaPlugin Makefile.mac for Mac OSX. Usage: make -f Makefile.mac install
erwin.coumans
2009-07-22 19:08:43 +00:00
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
erwin.coumans
2009-07-15 16:47:48 +00:00
a27b349dd0compile fixes for Linux
erwin.coumans
2009-07-14 19:43:22 +00:00
d4b099236cattempts to improve degeneracies in GJK implementation
erwin.coumans
2009-07-10 21:27:04 +00:00
3538ac1162add radius to debug sphere drawing
erwin.coumans
2009-07-10 00:26:46 +00:00
d9ad88aa7aFix in some degenerate GJK configuration: once a degenerate GJK case is detected, without valid EPA penetration, use a second GJK run without margin. Thanks to Jacob Langford for the report:http://code.google.com/p/bullet/issues/detail?id=250
erwin.coumans
2009-07-09 22:10:27 +00:00
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
erwin.coumans
2009-07-06 04:15:02 +00:00
99f6ff7cf3Some fixes to work with constraint angle limits close to -PI or PI
rponom
2009-06-12 01:23:47 +00:00
699ba8f5b2forgot to update Demos/Gpu2dDemo for btMultiSphereShape change (removed 1st argument)
erwin.coumans
2009-06-11 14:32:41 +00:00
f552a1dbbfRemove 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)
erwin.coumans
2009-06-11 13:51:48 +00:00
6c80353556Minor 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
erwin.coumans
2009-06-11 12:22:41 +00:00
47a4435a9aMake is easier to compile Bullet/Extras/sph: 1) use $(CUDA_INC_PATH) for CUDA include path 2) avoid using cuda util, but use BT_GPU_SAFE_CALL and BT_GPU_CHECK_ERROR (defined in Bullet/Extras/CUDA/btCudaUtil.h) 3) remove pre-linked glee*.lib, but include glee.c directly
erwin.coumans
2009-06-10 22:44:27 +00:00
656d6b8336Make is easier to compile Bullet/Extras/sph: 4) removed fluids_2008.sln, just use automatic converted upgrade using fluids_2005.sln solution Use Bullet/Glut/GL folder, instead of Bullet/Extras/spu/common/GL folder)
erwin.coumans
2009-06-10 22:43:23 +00:00
acf8ed3de5Re-enabled split impulse: avoids adding linear/angular momentum due to penetration recovery. Both SIMD and scalar version is supported.
erwin.coumans
2009-06-10 22:04:06 +00:00
b0d5fbcc6cremove Blender-hack for older compilers (just apply the hack only in the Blender copy of Bullet)
erwin.coumans
2009-06-09 05:10:06 +00:00
a9141d5dafFix in generic 6dof constraint, when springs/limits/motors are combined Added btGeneric6DofConstraint::getRelativePivotPosition to read relative linear position of the constraint frame (pivot)
erwin.coumans
2009-06-06 01:09:06 +00:00
ee664e7750Damping for spring motors added see btGeneric6DofSpringConstraint::setDamping()
rponom
2009-06-02 01:10:43 +00:00
d58a14b4cdinclude <string.h> instead of <memory.h>
erwin.coumans
2009-05-29 02:08:03 +00:00
dfa1f033daBug fix : Instability of spring motor for the 6DOF constraint
rponom
2009-05-27 20:20:38 +00:00
badf723257Replace 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
erwin.coumans
2009-05-23 02:15:54 +00:00
1e11223f6bupdates to msvc projectfiles
erwin.coumans
2009-05-23 01:51:02 +00:00
31d3bf7700compile fixes for trunk on OSX
erwin.coumans
2009-05-23 01:40:27 +00:00
fb6146f0beAdded 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.
erwin.coumans
2009-05-22 01:43:37 +00:00
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.);
erwin.coumans
2009-05-22 01:03:45 +00:00
c680791ce93 new constraints added : btGeneric6DofSpringConstraint, btUniversalConstraint, btHinge2Constraint Motors for btConeTwistConstraint added (for obsolete solver only) appConstraintDemo changed to test new constraints Several coding-style fixes
rponom
2009-05-21 22:10:13 +00:00
8d9c445b73Fix btGpu2dDemo build -> remove btGpuUtils.cpp and re-enable 3 include files for CPU implementation (btGpuUtils.cpp requires several build system fixes first)
erwin.coumans
2009-05-16 14:44:28 +00:00
a95b2a33bdAdded a possibility to build appGpu2dDemo with CUDA solver. It is disabled by default, see Demos/Gpu2dDemo/btGpuDemoDynamicsWorld.h for instructions how to enable it
rponom
2009-05-14 20:20:56 +00:00
42ece54556applied 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
erwin.coumans
2009-05-14 17:24:08 +00:00
e260bcd1b2Added initial Smoothed Particle Hydrodynamics implementation (SPH), for CPU and CUDA. This software is contributed under the ZLib license by Rama Hoetzlein, http://www.rchoetzlein.com We plan to integrate the SPH into the core Bullet library, including interaction with rigid bodies and soft bodies.
erwin.coumans
2009-05-13 22:28:03 +00:00
4616b62686Static objects support added for appGpu2dDemo
rponom
2009-05-13 00:43:42 +00:00
22fe8935c3updated test1.oec with a few static objects fix Maya plugin hinge constraint support update copyright year in BulletCollision/CollisionShapes.
erwin.coumans
2009-05-12 22:28:45 +00:00
6ac6b3a257Second attempt to commit appGpu2dDemo with Bullet narrowphase Previous version was with old btGpuDemoDynamicsWorld.cpp :-(
rponom
2009-05-12 18:56:08 +00:00
fcf7bda3b0More stable parameters for solver (GpuDemo2d) Added a possibility to switch between GPU/Bullet narrowphase ('j' key)
rponom
2009-05-12 01:54:41 +00:00
0a360904b6fixes 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
erwin.coumans
2009-05-09 21:25:42 +00:00
9da45d5751updated autogenerated msvc projectfiles, by default, use SSE instead of SSE2 for release build
erwin.coumans
2009-05-09 21:20:47 +00:00
33029ad996updated 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
erwin.coumans
2009-05-09 19:27:14 +00:00
f3c3d2f156+ disable perturbation for btConvexPlaneCollisionAlgorithm, it introduces artifacts (additional points cause spheres/cylinders and other curved objects to move) + applied patch to mix double/single precision meshes independent from double/single precision Bullet build Thanks to Ole for the patch, http://code.google.com/p/bullet/issues/detail?id=213 + re-enable warming starting in constraint solver, it was disabled by accident + fix btConvexHullShape constructor, so accept vertices with non-16-byte striding Thanks Shawn Baird for report and fix: http://code.google.com/p/bullet/issues/detail?id=204
erwin.coumans
2009-05-06 19:13:11 +00:00
77fac5e2aerevert accidently committed tweaks in demos
erwin.coumans
2009-03-23 03:36:03 +00:00
7ae29bd13eadd plSetOpenGLMatrix to Bullet-C-API
erwin.coumans
2009-03-10 00:13:18 +00:00
69b7f177dbAdded basic example Bullet C-Sharp wrapping the Bullet C-API.
erwin.coumans
2009-03-10 00:12:24 +00:00
0cd0529c4athe component of the up axis needs to be scaled, to reduce roll.
erwin.coumans
2009-03-09 03:53:16 +00:00
700db838b1Add 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)
erwin.coumans
2009-03-08 04:14:17 +00:00
3317f17270updated Bullet_User_Manual.pdf minor cosmetic changes in some demos
erwin.coumans
2009-03-03 23:04:41 +00:00
8df080e1a6delete some unused (broken) project solutions, to avoid confusion
erwin.coumans
2009-03-03 21:37:17 +00:00
0905002e3fmake sure to be backwards compatible with spubullet 2.73 sp1 (PLAYSTATION 3 version)
erwin.coumans
2009-03-03 20:30:31 +00:00
90f96aec27Introduced btActionInterface. This makes it easier to extend user-defined actions, such as vehicles and characters. btRaycastVehicle and btKinematicCharacterController are derived from btActionInterface now. Some cosmetic cleanup: changed sourceforce/sf.net url to bulletphysics.com.
erwin.coumans
2009-03-03 16:18:23 +00:00
459c22e7cbSynchronized changes of Bullet, from Blender. Added optional flag btSoftBody::appendAnchor( int node,btRigidBody* body, bool disableCollisionBetweenLinkedBodies=false), to disable collision between soft body and rigid body, when pinned Added btCollisionObject::setAnisotropicFriction, to scale friction in x,y,z direction. Added btCollisionObject::setContactProcessingThreshold(float threshold), to avoid collision resolution of contact above a certain distance. Avoid collisions between static objects (causes the CharacterDemo to assert, when a dynamic object hits character)
erwin.coumans
2009-03-03 06:47:52 +00:00
5be9f8f301basic implementation of self-collision for btSoftBody with collision clusters: perform regular soft body versus soft body, but disable collision detection between clusters that are connected/share any node (vertex).
erwin.coumans
2009-03-02 05:13:26 +00:00
210fe36106Add backface culling and option to keep unflipped hit normal in case a ray hits a back-facing triangle. Usage: set RayResultCallback.m_flags to kF_FilterBackfaces, optionally combined with kF_KeepUnflippedNormal. Thanks Andy O'Neil for the patch!
erwin.coumans
2009-02-28 01:25:23 +00:00
a216ce4bf6apply patch for convex decomposition performance improvements, thanks to Tuan Kuranes: http://code.google.com/p/bullet/issues/detail?id=199 Fix in soft body collision, adding collision margin twice (was visible when rigid body spheres rested on cloth)
erwin.coumans
2009-02-28 00:21:30 +00:00
93dd14dfffuse 0.2 as default erp for AllBulletDemos
erwin.coumans
2009-02-27 03:13:58 +00:00
0066e41a92fix automake/make build for AllBulletDemos (ConstraintDemo was added), and remove unused folder from Jamfile
erwin.coumans
2009-02-20 17:40:23 +00:00
a95d0e638efixes in btConeTwistConstraint, check for btFuzzyZero instead of zero to avoid instability.
erwin.coumans
2009-02-20 00:53:24 +00:00
8acadeb711minor 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
erwin.coumans
2009-02-18 22:52:03 +00:00
d9218378b0updated XCode projectfile for AllBulletDemosOSX
erwin.coumans
2009-02-18 20:14:54 +00:00
8295114c68Some improvements for the btConeTwistConstraint: - member m_fixThresh was added; - one of two swing rotations become fixed if the corresponding limit is less than m_fixThresh value;
rponom
2009-02-18 19:46:42 +00:00
4236764cfbenable 'getAngularFactor' again add getAppliedImpulse accessor to btManifoldPoint
erwin.coumans
2009-02-17 20:38:54 +00:00
4b98cadd4crevert some testing code in BasicDemo
erwin.coumans
2009-02-13 02:42:39 +00:00
d886c06fa5Add the option for the btSimulationIslandManager to avoid splitting islands (for constraint solving) Move the convertContact inside constraint solver to its own method
erwin.coumans
2009-02-13 02:34:46 +00:00
26d7757135avoid breaking the API (forcing to implement resetPool), so that spubullet 2.73 sp1 stays compatible with public bullet-2.74
erwin.coumans
2009-02-12 02:48:18 +00:00
5698d6aed1reset randseed in constraint solver for determinism use BT_USE_SSE in btDbvt, defined in btScalar.h
erwin.coumans
2009-02-11 05:44:48 +00:00
7a2a98078aFixes for broadphase/paircache determinism. Revert definition for ATTRIBUTE_ALIGNED16, and try to force sizeof(btSolverConstraint) by using unions with btScalar, for non-btScalar data types. Use btAssert and not assert. Don't access btAlignedObjectArray elements, for zero sets
erwin.coumans
2009-02-10 23:50:21 +00:00
be3260280aFix for issue #192 Also: Avoid divide by zero before OpenGL window is up
john.mccutchan
2009-02-10 22:10:21 +00:00