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
7ca3020133
removed some dependencies
2008-02-08 23:22:31 +00:00
ejcoumans
618263163c
add support for X,Z axis aligned capsules
2008-02-08 01:11:05 +00:00
ejcoumans
71b58309cf
add support for X,Z axis aligned capsules
2008-02-08 01:10:34 +00:00
ejcoumans
9eb0340dab
fixed minor graphics issues, related to recent camera initialization changes
2008-02-07 08:49:29 +00:00
ejcoumans
ff3b7f0c0f
set applied impulse to zero, when replacing an existing contact point
2008-02-07 08:18:26 +00:00
ejcoumans
661176bfed
coding convention in Bullet is to keep return type on same line as method:
...
btClassName
{
void myTest();
};
void myTest()
{
}
int getNumObjects()
{
}
2008-02-07 08:12:08 +00:00
ejcoumans
781440edc8
warning C4715: 'ColladaConverter::findGeometry' : not all control paths return a value
...
temp fix for snprintf, _snprintf under WIN32
2008-02-07 08:05:58 +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
ejcoumans
f22d338959
added btCapsuleShapeX and btCapsuleShapeZ, for X and Z upaxis capsules. The default btCapsuleShape stays Y-axis, for backwards compatibility.
2008-02-07 00:34:06 +00:00
ejcoumans
d88ba6063e
replaced malloc/free by btAlignedAlloc and btAlignedFree
2008-02-06 00:10:18 +00:00
ejcoumans
39bacd532e
autogenerated msvc projectfiles
2008-02-05 06:53:49 +00:00
ejcoumans
31a88b386f
error C2086: 'j' : redefinition
2008-02-05 06:35:25 +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
ejcoumans
984811f459
fixes to compile/share more code between SPU and PPU
2008-02-01 03:44:17 +00:00
ejcoumans
5399a9ae8c
fixes to compile/share more code between SPU and PPU
2008-02-01 03:35:54 +00:00
ejcoumans
1cdd5bf67f
add support for 16bit and 32bit indices in SPU/BulletMultiThreaded version of btBvhTriangleMeshShape
2008-02-01 02:13:24 +00:00
ejcoumans
5c40e615bd
make source compile under MinGW32
...
todo: link against OpenGL GLU/GLUT.
2008-01-30 01:09:01 +00:00
ejcoumans
97e96c243b
removed post-build step, it just causes troubles for users.
...
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1871
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1863&p=7073&hilit=post+build#p7073
2008-01-29 20:35:10 +00:00
ejcoumans
e5caadba0b
more build system work to fix this:
...
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1871
2008-01-29 20:23:14 +00:00
ejcoumans
daaca4bfcd
Removed post-build step, it just causes project not to compile under Visual Studio 2005 Express edition
2008-01-29 20:14:50 +00:00
ejcoumans
d3e4d87521
added a paper name for info in exponential map, part of the Bullet motion equation
2008-01-28 02:09:17 +00:00
ejcoumans
923f1411d7
Disable a recent new optimization for ray-aabb in btOptimizedBvh, it has some issues.
...
///thanks Joerg/hiker for the reproduction case!
///http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1858
2008-01-28 01:34:48 +00:00
ejcoumans
a267152945
fix doubleprecision build
2008-01-24 02:41:45 +00:00
ejcoumans
30e1c56520
fix doubleprecision build
2008-01-24 02:40:15 +00:00
ejcoumans
f7b8023fbc
updated MSVC projectfiles
2008-01-24 02:13:25 +00:00
ejcoumans
7d4b879c4b
bumped up version to 2.67
2008-01-24 02:12:09 +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
03a05c25af
removing a lot of unwanted code from btConvexHull (more refactoring will follow)
2008-01-24 01:08:15 +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
ejcoumans
6eb97cd966
added debug rendering for planeshape
...
added void* userpointer (+getUserPointer/setUserPointer) to each btCollisionShape
2008-01-23 03:06:15 +00:00
ejcoumans
63dc666bf6
fix for static planeshape and spheres, need to use the getSupportingVertex with margin for proper contact point location.
2008-01-23 02:42:14 +00:00
ejcoumans
f12f04fb97
optimization: only call solveGroup if there is some work: avoid virtual function call, its overhead can be excessive
...
based on 3000 body benchmark
2008-01-18 07:10:08 +00:00
ejcoumans
c0055bdb4a
removed some profiling in the innerloop, it hurts performance
2008-01-18 06:48:55 +00:00
ejcoumans
6ba6805b43
bugfix: need to use returned address of cellDmaSmallGetReadOnly
...
Thanks John McCutchan for pointing this out. Affects non-Cell BulletMultiThreaded.
2008-01-12 00:07:39 +00:00
ejcoumans
abfe5c81f7
ADD_DEFINITIONS( -D_CRT_SECURE_NO_DEPRECATE) for COLLADA_DOM/CMakeLists.txt, so that msvc stop warning/complaining about sprintf etc.
2008-01-03 04:59:07 +00:00
ejcoumans
2c00af5dc9
removed duplicate .cpp entries in CMakeLists.txt
2008-01-03 04:55:34 +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
4a5af68c04
updated version for MSVC projects to 2.66
2007-12-17 05:26:24 +00:00
ejcoumans
7897368754
updated version to 2.66
2007-12-17 05:08:53 +00:00
ejcoumans
60fbf05a57
updated ChangeLog.txt, better to make a quick new release with the important fixes
2007-12-17 04:34:34 +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
b8c2cb6f53
Stop MSVC 8/9 from moaning
...
ADD_DEFINITIONS( -D_CRT_SECURE_NO_WARNINGS)
2007-12-15 03:41:07 +00:00
ejcoumans
8feabf889b
fix in CMakeLists.txt
2007-12-15 03:33:23 +00:00
ejcoumans
81d781c1c5
updated ChangeLog.txt with recent improvements
2007-12-15 03:23:36 +00:00
ejcoumans
c09a09d169
replaced cellDmaSmallGet by mfc command
2007-12-15 03:03:09 +00:00
ejcoumans
61ffa6a1b5
Updated cmake files, added header files, Thanks John McCutchan
...
re-autogenerated msvc projectfiles with new HelloWorld/BulletMultiThreaded Demo
Minor fixes
2007-12-15 02:48:24 +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
ejcoumans
6dff743d68
Cleanup some #defines in parallel collision detector, add conditional freeglut support to return from glutMainLoop.
2007-12-15 00:40:34 +00:00
ejcoumans
335c79a2a2
added CMake support for AllBulletDemos
2007-12-14 08:35:35 +00:00
ejcoumans
b29330b19d
added MultiThreadedDemo to AllBulletDemos
2007-12-14 07:57:20 +00:00
ejcoumans
c5e6044e53
added MultiThreadedDemo
2007-12-14 07:17:35 +00:00
ejcoumans
d7354e5387
get SequentialThreadSupport to compile on the Mac
2007-12-14 06:21:51 +00:00
ejcoumans
9e25108b06
use freeglut by default under Windows
2007-12-14 02:48:53 +00:00
ejcoumans
38349b5af4
add freeglut (work in progress)
2007-12-14 01:46:49 +00:00
ejcoumans
961c38269b
Added address to debug memory allocator
...
Renamed 'free' in 'freeMemory' to avoid name clashes with some Microsoft debugging tools.
2007-12-14 01:45:13 +00:00
ejcoumans
051efde77a
Added HelloWorld application: minimal demo showing construction, stepping and deletion of a dynamics world.
2007-12-14 01:21:02 +00:00
ejcoumans
599579803e
Added portable non-parallel implementation for btThreadSupportInterface: SequentialThreadSupport, Thanks John McCutchan (JMC)
...
Added CMake support for BulletMultiThreaded.
2007-12-13 03:47:47 +00:00
ejcoumans
8d10a6ba1d
Fix friction and restitution in BulletMultiThreaded (collision detection and parallel solver)
...
Thanks to lsgmasa for reporting, see http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1758
2007-12-12 03:41:35 +00:00
ejcoumans
947dc8d33d
Moved the 'btRigidBody::clearForce' to the end of the stepSimulation, instead of in each substep.
...
Should help with this issue, reported here: http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1601
We can optionally leave out the 'clearForces'.
Thanks everyone for the discussion.
2007-12-12 02:53:51 +00:00
ejcoumans
210a913110
autogenerated msvc projectfiles (after adding btConvexPlaneCollisionAlgorithm to jam files)
2007-12-12 00:55:40 +00:00
ejcoumans
d963a41a6b
added new btConvexPlaneCollisionAlgorithm to cmake build files
2007-12-11 23:48:30 +00:00
ejcoumans
4c69ee93e2
small improvement in btConvexPlaneCollisionAlgorithm
2007-12-11 23:35:37 +00:00
ejcoumans
a7e04dbdc2
Added faster and more robust support for btStaticPlaneShape
2007-12-11 23:13:29 +00:00
ejcoumans
0bf152cabe
fixes in btCollisionWorld and Raytracer, to allow 'all hits' (work in progress)
2007-12-11 03:02:47 +00:00
ejcoumans
a537fb68b6
fixes in btCollisionWorld and Raytracer, to allow 'all hits' (work in progress)
2007-12-11 03:00:53 +00:00
ejcoumans
c1c01ff1a0
Use btContinuousConvexCollision instead of btGjkConvexCast (has issues in btCollisionWorld::objectQuerySingle)
...
Fixes in btHeightfieldTerrainShape, thanks Jay Lee.
2007-12-11 00:38:13 +00:00
ejcoumans
a45912e39c
move updateAabbs from dynamics world to collision world
2007-12-10 02:59:04 +00:00
ejcoumans
f1be4ab221
only update aabb of active objects, thanks Peter Tchernev for reporting ( http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1764 )
...
move debug aabb rendering from updateAabb to debugDrawWorld
2007-12-10 02:18:38 +00:00
ejcoumans
bf5a4a7d39
added workaround to compile libxml under Visual Studio 2008 Beta 2
2007-12-10 00:44:18 +00:00
ejcoumans
a34f229ad3
make glui compile under MSVC 9.0 beta (vsnprintf is already defined)
2007-12-10 00:33:19 +00:00
ejcoumans
68af58c09d
demo cleanup part 6, basic demo more self contained
2007-12-07 19:56:42 +00:00
ejcoumans
a4bc26544c
add support for generic concave shapes for convex cast.
...
minor improvement in ray cast demo.
Thanks John McCutchan (JMC)
2007-12-07 19:21:16 +00:00
ejcoumans
9447dfdcfb
demo cleanup part 5, fixed memory leaks in ConstraintDemo
2007-12-07 06:24:19 +00:00
ejcoumans
c1a2debd3b
demo cleanup part 4 (fixed leaks in vehicle demo)
2007-12-07 02:12:00 +00:00
ejcoumans
8a28c7940a
demo cleanup part 3 (fixed memory leaks in raytracer demo and linear convex cast demo)
2007-12-07 01:33:40 +00:00
ejcoumans
e5720170f0
demo cleanup part 2 (gimpact memory leaks)
2007-12-07 01:21:37 +00:00
ejcoumans
2e4912b67a
demo cleanup part 1
2007-12-07 00:27:30 +00:00
ejcoumans
71fb40b775
some demo cleanup, part 0
2007-12-06 23:58:50 +00:00
ejcoumans
c09923dc20
fixed issue with fixed rigid bodies: need to create with mass == 0
2007-12-06 04:44:04 +00:00
ejcoumans
8f6bffe1f6
updated autogenerated projectfiles for new demos
2007-12-06 03:07:24 +00:00
ejcoumans
4d260bb736
added new demos to build system, fixed timing report (is in milliseconds -> ms)
2007-12-06 03:05:57 +00:00
ejcoumans
6f80b98a67
- fix issue with convex cast: results further away (larger hitfraction) could overwrite closer results
...
- minor naming convention thing (variables start with lower case)
- renamed MotorDemo
- added ConcaveConvexcastDemo, Thanks John McCutchan (JMC)
2007-12-06 02:54:29 +00:00
ejcoumans
35d2ae870c
added MotorControl demo, thanks to eddybox
2007-12-06 02:17:15 +00:00
ejcoumans
d53f2875e5
minor fixes, only btBvhTriangleMeshShape should provide getShapeType(), add get methods for motor limits in btHingeConstraint.
2007-12-06 01:41:07 +00:00
ejcoumans
1245995c84
Added convex cast query to collision world.
...
Thanks to John McCutchan (JMC)
2007-12-06 00:51:24 +00:00
ejcoumans
d2973ed48a
added workaround for OpenGL bug in Mac OS X 10.5.0 (Leopard)
...
added concave raycast demo
Thanks to John Rowe (JMC)
2007-12-05 20:34:32 +00:00
ejcoumans
a64cc39faf
Fixed issues that prevent Linux version to compile. Thanks to Enrico for reporting and patch, see
...
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1747
2007-12-04 02:22:05 +00:00
ejcoumans
1c82712b72
added newline at end, to avoid warning.
...
Thanks verizon for reporting!
2007-12-01 19:56:18 +00:00
ejcoumans
638c6f42e1
Added ConcaveRaycastDemo, thanks to John Rowe (JMC) for the contribution!
2007-11-30 20:38:47 +00:00
ejcoumans
86f0575291
fixed misleading name 'numTriangleIndices' into 'numTriangles', thanks Sean Tasker for reporting:
...
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1733
2007-11-30 06:59:12 +00:00
ejcoumans
f2c9588969
Added raycast against trianglemesh. Will be extended to object cast soon.
...
Thanks John Rowe (JMC)
2007-11-29 21:24:51 +00:00
ejcoumans
174f6009bb
make getNumPoints const correct, add const getPoints(). Thanks Dirk
...
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1725
2007-11-28 20:14:01 +00:00
ejcoumans
eb9429ad31
need to include btQuickprof.h, instead of btQuickProf.h (breaks case sensitive systems)
...
Thanks ola for reporting this!
2007-11-28 18:55:28 +00:00