Commit Graph

382 Commits

Author SHA1 Message Date
erwin.coumans
fd5057ec5a fixed build/project files 2008-04-10 21:28:37 +00:00
erwin.coumans
1139c06a4d more soft body preparations, moved some parts from Demo/SoftBody to src/BulletDynamics/SoftBody
moved Extras/ConvexHull/btConvexHull.* to src/LinearMath/btConvexHull.*
removed btCollisionObject::m_internalOwner, replaced it by m_internalType. This should not affect external API (it was clearly marked as internal)
2008-04-10 20:00:41 +00:00
erwin.coumans
569a949ae3 fixes in btQuaternion::inverse, fixed in btConeTwistConstraint, RagdollDemo and BenchmarkDemo.
Some constraint limits for btConeTwistConstraint might need to flip sign now.
2008-04-07 21:58:36 +00:00
erwin.coumans
f9b22b36aa add aspect ratio in glFrustum/ray picking 2008-04-07 05:03:40 +00:00
erwin.coumans
ed3e909282 some more fixes for btSoftBody:
+ use btBroadphaseProxy::AllFilter to collide with static and dynamic rigidbodies in broadphase
+ enlarge aabb for softbody in broadphase, otherwise misses collisions (deformation is not updated in-time?)
2008-04-06 08:22:46 +00:00
erwin.coumans
a3c8bb172a removed BulltMultiThreaded demo from AllBulletDemos (there is still a standalone demo) 2008-04-06 07:15:31 +00:00
erwin.coumans
0708b07e5d updated projects for softbody work 2008-04-06 07:13:06 +00:00
erwin.coumans
b37a37a28e Added initial broadphase support for softbody versus softbody and softbody versus rigidbody (see btSoftSoftCollisionAlgorithm and btSoftRididCollisionAlgorithm)
Added 	SOFTBODY_SHAPE_PROXYTYPE.
Some refactoring for btSoftBody, needs more work.
2008-04-06 06:53:00 +00:00
rponom
99d248ddfd Added slider constraint demo SliderConstraiintDemo 2008-04-05 01:11:34 +00:00
erwin.coumans
883d3278ec + fixed btMinkowskiSumShape Sa+b(v) = Sa(v)-Sb(-v) instead of Sa(v)+Sb(v)
+ fix related btMinkowskiSumShape issue in btSubsimplexConvexCast and btGjkConvexCast
+ add hitpoint for btSubsimplexConvexCast
+ reduce maximum number of iterations in conservative advancement/CCD implementations
2008-04-03 18:35:28 +00:00
john.mccutchan
ba27e0522b Add posix thread backend to BulletMultiThreaded. Contributed by Enrico. 2008-04-01 18:32:41 +00:00
erwin.coumans
a151ec1c73 fixed a few issues, removed dependency from BulletDynamics to Extras/ConvexHull 2008-03-31 01:09:41 +00:00
erwin.coumans
c7b526abfa adjusted demos to include SoftDemo into AllBulletDemos 2008-03-31 00:03:35 +00:00
erwin.coumans
726b9c2ac2 improved multi-platform support for SoftBodyDemo 2008-03-30 23:22:30 +00:00
erwin.coumans
d4698cb3d5 Added SoftBody demo, contribution by Nathanael Presson. Will integrate into Bullet broadphase.
Added very basic drawTriangle for btIDebugDraw, useful for basic softbody visualization.
Added btGjkEpa2, contribution by Nathanael Presson. Improved version of EPA penetration depth computation, more suitable for multi-core/SPU (less memory usage). Note: btGjkEpa2 is not enabled by default currently.
2008-03-30 23:08:06 +00:00
erwin.coumans
cc264199af added Jamfile 2008-03-20 10:05:17 +00:00
erwin.coumans
6051a08f65 updated buildfiles for Benchmarks 2008-03-20 10:01:58 +00:00
erwin.coumans
bc5b56e99d Added performance benchmarks 2008-03-20 09:34:11 +00:00
erwin.coumans
fe5386a5c8 Made the move from sourceforge to googlecode (no svn sync any longer)
Fixed BulletColladaConverter load/save
Removed btTypedUserInfo
Added btHashMap
Fixed btCapsuleShape
2008-03-13 05:16:42 +00:00
ejcoumans
a0bc52f3f7 fix issue with msvc6 (class scope) 2008-02-29 22:19:44 +00:00
ejcoumans
b7e3df5bcf updated Jamfile, character demo, concave demo
reset for character demo (on space), and local refit of tree
2008-02-29 21:50:46 +00:00
ejcoumans
e521a8c8fb updated Changelog.txt and jamfile 2008-02-29 20:48:58 +00:00
johnmccutchan
e85ffb3323 Add Extras/ConvexHull to IBM CELL SDK 3.0 Makefile include path 2008-02-28 02:58:14 +00:00
ejcoumans
3d3d24afa9 refit tree needs an aabbMin/aabbMax
improved unquantization for quantized trees
reverted heightfield quantize
2008-02-28 02:55:25 +00:00
johnmccutchan
94586390b6 IBM CELL SDK 3.0 fixes 2008-02-28 00:07:00 +00:00
johnmccutchan
6a59432ee8 Initial version of character controller and demo 2008-02-27 19:49:25 +00:00
ejcoumans
fc333d2e18 updated Jam and CMake build files for new Extras/ConvexHull library 2008-02-13 08:15:58 +00:00
ejcoumans
eeb78b8d45 free memory for btShapeHulls, keep track of it in GL_ShapeDrawer.
move btShapeHull and btConvexHull into its own library in Extras/ConvexHull (it allocates memory using mem/delete and refactoring into using btAlignedAlloc/Free takes too much time)
fix heightfield / btOptimizedBvh for quantization, so that raycast can use quantized aabb (clamp up for maxima and down for minima)

