Commit Graph
100 Commits
Author SHA1 Message Date
ejcoumans 11a0589732 removed the need for RTTI/runtime type checking/dynamic_cast in glui. It is unnecessary to overhaul the build systems just for this feature. Replaced by upcasting virtual methods
if ( !dynamic_cast<GLUI_Rollout*>(this) &&
becomes
if ( !this->dynamicCastGLUI_Rollout() &&
etc.
2007-10-21 03:02:11 +00:00
ejcoumans fb1a4bd37e for now use default GLUT, we check out freeglut later 2007-10-20 16:28:16 +00:00
ejcoumans 49d9b14b14 fixed optional lib dependency in Jam build system for Extras/boxbox and Extras/quickstep 2007-10-20 15:35:36 +00:00
ejcoumans e7caaa28d3 re-organized memory (stack and pool) allocators. this lets the user pass in their own memory allocators. 2007-10-20 02:23:39 +00:00
ejcoumans 1e4e52306f don't crash when running out of pool memory, just use btAlignedAlloc/btAlignedFree instead 2007-10-19 21:25:58 +00:00
ejcoumans c625e756fe replaced btSimdMinMax.h by btMinMax.h in a few remaining places 2007-10-19 20:48:06 +00:00
ejcoumans dbe502c5a8 prepare for Box2D style gui demo 2007-10-18 06:37:36 +00:00
ejcoumans 8f7b132d23 add glui library 2007-10-18 04:59:58 +00:00
ejcoumans 830c096e10 added a cellDmaLargeGetReadOnly/cellDmaGetReadOnly, which avoid memcpy on non-SPU platforms.
enabled it for triangle mesh aabb DMA transfers. Todo: check if it is worth also modifying other parts of the code to avoid the memcpy into the 256kb Task memory.
2007-10-16 23:58:26 +00:00
ejcoumans 239d88985f fix for heightfield, thanks SMJ/Spangle and Jay Lee for testing.
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1482
2007-10-16 21:57:05 +00:00
ejcoumans b5a498e8bf add get method for persistent manifold 2007-10-16 20:00:34 +00:00
ejcoumans 6303d98844 - use mfc directly, instead of cellDmaSmallGet (allow sizes under 32 bytes, instead of 16)
- align btBroadphaseProxy to 16 bytes
2007-10-16 00:52:23 +00:00
ejcoumans 1d8a2539dc updated fact that 2.63 contains working Libspe2 version 2007-10-15 06:25:08 +00:00
ejcoumans 057d09eef4 added build instructions for BulletSpuLibspe2 2007-10-15 06:16:13 +00:00
ejcoumans 6797ee41cb updated BulletMultiThreaded Libspe2 version, it now runs parallel collision detection properly on IBM Cell SDK 2.1, with Playstation 3 Linux on SPUs. 2007-10-15 05:45:12 +00:00
ejcoumans 23921729ea adding padding to broadphase proxy, to make it 16 bytes (helps some platforms to run) 2007-10-15 02:35:55 +00:00
ejcoumans e13cbe06ba removed unnecessary files from Libspe2 Makefile 2007-10-15 01:18:32 +00:00
ejcoumans 31f1ba8e47 Added support for IBM CELL SDK (Playstation 3 Linux, CellBlade) SPU Libspe2 compilation/linking. It runs but gives a bus-error, so some DMA alignment issue is still there.
This is interesting, because the same code runs fine on Playstation 3 with the Game SDK.
2007-10-15 01:07:49 +00:00
ejcoumans ffcdb0f93d BulletMultiThreaded needs to refreshContactPoint for contact manifold (this has been moved to the collision detector, instead of constraint solver)
BulletMultiThreaded support function for box shouldn't compensate for the collision margin anymore
2007-10-14 01:51:07 +00:00
ejcoumans 43b0ecd71a 2007-10-14 00:39:01 +00:00
ejcoumans 71abe4aeca reduced number of sphere in Basic demo, some system have slow rendering of spheres.
removed another warning.
2007-10-14 00:18:49 +00:00
ejcoumans 913b141c23 fix some warning, need virtual destructor 2007-10-14 00:12:22 +00:00
ejcoumans 1a926dac9c removed obsolete GIMPACT 0.2 docs 2007-10-14 00:05:04 +00:00
ejcoumans 715611060d integrated StressTest into BasicDemo. 2007-10-14 00:03:10 +00:00
ejcoumans ea3dfb4ca3 made 'calculateLocalInertia' const, thanks to cgripeos, see http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1514
- applied a large patch to remove warnings
Thanks to Enrico, see http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1568
- removed SSE includes, added #incude <string.h> for memset in Extras/quickstep, thanks Eternl Knight
- disabled 16-byte alignement on btQuadWord class, it causes problems under PS3 Linux. Need to check out why.
2007-10-13 23:41:37 +00:00
ejcoumans 0aff20fc94 fixed issue, double precision doesn't compile with SSE 2007-10-12 08:23:43 +00:00
ejcoumans 14171b1c05 autogenerated MSVC projectfiles with new LibBulletColladaConverter 2007-10-12 08:03:35 +00:00
ejcoumans b0627e30cf moved Bullet COLLADA Convert into Extras folder, instead of embedded in the ColladaDemo 2007-10-12 07:39:04 +00:00
ejcoumans ca24f9941e updated files for GIMPACT Cmake build 2007-10-12 07:12:55 +00:00
ejcoumans 9e530a005c make parallel solver compile on MSVC 6 2007-10-12 06:59:59 +00:00
ejcoumans 0af676a2c5 make MSVC 6 compile 2007-10-12 06:44:56 +00:00
ejcoumans 01823a3b1c updated changes in ChangeLog.txt 2007-10-12 06:39:10 +00:00
ejcoumans 7a1e53935f make MSVC 6 compile, remove 'int i' out of the for loops 2007-10-12 06:34:01 +00:00
ejcoumans b0744efbce fixed demo, accidently committed some testing configuration 2007-10-12 06:16:23 +00:00
ejcoumans 62103c94de fixed growing of hash table, to avoid hard limit on overlapping pairs 2007-10-12 05:53:27 +00:00
ejcoumans eff4fe8ec8 more work on hashed pairmanager. growing doesn't work yet, so need to allocate enough room for the overlapping pairs in advance.
boxbox reports contact point in B, rather then average point
box, cylinder use halfextents corrected for scaling and margin. made the margin in this halfextents explicit in the 'getHalfExtentsWithMargin' and 'getHalfExtentsWithoutMargin'
integrated changed for ODE quickstep solver
replaced inline with SIMD_FORCE_INLINE
some minor optimizations in the btSequentialImpulseConstraintSolver

added cone drawing (for X,Y,Z cones)
2007-10-12 02:52:28 +00:00
ejcoumans 1baa61bc8d function isn't inline 2007-10-11 03:39:49 +00:00
ejcoumans 52eb5fa1a4 don't use multisap yet in basic demo.
fix crash in multi sap (due to new pair manager)
2007-10-11 03:32:37 +00:00
ejcoumans 0405ce278a use size_t instead of int, for allocator
added hashtable based PairManager, thanks Pierre Terdiman and Erin Catto
improved friction in 'cachefriendly' solver
moved 'refreshcontactpoints' into collision detection, instead of solver
avoid linear search for contact manifolds, by storing an index
ignore margin for sphere shape (its entire radius is already margin)
avoid alignment checks in BVH serialization, they don't compile on 64-bit architectures
made 'bomb' box more heavy
2007-10-11 03:17:54 +00:00
ejcoumans bb89cbcf08 quickstep improvements, thanks to Remotion
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1557
2007-10-11 03:07:11 +00:00
ejcoumans 118ac651dd updated IBM Cell SDK makefiles 2007-10-03 00:42:18 +00:00
ejcoumans 23a197b3dc add alignment for broadphase proxy/handle. need to benchmark this, and check it doesn't degrade the performance on other platforms. Otherwise make it conditional only when USE_LIBSPE2 is defined 2007-10-03 00:41:55 +00:00
ejcoumans cc9a42d4e3 update build for IBM Cell SDK 2007-10-03 00:38:08 +00:00
ejcoumans 0de474907c updated/added Cell SPU demo for IBM Cell SDK 2007-10-03 00:37:16 +00:00
ejcoumans 23f07df420 added Makefile for the IBM Cell SDK 2.1 (need to review the build system for this architecture with PPU and SPU etc) 2007-10-01 04:26:42 +00:00
ejcoumans 1d43b5ebae changed default stack size to 2 MB. This is still overly conservative probably. Need some deeper investigation on default memory sizes... 2007-09-30 04:43:34 +00:00
ejcoumans 9a427a4ad9 make GIMPACT compile under MSVC 6 2007-09-30 03:40:44 +00:00
ejcoumans 150f7f704b pass vector by reference (alignment) 2007-09-30 03:33:12 +00:00
ejcoumans feeac1b6dc re-autogenerated msvc projectfiles 2007-09-30 03:18:28 +00:00
ejcoumans 8faebb4c1c moved btGenericPoolAllocator to GIMPACT, updated jamfiles/buildsystem 2007-09-30 03:16:47 +00:00
ejcoumans 0e2c4f7357 update msvc projectfiles 2007-09-30 02:43:53 +00:00
ejcoumans b277649403 upgraded build system 2007-09-30 02:29:26 +00:00
ejcoumans 86bdc2f6c2 reverted shapedrawer (incompatible drawing with ConcaveDemo and VehicleDemo), made GimpactTestDemo build under OS X 2007-09-30 02:29:09 +00:00
ejcoumans e1dad42e43 updated buildsystem 2007-09-30 02:28:26 +00:00
ejcoumans a98ccc839e enable double precision for triangle indices in BT_USE_DOUBLE_PRECISION mode (need to review this) 2007-09-30 02:28:04 +00:00
ejcoumans fcfdb96e54 demo for testing GIMPACT 0.3, thanks to Francisco Leon for the update. GIMPACT demo/build system will be fixed today. 2007-09-30 00:09:32 +00:00
ejcoumans 65b9fbe16e More patches from Francisco Leon, will be tested multi-platform etc. today 2007-09-30 00:08:07 +00:00
ejcoumans 78fe8b7249 initial upgrade to GIMPACT 0.3, thanks to Francisco Leon for the update. GIMPACT demo/build system will be fixed today. 2007-09-30 00:05:52 +00:00
ejcoumans c98a678c9a Makefile to create SPU elf and PPU lib for libspe2 parallel Cell SPE support. Contribution by IBM Germany 'Extreme Blue' project:
Thanks to Benjamin Hoeferlin, Minh Cuong Tran,Martina Huellmann,Frederick Roth.
2007-09-26 23:44:33 +00:00
ejcoumans 29dd9681f4 Added libspe2 parallel Cell SPE support contribution by IBM Germany 'Extreme Blue' project:
Thanks to Benjamin Hoeferlin, Minh Cuong Tran,Martina Huellmann,Frederick Roth.
2007-09-26 23:43:51 +00:00
ejcoumans 5ebab3e59b Added libspe2 parallel Cell SPE support contribution by IBM Germany 'Extreme Blue' project:
Thanks to Benjamin Hoeferlin, Minh Cuong Tran,Martina Huellmann,Frederick Roth.
2007-09-26 23:37:25 +00:00
ejcoumans dae8b658da Added libspe2 parallel Cell SPE support contribution by IBM Germany 'Extreme Blue' project:
Thanks to Benjamin Hoeferlin, Minh Cuong Tran,Martina Huellmann,Frederick Roth.
2007-09-26 23:36:31 +00:00
ejcoumans 0ff4444118 Added libspe2 parallel Cell SPE support contribution by IBM Germany 'Extreme Blue' project:
Thanks to Benjamin Hoeferlin, Minh Cuong Tran,Martina Huellmann,Frederick Roth.
2007-09-26 23:35:47 +00:00
ejcoumans b2b2ea71c6 Added libspe2 support contribution by IBM Germany 'Extreme Blue' project:
Thanks to Benjamin Hoeferlin, Minh Cuong Tran,Martina Huellmann,Frederick Roth.
2007-09-26 23:33:56 +00:00
ejcoumans 7dbc60d931 need 10 iterations for now, accidently committed with 4 (for some benchmarking) 2007-09-25 07:07:41 +00:00
ejcoumans 811c105c24 align btQuadWord on 16byte boundary
slightly improved friction model
2007-09-25 06:58:53 +00:00
ejcoumans a38de566c6 make sure aligned structures/classes use the btAlignedAlloc/btAlignedFree, by overriding the operator new/delete for that struct/class.
integrated some contributions from IBM Germany for libspe2
2007-09-25 06:41:57 +00:00
ejcoumans 12e2a5c57c BoxBoxCollisionAlgorithm needs to use dispatcher for memory allocation 2007-09-22 00:04:37 +00:00
ejcoumans 08d036afc7 multi-threading improvements: optionally use software caching (IBM/PS3), move some code from cpp to header to inline. 2007-09-20 22:42:56 +00:00
ejcoumans 40ac902c5f update version 2007-09-20 06:16:39 +00:00
ejcoumans 876ddcfd76 fixes for demo, jamfile 2007-09-20 06:16:14 +00:00
ejcoumans bbb88e67fb i duplicate (msvc6) 2007-09-20 06:00:08 +00:00
ejcoumans b031df20c9 autogenerated new projectfiles + gimpacttestdemo 2007-09-20 05:53:06 +00:00
ejcoumans 63cd9618be added Dev0's GIMPACT test/demo 2007-09-20 05:30:21 +00:00
ejcoumans f50f3ad722 fix for restitution
added preliminary continuous dynamics world (under construction, not ready yet)
fix crash on when restarting simplex demo using spacebar, Thanks Jorrit Tyberghein for reporting!
2007-09-20 05:24:03 +00:00
ejcoumans a0e92efebb more fixes in serialization/BVH/endianness 2007-09-19 23:04:37 +00:00
ejcoumans 287f11de01 more endianness swapping fun for BVH serialization. 2007-09-19 22:37:22 +00:00
ejcoumans 1d556b9a6c fixed serialization/alignment issue 2007-09-19 22:02:49 +00:00
ejcoumans 9fb6f0af09 added fix for heightfield (division by floating point scalar, instead of integer),
added default aligned alloc/free
2007-09-19 03:19:13 +00:00
ejcoumans 339917a9eb added Jamfile for GenericJointDemo 2007-09-19 02:03:56 +00:00
ejcoumans f7117466a2 add support for the <interpenetrate>, which disables collisions between two bodies linked by a constraint. 2007-09-18 04:51:26 +00:00
ejcoumans 323eed2885 fix in endianness of serialization of BVHs
Thanks Phil Knight!
2007-09-16 05:37:11 +00:00
ejcoumans 76aad96e42 Updated ChangeLog.txt:
2007 Sept 13
	- Improved btGenericD6Constraint. It can be used to create ragdolls (similar to the new btConeTwistConstraint). See GenericJointDemo
	- Added support for Bullet constraints in the optional Extras/quickstep ODE solver. See CcdPhysicsDemo, enable #COMPARE_WITH_QUICKSTEP and add libquickstep to the dependencies.
	For both patches/improvements thanks Francisco Leon/projectileman
2007-09-13 08:20:08 +00:00
ejcoumans 95da04bea9 use SIMD_HALF_PI instead of M_PI_2 2007-09-13 08:07:45 +00:00
ejcoumans 91b44448b0 updated version, added appGenericJointDemo 2007-09-13 07:58:07 +00:00
ejcoumans 42cda1692d update version, cmake, ColladaDemo 2007-09-13 07:54:57 +00:00
ejcoumans ab6accefda add getPivotInA/getPivotInB 2007-09-13 07:45:49 +00:00
ejcoumans 0bf8124668 added quickstep improvements, to allow for constraints (point to point etc).
Thanks Francisco Leon/projectileman
2007-09-13 07:44:05 +00:00
ejcoumans 7f5823ee16 updated ragdoll demo/Jamfile 2007-09-13 07:26:54 +00:00
ejcoumans 0300e8fa12 Applied patch/contribution to improve btGeneric6DofConstraint. See also GenericJointDemo/Ragdoll.cpp
Thanks Francisco Leon/projectileman.
2007-09-13 07:22:40 +00:00
ejcoumans 7a117ca7ac updated version/changelog 2007-09-11 21:19:06 +00:00
ejcoumans 2dd54dbfd0 only delete the BVH during re-scaling when we 'own' it.
Thanks Phil Knight for reporting!
2007-09-11 21:18:45 +00:00
ejcoumans a7841c7775 rewrote vector/quadword storage, it was incompatible with gcc compiler (causing some run-time problems) 2007-09-11 20:40:55 +00:00
ejcoumans cf3da19ee4 refreshed autogeneratec projectfiles 2007-09-11 07:51:02 +00:00
ejcoumans 072ee697fd added missing files for Cmake buildsystem 2007-09-11 07:49:08 +00:00
ejcoumans e81d084e3c updated changelog 2007-09-11 07:43:45 +00:00
ejcoumans edbc5a932c minor fixes for Mac OS X compilation 2007-09-11 07:40:18 +00:00
ejcoumans ca5b68e9b8 added generic joint demo, by Francisco Leon 2007-09-11 07:05:13 +00:00
ejcoumans bd2c83e535 updated version to 2.59, fixed 16 byte alignment for BVH serialization 2007-09-11 06:37:27 +00:00
ejcoumans a71e9c3e5a fixed issue with de-normalized quaternion, causing acosf to fail
See http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1440
Thanks Proctoid for reporting.
2007-09-11 02:49:39 +00:00