Commit Graph
100 Commits
Author SHA1 Message Date
d3x0r 08eb947bac Format fix. 2015-11-08 10:24:16 -08:00
d3x0r 99acea9594 btVoronoiSimplexSolver::inSimplex can return when first 'found=true' is set instead of going through all points, since found is never set to false in any other condition.
PersistentManifold replaceContactPoint set the same values for m_appliedImpluse; remove redunant set.
2015-11-08 10:22:02 -08:00
Ola Røer Thorsen 75207c4839 fix for broken memmove used in btDbvt.h, issue 347. 2015-10-22 21:24:40 +02:00
rioharu 086902ea51 Update btInternalEdgeUtility.cpp
Fixes issue #389 by removing code which causes a segfault in MinGW's GCC by removing code which did not affect subsequent operations.
2015-08-26 15:10:30 -06:00
MakoEnergy b94533d059 Added a method to retrieve the parameter flags to the btSliderConstraint. 2015-05-29 00:15:12 -05:00
MakoEnergy 2f96d050ee Added a method to retrieve the parameter flags to the btPoint2PointConstraint. 2015-05-27 21:00:30 -05:00
MakoEnergy e48e14889c Created a few getters and setters for the btHingeConstraint. 2015-05-27 16:00:30 -05:00
MakoEnergy ec84ce3304 Added 4 fetch methods to the 6DoF spring constraint. 2015-05-22 16:26:18 -05:00
MakoEnergy 26c533f02c Added 3 fetch methods and made other methods Const. 2015-05-17 16:48:53 -05:00
MakoEnergy 3bf26c8bbe Final set of fetch methods, for secondary data for the limits. 2015-05-15 16:12:31 -05:00
MakoEnergy c30a3baad0 Added a method to retrieve the parameter flags to the btConeTwistConstraint. 2015-05-09 04:32:20 -05:00
MakoEnergy 150d0dfc02 Fixed a couple errors with my last commit.
Fixed an error where I placed the wrong brackets and fixed a styling error where I had capitalized the first letter of a function name.
2015-05-08 00:22:09 -05:00
MakoEnergy b53106319f Created a bunch of "get" methods for the btConeTwistConstraint. 2015-05-07 23:41:19 -05:00
Erwin Coumans 5c84d6f6de don't use glSwapAPPLE, it fails on some OSX versions
thanks Steven for the report
2015-05-06 18:42:47 -07:00
Erwin Coumans 0da584a42d allow to compile and run the ExampleBrowser on older Mac OSX versions (without OpenGL3)
using the 'NO_OPENGL3' preprocessor definition
both premake/cmake has support for this now
needs some testing
2015-05-06 10:35:14 -07:00
Erwin Coumans c2006f31e4 don't build any demos on older Mac OS versions <10.9
use btCompoundCompoundCollisionShape to determine maximum collision algorithm size
2015-05-06 08:27:01 -07:00
Nassim Amar e9c7f3a0d2 Fixed macro's to detect 64bit 2015-02-01 14:32:37 -08:00
XBog ed42e217b5 subdivion backface shouldnt be in front 2014-04-12 18:11:58 +02:00
erwincoumans c05c4b00bb fix linux build
w
2013-07-21 08:43:45 -07:00
erwincoumans 01fbe80f8f use int instead of void to avoid 64bit error 2013-07-19 07:10:38 -07:00
erwincoumans 2f0fd80c9c enable poxix MultiThreading sample under Linux 2013-07-18 21:18:09 -07:00
erwincoumans 12a4480d08 select different default demos 2013-07-18 17:43:51 -07:00
erwincoumans 41d0ade9d8 don't load missing test files 2013-07-18 16:31:26 -07:00
erwincoumans 392347b202 use Control or Alt under Linux for Maya style mouse control (Ubuntu hijacks Alt) 2013-07-18 16:28:41 -07:00
erwincoumans 282e19171f fix Linux version of ConstraintDemo 2013-07-09 14:41:56 -07:00
erwincoumans 898f423f95 fix linux build 2013-07-01 09:45:12 -07:00
erwincoumans 1d61530233 fix typo in premake file 2013-06-20 18:07:05 -07:00
erwincoumans 6acf4d03a7 add Raycast kernel to stringify_linux.sh 2013-06-19 17:29:31 -07:00
erwincoumans 221a8cf463 move binary to bin folder 2013-06-19 15:03:29 -07:00
erwincoumans 7561e6a4f9 move build to build3 to avoid naming conflict with Bullet 2.x
fix build error in BasicGpuDemo
Thanks to joen66 for the report here:
https://github.com/erwincoumans/bullet3/issues/5
2013-06-19 14:54:28 -07:00
erwincoumans 596cc95163 move files to correct location (case sensitive issue)
w
2013-06-19 14:35:16 -07:00
erwincoumans a81d847c24 Linux fixes 2013-06-17 22:45:59 -07:00
erwincoumans 227d88f553 fix Linux build 2013-06-17 21:57:04 -07:00
erwincoumans 74bdccc2cf fix Linux build (tested on Ubuntu 12.10, 32bit) 2013-06-05 08:51:13 -07:00
erwincoumans 6bfa60c365 tweak demo a bit and add 'exit' to X11 window 2013-05-23 10:23:08 -07:00
erwincoumans a2553cbdad only fclose(f) a file once, to avoid a crash on Linux 2013-05-23 09:54:54 -07:00
erwincoumans 98a877a80d enable alignment macros for Linux 2013-05-22 17:59:13 -07:00
erwincoumans ee5195d3e8 fix padding issue under Linux (where b3Vector3 is not 16-byte aligned)
w
2013-05-22 17:46:47 -07:00
erwincoumans 4266717dff fix GpuGuiInitialize premake build files
w
2013-05-20 18:09:02 -07:00
erwincoumans 29e70b2802 Add option to use clew to manually open the OpenCL dynamic library
fix Linux build of App_Bullet3_OpenCL_Demos. Unfortunately the simulation doesn't work properly, need to fix it
(and add unit tests)
2013-05-20 17:58:19 -07:00
erwincoumans 453952f202 fix Linux build (only OpenCL/gwen tested) 2013-05-20 16:53:43 -07:00
erwincoumans 0aa7c97874 always build 64bit under Linux 64bit system, rather then 32bit 2013-03-13 17:38:16 -07:00
rponom@gmail.com f35621eb01 Bug in ConeTwist constraint with tight limits fixed
ConeTwist constructor for one-body constraint modified
2012-11-09 19:22:05 +00:00
rponom 635bbb5324 Sample of 6DOF constraint with motor attached to the world added to AppConstraintDemo 2010-11-03 21:34:26 +00:00
rponom a1c1007a81 Bug in btAdjustAngleToLimits() (issue 377) fixed 2010-09-16 21:04:41 +00:00
rponom 13d9441f30 Fixed particle demo bug (grid was smaller than world box) 2010-07-16 01:11:24 +00:00
rponom b409abac09 Deltas of linear and angular velocities applied to rigid bodies now are kept between simulation steps.
Read-only access functions added to btRigidBody to get these values
Several OpenCL functions are implemented for MiniCL
2010-03-17 19:06:59 +00:00
rponom af754373b2 Dynamica Maya plugin changes to take into account scale and pivot point offset
when converting existing objects to convex hull or mesh
One more method added to set spring equilibrium point directly for btGeneric6DofSpringConstraint
2010-03-03 20:50:38 +00:00
rponom c31e2ed064 getInfo2NonVirtual() merged to getInfo2NonVirtualUsingFrameOffset() to reduce code size 2010-02-04 23:56:08 +00:00
rponom 5eeb624585 Bug fixed (m_useOffsetForConstraintFrame initialization) 2010-02-04 21:24:47 +00:00
rponom af1dafc659 Fix for the slider constraint (case when useLinearReferenceFrameA == false) 2010-02-04 01:21:45 +00:00
rponom 43d82fc20c Bug in command registration/deregistration fixed
One more path to Maya SDK added
2010-02-04 00:38:15 +00:00
rponom d5f5ddf2f1 Bullet debug draw added
It is off by default, see attributes of dSolverNode to turn it on
2010-01-30 04:21:12 +00:00
rponom 133bb63dd8 Dynamica export to Bullet .bullet file, and some fixes in Hull scaling (not using btCompoundShape::setLocalScaling but directly appying the scaling to the hull vertices, and caching the local scaling) 2010-01-29 00:03:45 +00:00
rponom ee3e231be5 + more consistent 'setLocalScaling' for the btCompoundShape. Full non-uniform scaling is not supported when child shapes have a rotation. If any child shapes have rotation, the best you can do is either uniform scaling, or 'baking' the non-uniform scaling into the child geometry (vertices of a convex hull for example)
+ fixed an issue with BulletWorldImporter, btBoxShape implicitShapeDimensions already includes local scaling.
2010-01-28 23:41:09 +00:00
rponom e459145b91 Crash bug when "mesh" applied twice fixed
Constraints reworked - all of them could now work with one or two bodies