work-in-progress (update projectfiles etc)
2008-02-13 07:14:19 +00:00
ejcoumans
1d576dd0af added COLLADA domAsset (authoring tool/upaxis), added dummy time that complies with COLLADA (needs fixing), fixed include path again (relative to current folder) 2008-02-12 23:44:21 +00:00
ejcoumans
6b3587a505 moved implementation from ColladaDemo into ColladaConverter, so that it can be used without change with any btDynamicsWorld. 2008-02-08 23:46:37 +00:00
ejcoumans
9eb0340dab fixed minor graphics issues, related to recent camera initialization changes 2008-02-07 08:49:29 +00:00
ejcoumans
a4e63aed00 - DemoApplication, debug text rendering was broken, glLoadIdentity() missing
- copy user data over to child shape
- added applied impulse to btManifoldPoint
- add ContactProcessedCallback (needs test/demo)
- didn't copy over m_additionalDampingFactor into btRigidBody.
2008-02-07 08:00:16 +00:00
johnmccutchan
ee5ff5feb6 Added ConvexDecompositionDemo to CMakeLists.txt 2008-02-05 18:57:49 +00:00
ejcoumans
37837f204a missing return in main.cpp
remove unwanted libxml files (testfiles containing 'main')
2008-02-05 06:14:51 +00:00
ejcoumans
39ecc2ab7e error C2374: 'i' : redefinition; multiple initialization
make MSVC 6.0 build again.
This code breaks:
for (int i=0;....
for (int i=0;....
use
int i;
for (i=0;...
for (i=0;...
instead ;-)
2008-02-05 05:55:25 +00:00
ejcoumans
dad6667756 Accidently moved gluLookAt in the GL_PROJECTION matrix, instead of GL_MODELVIEW matrix.
Thanks Wol for reporting the issue.
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1878
2008-02-03 22:19:42 +00:00
johnmccutchan
3ed22c25e6 Updated to work with new ColladaConverter 2008-01-30 01:53:26 +00:00
ejcoumans
5c40e615bd make source compile under MinGW32
todo: link against OpenGL GLU/GLUT.
2008-01-30 01:09:01 +00:00
ejcoumans
30e1c56520 fix doubleprecision build 2008-01-24 02:40:15 +00:00
ejcoumans
c86fea11dc use btHullShape/btConvexHull to reduce vertices in a convex hull. Perhaps we always use this, to avoid convex objects with too many vertices...? 2008-01-24 01:35:34 +00:00
ejcoumans
19753da3b4 prettified convex composition demo (added concave version, next to convex hull and convex decomposition) 2008-01-23 23:48:30 +00:00
ejcoumans
95fa8f9185 use new convex hull drawing code for btConvexTriangleMeshShape 2008-01-23 23:36:45 +00:00
ejcoumans
af85183a48 fixed to get MacOSX to compile, added new files to CMakeLists.txt 2008-01-23 23:13:31 +00:00
ejcoumans
127d911c9d Added Stan Melax Convex Hull utility under Zlib license, Thanks Stan!
Use this Convex Hull to create a renderable shape, using btHullShape, Thanks to John McCutchan
2008-01-23 22:24:45 +00:00
johnmccutchan
f593b6001f Add support for batch raycast to ConcaveRaycastDemo. Disabled by default. 2008-01-14 23:50:10 +00:00
johnmccutchan
15cdd9de8e Rename btCollisionWorld::convexTest to btCollisionWorld::convexSweepTest. The new test sweeps the convex shape against all objects in the world taking into account the orientation specified in the from and to transformations. 2008-01-11 20:18:29 +00:00
ejcoumans
d051e2eacb First commit of 2008, Happy New Year!
Add option to compile without btClock and without profiling: comment out USE_BT_CLOCK, and #define BT_NO_PROFILE
Fixed typo/case in #include "LinearMath/btQuickProf.h", in SpuParallelSolver.cpp
Removed unnecessary files from libxml CMakeLists.txt
2008-01-03 04:42:00 +00:00
ejcoumans
17a214a2b3 - Added btRigidBodyConstructionInfo, to make it easier to set individual setting (and leave other untouched) during rigid body construction.
This was harder using default arguments. Thanks Vangelis Kokkevis for pointing this out.
- Fixed memoryleak in the ConstraintDemo and Raytracer demo.
- fixed issue with clearing forces/gravity at the end of the stepSimulation, instead of during internalSingleStepSimulation.
Thanks chunky for pointing this out: http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1780
- Disabled additional damping in rigid body by default, but enable it in most demos. Set btRigidBodyConstructionInfo m_additionalDamping to true to enable this.
- Removed obsolete QUICKPROF BEGIN/END_PROFILE, and enabled BT_PROFILE. Profiling is enabled by default (see Bullet/Demos/OpenGL/DemoApplication.cpp how to use this).
User can switch off profiling by enabling define BT_NO_PROFILE in Bullet/src/btQuickprof.h.
2007-12-17 04:26:36 +00:00
ejcoumans
4a3c2506d4 fixed cmake/jam for HelloWorld sample 2007-12-15 02:42:33 +00:00
ejcoumans
a77fca6394 add printing of worldpos in HelloWorld.cpp 2007-12-15 02:28:39 +00:00