ejcoumans
ea4dfc15d5
updated multi threading shared code on multiple platforms.
2007-06-15 02:06:56 +00:00
ejcoumans
718b73371f
removed 'processAllTrianglesBruteForce'
...
autogenerated new visual studio projectfiles
2007-06-14 13:06:05 +00:00
ejcoumans
a57d5e1106
update visual studio project generation for double precision
2007-06-14 12:55:27 +00:00
ejcoumans
fc6cf5dbef
DMA / memcpy the actual size, rather then over-estimated (can cause crashes)
...
added alternative to memcpy, for debugging
2007-06-14 00:21:15 +00:00
ejcoumans
f4d31a2dd8
unknown issue with dma size, need to investigate deeper (had to increase target buffer size to avoid crashes)
2007-06-13 23:18:04 +00:00
ejcoumans
0fb0b6056c
bug in dma size calculation
2007-06-13 23:05:37 +00:00
ejcoumans
effb5a8b62
added brute-force triangle iteration method, to allow graphics to skip aabb traversal (useful for debugging)
2007-06-13 22:35:14 +00:00
ejcoumans
05cbd96972
updated multithreaded version for concave trimeshes
2007-06-13 22:25:37 +00:00
ejcoumans
68b4f60033
fixed to potential issues, reported by marshall. Thanks!
2007-06-13 20:05:02 +00:00
ejcoumans
4f9d719493
add snippets for convex/concave multithreaded
2007-06-13 06:44:47 +00:00
ejcoumans
2b39be94a3
enable convex polyhedra (btConvexHullShape) for multi-threaded version
2007-06-13 06:01:56 +00:00
ejcoumans
50f957eff1
removed bookmark
2007-06-13 05:31:12 +00:00
ejcoumans
06e71f8fbf
put proper ZLib license on top of the files
2007-06-13 05:21:34 +00:00
ejcoumans
a608d1ad47
Added sample code to enable parallel (multi threaded) dispatcher (disabled by default, see #define USE_PARALLEL_DISPATCHER)
2007-06-13 05:12:01 +00:00
ejcoumans
d2aa366226
added Bullet multi threaded projectfiles
2007-06-13 05:04:13 +00:00
ejcoumans
ee8322ae6b
2007-06-13 05:00:42 +00:00
ejcoumans
705e6df404
updated version
2007-06-13 04:41:24 +00:00
ejcoumans
32d551944b
added files to Bullet multi-threaded
2007-06-13 03:58:37 +00:00
ejcoumans
53836286b7
added jamfile for multi-threaded project
2007-06-13 01:27:44 +00:00
ejcoumans
a424207b73
removed obsolete files
2007-06-13 01:05:45 +00:00
ejcoumans
6f26aa1591
Added multi-threaded collision detection. Original code is written for Cell SPU, but wrappers are provided to run on multi-core using Win32 Threads.
...
SpuLibspe2Support is on the todo list, so it can run on Cell Blade & PS3 Linux.
2007-06-13 01:04:43 +00:00
ejcoumans
a0c6adf5d6
removed XNA physics sample code
2007-06-12 01:40:33 +00:00
ejcoumans
b098652911
offset the raytrace texture to make it visible on some systems
2007-06-01 20:28:23 +00:00
ejcoumans
b958c1fbcb
2007-06-01 02:09:39 +00:00
ejcoumans
ea21903baa
updated version to Bullet 2.52
2007-06-01 02:08:43 +00:00
ejcoumans
838d2bae1e
- sign-bit went wrong in case of 32-bit broadphase, causing quantization problems.
...
Thanks DevO for reporting.
2007-06-01 01:24:47 +00:00
ejcoumans
764087fc4f
sign-bit went wrong in case of 32-bit broadphase. Thanks DevO for reporting.
2007-06-01 01:21:44 +00:00
ejcoumans
f1e929f8a4
fixed 'getEuler' method
2007-05-30 03:07:39 +00:00
ejcoumans
eca55afe4d
some more changes related to PS3 SPU optimizations (16-byte alignment, allowing non-virtual access to data)
2007-05-25 23:27:49 +00:00
ejcoumans
8b453dfd9c
Added fix to changelog, with credits to Phil Knight for reporting and help to fix it.
2007-05-23 20:29:04 +00:00
ejcoumans
c1250cd26a
Planar triangle meshes with zero extends (in any direction) could cause quantization failures (division by zero).
...
Added a positive value to quantization AABB (doesn't affect performance).
2007-05-23 20:09:46 +00:00
ejcoumans
cf2337ed7b
- Fixed a bug in btAxisSweep3 (sweep and prune) related to object removal. Only showed up when at least one btStaticPlaneShape was inserted.
...
Thanks tbp for more details on reproducing case.
- Fixed issue with full 32bit integers in btAxisSweep3 (define BP_USE_FIXEDPOINT_INT_32), it used only 65536 for quantization, it should use full integer space (0xffffffff)
- Added 'getForwardVector' and getCurrentSpeedKmHour utility functions to btRaycastVehicle
- Fixed local scaling issues (btConvexTriangleMeshShape, btBvhTriangleMeshShape, removed scaling from btMatrix3x3). Thanks Volker for reporting!
- Added second filename search, so that starting BspDemo and ConvexDecompositionDemo from within Visual Studio (without setting the starting path) still works
2007-05-20 16:21:14 +00:00
ejcoumans
3ad4316622
the relative path #include gives troubles in some cases.
...
I need to revert all those back (after Steve Bakers changes a while back).
All includes should really be relative to the 'src' folder, or wherever the developer copies all the headerfiles.
2007-05-09 19:26:31 +00:00
ejcoumans
ceee6d7e14
renamed ${OPENGL_glU_LIBRARY} into ${OPENGL_glu_LIBRARY}
...
This allows MinGW32/MSYS makefiles (using cmake -G "MINGW Makefiles") to build (used to have a link error against gluLookAt etc)
2007-04-29 18:26:32 +00:00
ejcoumans
e1ba8839dc
renamed ${OPENGL_glU_LIBRARY} into ${OPENGL_glu_LIBRARY}
...
This allows MinGW32/MSYS makefiles (using cmake -G "MINGW Makefiles") to build (used to have a link error against gluLookAt etc)
2007-04-29 18:22:44 +00:00
ejcoumans
6c8954d057
updated minor version number
2007-04-23 10:57:57 +00:00
ejcoumans
82c8687881
- initialize m_unusedW to avoid some warnings.
...
- added angularFactor to 'cachefriendly' constraint solver
2007-04-23 10:52:38 +00:00
ejcoumans
be73a0e5d6
update version, ChangeLog.txt
2007-04-22 18:23:58 +00:00
ejcoumans
2db8bfa3d6
Fix (needs more testing) in btRigidBody::setCenterOfMassTransform, assign m_interpolationWorldTransform = xform; instead of m_worldTransform;
...
Thanks Jay for reporting
Added braking capability to btRaycastVehicle, see Bullet/Demos/VehicleDemo/VehicleDemo.cpp
Added glutKeyboardUpFunc, for vehicle demo (keep accelerating/breaking, until key released/UP). Hope this is compatible with most GLUT implementations.
2007-04-22 15:23:20 +00:00
ejcoumans
bc3f9535ad
cleaned up, removed warning under MSVC2005 (Level 4)
...
Mostly related to alignment and unused variables
2007-04-13 01:37:21 +00:00
ejcoumans
2cf026aae3
allow incremental refitting of the quantized aabb tree
2007-04-10 21:40:43 +00:00
ejcoumans
853bafb7ae
Get the open source Bullet library more in sync with Playstation SPU version
2007-04-10 01:02:58 +00:00
ejcoumans
9546633ade
Added 'cache friendly' tree traversal format, and traversal. Array of subtrees with specified maximum size. This is useful to fit tree traversals on SPU.
2007-03-27 21:02:45 +00:00
ejcoumans
7adc0742e3
Added demo code that show recursive traversal on tree data that doesn't have explicit left/right child pointers.
...
Can also be used as starting point for tree versus tree.
2007-03-26 19:19:25 +00:00
ejcoumans
22fa7abe39
updated version to 2.49, updated ChangeLog.txt
2007-03-21 19:23:08 +00:00
ejcoumans
c791a3192c
In the copy constructor initializer list of LocalRayResult in
...
btCollisionWorld.h line 139 (version 2.48) it reads:
m_localShapeInfo(m_localShapeInfo),
which should be:
m_localShapeInfo(localShapeInfo),
Thanks frinkiac8
2007-03-21 19:04:44 +00:00
ejcoumans
cef39974e1
fixed some enum issue (comma at last entry)
2007-03-21 18:51:40 +00:00
ejcoumans
3a09be8ea7
fix: timestep is not fixed by default
2007-03-21 16:16:13 +00:00
ejcoumans
4c637bf19e
added btSolverConstraint.h with proper case (for case sensitive systems)
2007-03-21 15:29:50 +00:00
ejcoumans
6590f4faa4
2007-03-21 15:28:57 +00:00
ejcoumans
1c876e0d11
2007-03-21 02:46:59 +00:00
ejcoumans
4685f6acc8
Added a refit to the quantized stackless tree, with updated ConcaveDemo.
2007-03-21 02:45:43 +00:00
ejcoumans
b39ee3f723
bump up the version to 2.48
2007-03-21 00:37:02 +00:00
ejcoumans
c1a54d9edc
Attempts to improve performance. Not much gain yet, but good to experiment what has effect and what hasn't.
...
Added 'DO_BENCHMARK_PYRAMID' to CcdPhysicsDemo.
2007-03-20 20:12:23 +00:00
ejcoumans
f8fe7e8f2d
renamed solverbody, more work will be committed soon, please stay tuned.
2007-03-20 06:15:12 +00:00
ejcoumans
3835e5296b
2007-03-20 06:14:43 +00:00
ejcoumans
f199cd1347
make visual studio 6 compile again
2007-03-20 05:06:01 +00:00
ejcoumans
b8ce13adb1
bugfix, also convert rigidbody into solverbodies for constraints (without contact manifolds), and do additional check for validity
2007-03-17 08:29:05 +00:00
ejcoumans
5e5046404f
update version
2007-03-17 08:01:45 +00:00
ejcoumans
2b87104184
more solver optimizations, can be disabled using solver->setSolverMode(SOLVER_RANDMIZE_ORDER)
2007-03-17 07:59:27 +00:00
ejcoumans
151cd4b9da
prepare and added constraint solver optimizations, not activated yet.
2007-03-17 00:09:12 +00:00
ejcoumans
ea97ed3e30
fix in template usage, error only reported on Sun Solaris ?!?
...
Thanks Noerghel for reporting!
2007-03-13 15:21:01 +00:00
ejcoumans
760d218925
2 improvements on request
2007-03-12 23:49:34 +00:00
ejcoumans
897d1491fa
enable aabb compression in ColladaDemo btTriangleMesh.
2007-03-12 23:20:41 +00:00
ejcoumans
0a5b19864e
allow to use compression on btTriangleMesh
2007-03-12 23:19:02 +00:00
ejcoumans
b2351c84f3
optional define for 32bit handles in Broadphase, which allows number of objects to exceed 32767
2007-03-12 20:14:29 +00:00
ejcoumans
c856a61dce
updated version/changelog 2.45
2007-03-08 16:04:17 +00:00
ejcoumans
02e5f2dd8e
void btDiscreteDynamicsWorld::solveConstraints(btContactSolverInfo& solverInfo)
...
sortedConstraints.heapSort(btAlignedObjectArray<btTypedConstraint*>::less());
should be
sortedConstraints.heapSort(btSortConstraintOnIslandPredicate);
Thanks Clemens Unterkofler for pointing this out!
2007-03-08 01:59:04 +00:00
ejcoumans
1655fbc2c0
fixed some windows related defines, and made btClock optional (behind #define)
2007-03-07 00:33:11 +00:00
ejcoumans
57883344df
removed testing assert(0)
2007-03-07 00:22:40 +00:00
ejcoumans
adfdea5ca6
replaced #include "new.h" to #include <new>
2007-03-06 23:40:06 +00:00
ejcoumans
8fd8a85eee
fixed memory leak, thanks AshMcConnell for reporting!
...
http://continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=1009
2007-03-06 16:44:22 +00:00
ejcoumans
79d53cd346
updated version
2007-03-06 10:26:11 +00:00
ejcoumans
d70e60cc9a
updated changelog
2007-03-06 10:23:44 +00:00
ejcoumans
054d672592
- removed STL from the Bullet library: replace std::vector by btAlignedObjectArray. Also removed the std::set for overlapping pair set, and turned it into an overlapping pair array. The SAP only adds objects, never removed. Removal is postponed for during traversal of overlapping pairs (duplicates and non-overlapping pairs are removed during that traversal).
...
- added heap sort and binary search/linear search to btAlignedObjectArray
- fixed wrong cast, thanks Hamstray, http://www.continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=1015
2007-03-06 09:59:17 +00:00
ejcoumans
f8b714cd42
disable scaling in collada converter, it doesn't give good results in most files.
2007-02-28 00:48:10 +00:00
ejcoumans
1db0721318
removed unit meter in jenga.dae
2007-02-26 05:18:52 +00:00
ejcoumans
b73900bc60
Improved performance of convex collision shapes, cache local AABB instead of recomputation. This fixes issue with very slow performance in larger .bsp levels.
...
Moved some asserts into 'btFullAssert', which is disabled by default (see btScalar.h to enable them). This is to speed-up debugging.
2007-02-26 04:59:05 +00:00
ejcoumans
559c4e85d8
updated ChangeLog.txt
2007-02-25 06:14:28 +00:00
ejcoumans
e610598d33
- Added compressed/quantized AABB tree, 16 bytes per node, while supporting 32-bit (triangle) indices. Should be faster and smaller then original version (quantized aabb check is done in integer space)
...
Original aabb nodes are 44 bytes (with full floating point precision and additional part index)
- added meter-unit scaling support in ColladaConverter.cpp
2007-02-25 06:11:23 +00:00
ejcoumans
7efef8e394
bumped up version, and ChangeLog.txt
2007-02-21 21:24:25 +00:00
ejcoumans
ce100b31a4
updated library name from bullet to bulletcollision
2007-02-21 21:22:18 +00:00
ejcoumans
beb0ace1fc
Fix interface for comparison/integration files in alternative EPA solvers.
2007-02-21 21:00:16 +00:00
ejcoumans
bda1507ea9
added compound shape for raytrace testing
2007-02-14 05:25:11 +00:00
ejcoumans
34c979bd02
double precision mode uses double precision epsilons/maximum (DBL_EPSILON instead of FLT_EPSILON)
2007-02-14 04:12:32 +00:00
ejcoumans
42278e58dd
fixes to add improved double-precision for raycasts
2007-02-14 04:10:55 +00:00
ejcoumans
9b94416d61
allow single raycast to be performed on objects
2007-02-14 04:09:17 +00:00
ejcoumans
4d6ec84630
always update position, even for sleeping objects (is workaround, because sleeping objects never get their motionstate update), needs fixing for optimization
2007-02-14 04:02:14 +00:00
ejcoumans
a5bf6a1254
use solvermode 'randomized' and not warmstarting
2007-02-13 16:47:04 +00:00
ejcoumans
bf68a742cc
by default, disable warmstarting, enable random ordering,
...
user can override this using solver->setSolverMode(...)
2007-02-13 16:14:55 +00:00
ejcoumans
c4a83539ca
terminate the cleaned filename with zero character, thanks to Jay for reporting this fix!
2007-02-13 16:12:20 +00:00
ejcoumans
7453af5dde
more fixes in Collada Physics conversion, related to convex meshes and uninitialized mass data.
2007-02-01 02:51:59 +00:00
ejcoumans
8a98639d78
fixed a crashing bug (NULL strings) and change the viewing angle of default camera in the demo
2007-01-31 20:57:14 +00:00
ejcoumans
e8ca371a71
Workaround for bad PhysX Collada .dae export from Maya:
...
It seems whenever the <rigid_body> has <extra> <technique profile="PhysX"><kinematic>true</kinematic> this <rigid_body> should have <dynamic> false</dynamic>.
2007-01-31 03:22:52 +00:00
ejcoumans
581468ceec
Added btCapsuleShape. This could already be simulated by simply adding 2 spheres to the btMultiSphereShape, but this was bad documented/unknown.
...
For tapered capsules, you can still use btMultiSphereShape, just pass 2 spheres with different radius.
2007-01-30 00:09:08 +00:00
ejcoumans
7b5301bb43
accept constraint with single rigidbody
2007-01-19 03:48:54 +00:00
ejcoumans
959e4498f4
removed obsolete libs in .pc.in file
...
-lbulletccdphysics -lbulletphysicsinterfacecommon
2007-01-17 18:58:48 +00:00
ejcoumans
c268b290dd
update changelog for aabb tree building
2007-01-04 22:35:22 +00:00
ejcoumans
ca973e9322
Fixed AABB tree building, which failed for certain large triangle meshes due to stack overflow.
...
Now it has a safer check for unbalanced tree, and forces them to be balanced.
2007-01-04 22:31:31 +00:00
ejcoumans
99337454e3
Added Steve Baker and Jay Lee as contributors. Added double precision to autogenerated msvc projectfiles as build-configuration.
2006-12-27 05:35:20 +00:00