erwin.coumans
fbc0d86cf6
updated binary serialization structure DNA (type/size/name info)
2010-01-21 00:23:41 +00:00
erwin.coumans
6af9f9434f
worked a bit more on the serialization, and added a preliminary SerializeDemo.
2010-01-21 00:17:18 +00:00
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
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
67133c403d
remove the LinearMath/ prefix for includes within the LinearMath directory
...
Thenks tasioga for the patch, see http://code.google.com/p/bullet/issues/detail?id=333
2010-01-19 06:13:44 +00:00
erwin.coumans
4280f54ccf
Get rid of some warnings, mainly unused parameters/variables.
...
Thanks sparkprime for the patch, see http://code.google.com/p/bullet/issues/detail?id=330
2010-01-19 06:10:27 +00:00
erwin.coumans
b5218f3ca7
removed normalize (btAcos has clamping) and removed assert in btAcos.
2009-12-21 23:43:59 +00:00
erwin.coumans
db25e21fde
added isZero and fuzzyZero to btVector3
...
Thanks jazztickets for the report, see Issue 145
2009-12-21 23:13:11 +00:00
erwin.coumans
fa778a649c
Avoid introducing virtual method to non-virtual classes, just for serialization
2009-12-18 22:05:11 +00:00
erwin.coumans
8444d0e5c4
Fix shapekey swapping issue with triangle meshes, see http://code.google.com/p/bullet/issues/detail?id=316
...
Revert btHashKeyPtr and introduce btHashPtr (to avoid breaking API/COLLADA Converter), see http://code.google.com/p/bullet/issues/detail?id=318
Disable separating distance util (it just costs CPU cycles and is disabled by default in the API anyway)
2009-12-13 15:40:21 +00:00
erwin.coumans
3edd806b88
Binary serialization in the .bullet file format (work-in-progress)
2009-12-08 18:02:37 +00:00
erwin.coumans
d96818d994
minor fixes in cmake build system, they caused troubles with CMake 2.8 and Xcode
2009-11-17 02:45:37 +00:00
erwin.coumans
992c5eafa4
improvements in slerp
...
thanks to Tully Foote:
http://code.google.com/p/bullet/issues/detail?id=140
minor warning fix in btHashMap.h
2009-11-03 06:22:51 +00:00
erwin.coumans
4c3af9c95f
use LIB_SUFFIX to install under lib${LIB_SUFFIX}, for example /usr/lib64
...
Thanks to brumahe for the patch
http://code.google.com/p/bullet/issues/detail?id=174
compile BulletMultiThreaded also on 64 bit
2009-11-03 06:01:00 +00:00
erwin.coumans
f3525c3a86
make the btAcosf/btAsinf fix multi-line to make it easier to put breakpoints.
...
fix a memory leak issue with ColladaConverter (keep track of the btTriangleMesh containers)
2009-10-09 23:53:18 +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
49474da938
update of ChangeLog
2009-09-17 22:48:07 +00:00
erwin.coumans
6bf2d3388a
Add docs in INSTALL file
...
http://code.google.com/p/bullet/issues/detail?id=278
Fix warning in btHashMap.h
http://code.google.com/p/bullet/issues/detail?id=276
Thanks both to ejtttje
2009-09-17 21:21:17 +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
bbeac75d93
Added minor utility method for btHashMap, btHashString
2009-08-18 23:40:51 +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
aef97d6015
Share btGjkPairDetector, btGjkEpa2, btVoronoiSimplexSolver with SPU/Multithreaded implementation (remove duplicate code)
...
Make btTypedConstraint and btPersistentManifold both derive from btTypedObject to make SPU-side generic constraint solver easier.
Note: all build systems need to be updated: remove SpuVoronoiSimplexSolver.cpp, SpuGjkPairDetector.cpp, SpuEpaPenetrationDepthSolver.cpp, SpuGjkEpa2.cpp
2009-08-07 08:57:56 +00:00
erwin.coumans
3160a0555c
Revert 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
2009-07-27 06:28:47 +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
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
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
b0d5fbcc6c
remove Blender-hack for older compilers (just apply the hack only in the Blender copy of Bullet)
2009-06-09 05:10:06 +00:00
erwin.coumans
d198d18721
added SVN $revision$ and $date$ for btScalar.h, to make it easier to see Bullet version
2009-05-27 01:38:43 +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
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
erwin.coumans
d9c4529a26
+ bugfix in btAlignedObjectArray, not calling destructors on resize to smaller array.
...
Thanks Benoit for pointing this out, and bugfix: http://code.google.com/p/bullet/issues/detail?id=218
+ Added point to point, hinge, slider and generic 6dof constraints to Maya Dynamica plugin
Thanks to Herbert Law for the constribution: http://code.google.com/p/bullet/issues/detail?id=221
2009-05-06 19:55:05 +00:00
erwin.coumans
fab02c0104
sinf -> btSin
...
cosf -> btCos
Thanks to Hawkins22 for the report,
http://code.google.com/p/bullet/issues/detail?id=200
2009-03-03 18:43:01 +00:00
erwin.coumans
8acadeb711
minor 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
2009-02-18 22:52:03 +00:00
erwin.coumans
7a2a98078a
Fixes 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
2009-02-10 23:50:21 +00:00
john.mccutchan
be3260280a
Fix for issue #192
...
Also: Avoid divide by zero before OpenGL window is up
2009-02-10 22:10:21 +00:00
erwin.coumans
0a94209df1
make btTransform::getIdentity a static const reference, returning a static, and add getIdentity to btMatrix3x3 and btQuaternion class
...
Thanks to ejtttje and martijn for the suggestions:
http://code.google.com/p/bullet/issues/detail?id=139
2009-02-06 19:30:50 +00:00
erwin.coumans
f7092c0767
version update to 2.74
2009-02-06 05:02:33 +00:00
erwin.coumans
2162f6663d
disable help text by default in AllBulletDemos (text slows down many graphics cards)
...
improve CollisionDemo.cpp, show multi-contact generation using perturbation
improve ColladaConverter: add hinge/point 2 point constraint conversion support, add btScaledTriangleMeshShape support
Fix Dynamica MayaPlygin: remove 'active' flag, it has to be replaced by mass=0 for active, mass<>0 for passive
Added missing projectfiles
Fixed single-shot contact generation. it is disabled by default to improve performance
Bugfixes for character controller, thanks to John McCutchan for reporting
Constraint solver: better default settings
btDefaultAllocator: aligned allocator uses non-aligned allocator (instead of directly malloc/free)
disable memalign by default, use Bullet's aligned allocator
2009-02-06 03:20:43 +00:00
rponom
d1b9dd4c83
Several improvements in constraint debug drawing
2009-02-06 00:04:52 +00:00
rponom
21afccdb29
Handy functions for debug visualization was added
2009-01-16 03:04:55 +00:00
john.mccutchan
a8ec916af0
Added Height Field Fluid Demo to Bullet. All code stored in the Demos/HeightFieldFluidDemo directory for now.
...
Please see HfFluidDemo.cpp for examples of how to use the height field fluid along with buoyant collision shapes.
The implementation is still lacking in my ways:
1) Need to complete more collision algorithms for buoyant collision shapes
2) Support compound buoyant shapes
3) The buoyancy model isn't that great
4) Fluid volume can be lost over time
2009-01-08 22:53:23 +00:00
erwin.coumans
65cdd7146f
Use placement new for copy constructor of arrays. Thanks to M. Reuvers for the patch.
...
http://bulletphysics.com/Bullet/phpBB3/viewforum.php?f=9
Generally, however, it is best to avoid copying entire arrays, but use a
reference.
typedef btAlignedObjectArray<btSomeClass> Array;
Array a;
Array b = a;//avoid this whenever possible
This is much better:
Array& b = a;//use a reference
const Array& b = a; //or const reference
2008-12-08 17:57:18 +00:00
erwin.coumans
12a9a6e412
reverted patch, it breaks all the demos.
2008-12-02 22:32:45 +00:00
erwin.coumans
23bb0d94e6
documentation/parameter name fix for btMatrix3x3::setEulerZYX. There is no change in behaviour, no compatibility issues.
...
Thanks Tully Foote for the patch.
http://code.google.com/p/bullet/issues/detail?id=157
2008-12-02 22:27:26 +00:00
erwin.coumans
76b3e44117
Enable contact constraint in the obsolete/experimental SpuParallellSolverTask. It will be replaced by a better parallel constraint solver.
2008-12-02 07:39:13 +00:00