eca55afe4d
some more changes related to PS3 SPU optimizations (16-byte alignment, allowing non-virtual access to data)
ejcoumans
2007-05-25 23:27:49 +00:00
8b453dfd9c
Added fix to changelog, with credits to Phil Knight for reporting and help to fix it.
ejcoumans
2007-05-23 20:29:04 +00:00
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).
ejcoumans
2007-05-23 20:09:46 +00:00
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
ejcoumans
2007-05-20 16:21:14 +00:00
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.
ejcoumans
2007-05-09 19:26:31 +00:00
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)
ejcoumans
2007-04-29 18:26:32 +00:00
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)
ejcoumans
2007-04-29 18:22:44 +00:00
6c8954d057
updated minor version number
ejcoumans
2007-04-23 10:57:57 +00:00
82c8687881
- initialize m_unusedW to avoid some warnings. - added angularFactor to 'cachefriendly' constraint solver
ejcoumans
2007-04-23 10:52:38 +00:00
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.
ejcoumans
2007-04-22 15:23:20 +00:00
bc3f9535ad
cleaned up, removed warning under MSVC2005 (Level 4) Mostly related to alignment and unused variables
ejcoumans
2007-04-13 01:37:21 +00:00
2cf026aae3
allow incremental refitting of the quantized aabb tree
ejcoumans
2007-04-10 21:40:43 +00:00
853bafb7ae
Get the open source Bullet library more in sync with Playstation SPU version
ejcoumans
2007-04-10 01:02:58 +00:00
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.
ejcoumans
2007-03-27 21:02:45 +00:00
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.
ejcoumans
2007-03-26 19:19:25 +00:00
22fa7abe39
updated version to 2.49, updated ChangeLog.txt
ejcoumans
2007-03-21 19:23:08 +00:00
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),
ejcoumans
2007-03-21 19:04:44 +00:00
cef39974e1
fixed some enum issue (comma at last entry)
ejcoumans
2007-03-21 18:51:40 +00:00
3a09be8ea7
fix: timestep is not fixed by default
ejcoumans
2007-03-21 16:16:13 +00:00
4c637bf19e
added btSolverConstraint.h with proper case (for case sensitive systems)
ejcoumans
2007-03-21 15:29:50 +00:00
4685f6acc8
Added a refit to the quantized stackless tree, with updated ConcaveDemo.
ejcoumans
2007-03-21 02:45:43 +00:00
b39ee3f723
bump up the version to 2.48
ejcoumans
2007-03-21 00:37:02 +00:00
c1a54d9edc
Attempts to improve performance. Not much gain yet, but good to experiment what has effect and what hasn't.
ejcoumans
2007-03-20 20:12:23 +00:00
f8fe7e8f2d
renamed solverbody, more work will be committed soon, please stay tuned.
ejcoumans
2007-03-20 06:15:12 +00:00
f199cd1347
make visual studio 6 compile again
ejcoumans
2007-03-20 05:06:01 +00:00
c82f36fa34
Clean up some more compilation warnings.
sjbaker
2007-03-19 04:31:26 +00:00
6b102c65b3
Cleanup some trivial compilation warnings.
sjbaker
2007-03-19 04:27:59 +00:00
b8ce13adb1
bugfix, also convert rigidbody into solverbodies for constraints (without contact manifolds), and do additional check for validity
ejcoumans
2007-03-17 08:29:05 +00:00
5e5046404f
update version
ejcoumans
2007-03-17 08:01:45 +00:00
2b87104184
more solver optimizations, can be disabled using solver->setSolverMode(SOLVER_RANDMIZE_ORDER)
ejcoumans
2007-03-17 07:59:27 +00:00
151cd4b9da
prepare and added constraint solver optimizations, not activated yet.
ejcoumans
2007-03-17 00:09:12 +00:00
ea97ed3e30
fix in template usage, error only reported on Sun Solaris ?!? Thanks Noerghel for reporting!
ejcoumans
2007-03-13 15:21:01 +00:00
760d218925
2 improvements on request
ejcoumans
2007-03-12 23:49:34 +00:00
3c1ba0023b
NULL is not yet defined because this header is sometimes included before stdio.h or stddef.h - rather than change a bazillion places where the header is included, I'll just use 0 instead.
sjbaker
2007-03-06 18:14:37 +00:00
a4a3474fb5
The macro 'btFullAssert' is used like this:
sjbaker
2007-03-06 18:06:28 +00:00
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
ejcoumans
2007-03-06 09:59:17 +00:00
f8b714cd42
disable scaling in collada converter, it doesn't give good results in most files.
ejcoumans
2007-02-28 00:48:10 +00:00
1db0721318
removed unit meter in jenga.dae
ejcoumans
2007-02-26 05:18:52 +00:00
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.
ejcoumans
2007-02-26 04:59:05 +00:00
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
ejcoumans
2007-02-25 06:11:23 +00:00
7efef8e394
bumped up version, and ChangeLog.txt
ejcoumans
2007-02-21 21:24:25 +00:00
ce100b31a4
updated library name from bullet to bulletcollision
ejcoumans
2007-02-21 21:22:18 +00:00
beb0ace1fc
Fix interface for comparison/integration files in alternative EPA solvers.
ejcoumans
2007-02-21 21:00:16 +00:00
42278e58dd
fixes to add improved double-precision for raycasts
ejcoumans
2007-02-14 04:10:55 +00:00
9b94416d61
allow single raycast to be performed on objects
ejcoumans
2007-02-14 04:09:17 +00:00
4d6ec84630
always update position, even for sleeping objects (is workaround, because sleeping objects never get their motionstate update), needs fixing for optimization
ejcoumans
2007-02-14 04:02:14 +00:00
a5bf6a1254
use solvermode 'randomized' and not warmstarting
ejcoumans
2007-02-13 16:47:04 +00:00
bf68a742cc
by default, disable warmstarting, enable random ordering, user can override this using solver->setSolverMode(...)
ejcoumans
2007-02-13 16:14:55 +00:00
c4a83539ca
terminate the cleaned filename with zero character, thanks to Jay for reporting this fix!
ejcoumans
2007-02-13 16:12:20 +00:00
7453af5dde
more fixes in Collada Physics conversion, related to convex meshes and uninitialized mass data.
ejcoumans
2007-02-01 02:51:59 +00:00
8a98639d78
fixed a crashing bug (NULL strings) and change the viewing angle of default camera in the demo
ejcoumans
2007-01-31 20:57:14 +00:00
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>.
ejcoumans
2007-01-31 03:22:52 +00:00
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.
ejcoumans
2007-01-30 00:09:08 +00:00
7b5301bb43
accept constraint with single rigidbody
ejcoumans
2007-01-19 03:48:54 +00:00
b924cb57d3
Fixed wheels so they rotate in the correct direction.
sjbaker
2007-01-07 05:41:50 +00:00
c268b290dd
update changelog for aabb tree building
ejcoumans
2007-01-04 22:35:22 +00:00
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.
ejcoumans
2007-01-04 22:31:31 +00:00
99337454e3
Added Steve Baker and Jay Lee as contributors. Added double precision to autogenerated msvc projectfiles as build-configuration.
ejcoumans
2006-12-27 05:35:20 +00:00
af5cfb838a
updated Jamfiles so only the appropriate Bullet libraries gets installed, not the helper/internal ones.
ejcoumans
2006-12-27 01:34:54 +00:00
5929b2b79d
fixed jam 'install' to properly copy right headerfiles in the destination directory
ejcoumans
2006-12-26 17:16:40 +00:00
e9b21e21a6
Pathnames between #include files that are intended to be used within application code should not depend on the paths to the subdirectories being known to the compiler because this will not always be the case when an end-user includes your headers.
sjbaker
2006-12-26 15:33:28 +00:00
208bbe7594
Added a set of empty, classless 'extern "C"' probe functions to allow '.so' loaders and application domain 'autotools' to easily and unambiguously check for the correct installation of the various bullet libraries.
sjbaker
2006-12-26 00:39:32 +00:00
24691e8eb8
reverted jam buildsystem, until changed for make is working, minor fix in island processing
ejcoumans
2006-12-25 20:39:39 +00:00
8d92ca34c2
Windows programmers: Beware! The case of the filename is significant in #include directives - even though the lame-ass M$ compiler doesn't check it.
sjbaker
2006-12-23 16:20:00 +00:00
a354cb67c4
minor tweak in msvcgen
ejcoumans
2006-12-23 07:19:40 +00:00
bba68d6072
work on buildsystem to allow double precision visual build setting in autogenerated visual studion projectfiles
ejcoumans
2006-12-23 06:53:51 +00:00
fbcbc7021c
fix Jam build, so it builds with GLUT demos (hopefully not breaking Make)
ejcoumans
2006-12-23 03:09:33 +00:00
db573e4a59
Clean up about a bazillion compilation warnings.
sjbaker
2006-12-22 02:33:42 +00:00
4685bb8c4b
added DoublePrecisionDemo, still needs review and autogenerated projectfiles/cmake/Jamefiles
ejcoumans
2006-12-21 19:04:32 +00:00
48c6917387
don't assert on bad input, just export the warning (todo add proper user-feedback for asserts/warning!)
ejcoumans
2006-12-20 21:23:26 +00:00
0710ca2e36
better safe then sorry: set m_data to zeto after deallocation.
ejcoumans
2006-12-19 23:54:02 +00:00
818b672f60
updated autotools support for make, while keeping jam support. other options are cmake and msvc builds.
ejcoumans
2006-12-17 05:35:41 +00:00
df9230327c
Contribution to add optional double precision floating point support. Define BT_USE_DOUBLE_PRECISION for all involved libraries/apps.
ejcoumans
2006-12-16 05:51:30 +00:00
39f223fd65
more makefile stuff
ejcoumans
2006-12-15 19:27:13 +00:00