Modification of constraint frames and initial positions of rigid bodies
now allowed at start frame only

Plugin version is set to 2.76
2010-01-23 03:15:43 +00:00
rponom 5dd43ab3a2 Various nail constraint improvements
TODO: errors while scene loading / saving
2009-12-25 00:22:20 +00:00
rponom 0d80aa855e Improved math precision for btHingeConstraint and btSliderConstraint (btAtan2() used instead of btAtan2Fast()) 2009-12-02 00:53:53 +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
rponom da9937e06e Bug in btGeneric6DofSpringConstraint::setEquilibriumPoint(int index) fixed 2009-11-05 18:34:19 +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
rponom ee664e7750 Damping for spring motors added
see btGeneric6DofSpringConstraint::setDamping()
2009-06-02 01:10:43 +00:00
rponom dfa1f033da Bug fix : Instability of spring motor for the 6DOF constraint 2009-05-27 20:20:38 +00:00
rponom 056659d2af "Motor at limit" jitter fixed for btGeneric6Dof constraint
This also _should_ fix situation when 6DOF constraint with motor get stuck at limit 
(see forum topic at  http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=3598&p=13603&hilit=ode*#p13603 )
2009-05-27 00:36:02 +00:00
rponom bc1662abee Gpu3D demo added 2009-05-22 02:41:22 +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
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
rponom 4616b62686 Static objects support added for appGpu2dDemo 2009-05-13 00:43:42 +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
rponom 8295114c68 Some 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;
2009-02-18 19:46:42 +00:00
rponom bd5a7f623d Bug in limits setup of ragdoll elbows fixed 2009-02-10 03:17:57 +00:00
rponom c94cad8cba Added a possibility for btHingeConstraint to use frame of rigid body A as a reference frame at construction time.
It is off by default, so the existing code should work as before
2009-02-10 02:42:54 +00:00
rponom 328116d015 Some constraint parameters were changed 2009-02-06 00:05:59 +00:00
rponom d1b9dd4c83 Several improvements in constraint debug drawing 2009-02-06 00:04:52 +00:00
rponom 2766d19d65 Bug in 6DOF constraint fixed
Twist is now locked when twistSpan == 0 for btConeTwistConstraint
Hinge axis for rigidBodyB is no longer flipped
2009-02-06 00:04:32 +00:00
rponom 51f46c8acd Changes in constraint debug drawing : setDbgDrawSize() method added 2009-02-04 02:13:37 +00:00
rponom 2f23237185 Improved and more stable btConeTwistConstraint (thanks to Edy Boxerman) 2009-02-04 02:11:45 +00:00
rponom 4bcd016c98 Constraint demo has been changed - debug visualization turned on by default 2009-01-16 03:06:28 +00:00
rponom 21afccdb29 Handy functions for debug visualization was added 2009-01-16 03:04:55 +00:00
rponom e7ca0e6a9c Bug in Generic 6DOF joint fixed
Debug visualization of joint constraints was added
2009-01-16 03:04:07 +00:00
rponom bdf78e0735 Motor parameter m_fMuscleStrength for the Dynamic Control Demo has been changed to allow demo work with new constraint solver 2009-01-14 02:40:09 +00:00
rponom 33fe793bcd a bug in the btHingeConstraint motor for SIMD solver fixed 2009-01-13 20:23:29 +00:00
rponom 682dd3262b Bug in the sign of linear motor force for btSliderConstraint fixed 2009-01-09 00:32:06 +00:00
rponom 1991bf3013 Added getInfo1()/ getInfo2() code for joints to support the new SIMD constraint solver 2008-12-25 02:13:46 +00:00
rponom 09aa2dbbe7 CPU implementation of btCudaBroadphase added.
It is called bt3DGridBroadphase and btCudaBroadphase is now derived from it rater than from btSimpleBroadphase
Test of bt3DGridBroadphase was added to CDTestFramework
2008-11-25 03:16:11 +00:00
rponom b8b2d8f69b Test for btCudaBroadphase added 2008-11-15 00:22:17 +00:00
rponom afec653726 New version of btCudaBroadphase compatible with Bullet and better performance 2008-11-15 00:21:09 +00:00
rponom 8abddb2400 Fixed deleting objects procedure for btSimpleBroadphase 2008-11-15 00:17:59 +00:00
rponom 7837e653c1 Particle index comparison bug fixed 2008-10-29 00:43:27 +00:00
rponom 309a12836d more CUDA work 2008-10-28 23:25:59 +00:00
rponom 486b172f58 Bug in constructor btHingeConstraint(body, pivot, axis) fixed. Build under MSVC 7.1 fixed 2008-09-19 21:10:01 +00:00
rponom 6a21ee6146 2008-09-19 21:08:13 +00:00
rponom ddccc2797a More stable btConeTwistConstraint to fix the RagdollDemo 2008-09-12 02:55:03 +00:00
rponom 8ffbb21d48 ForkLiftDemo changed to reflect recent changes in btHingeConstraint 2008-09-11 20:34:40 +00:00
rponom b0d6ba845e btHingeConstraint solver changed to improve stability and allow to fix joint 2008-09-11 20:28:05 +00:00
rponom 02112b0687 ForkLift demo added 2008-09-06 00:56:56 +00:00
rponom 65f8a7e70e Current slider position member and access function added 2008-09-06 00:55:26 +00:00
rponom 6141a55f09 Added linear and angular motors for the slider constraint 2008-05-23 22:52:51 +00:00
rponom 99d248ddfd Added slider constraint demo SliderConstraiintDemo 2008-04-05 01:11:34 +00:00