Commit Graph

24 Commits

Author SHA1 Message Date
erwin coumans
eb74688c18 Add setUserIndex/getUserIndex (int index) to btCollisionShape
Share physics setup of BasicDemo between different graphics frameworks, see Demos\BasicDemo\BasicDemoPhysicsSetup.*
Plan is to do this for all Bullet demos.
Improve gwen performance and cursor navigation for tree control.
tweak shadowmap size
SimpleOpenGL3App::registerCubeShape accepts half extents
2014-05-20 12:02:01 -07:00
Erwin Coumans
3dd759c463 fix BT_USE_DOUBLE_PRECISION build, address Issue 177
https://github.com/bulletphysics/bullet3/issues/177
2014-05-19 14:53:11 -07:00
erwincoumans
ae7ca56b40 reduce mouse picking strength 2014-03-18 00:04:27 -07:00
erwin coumans
d485f2b272 btMultiBodyConstraintSolver writes back the applied impulse for contact points
(added some debugging output for this in the demos, commented-out by default)
2014-02-24 16:55:54 -08:00
erwin coumans
dfa738c13a Properly propagate the applied impulse for the MLCP solvers, so it will be available for contact and non-contact constraints.
Use real-time clock in AllBullet2Demos, rather than hard-coded 1./60.
2014-02-24 13:24:49 -08:00
Erwin Coumans
fabdf8b4a9 create some demos to compare MLCP solvers 2014-02-17 14:33:40 -08:00
erwincoumans
122ceacb6d move OpenCL initialization for the unit tests in a shared header file, and support some basic command-line arguments
--cl_device=1 --cl_platform=1 --allow_opencl_cpu
add chaindemo, test for mass ratios
restore sleeping/activation mode in featherstone demo
Use _VARIADIC_MAX=10 to avoid Google Test issues with Visual Studio 2012, thanks to Mobeen for the report
Enable verbose printf for unit tests
2014-02-11 10:33:00 -08:00
erwincoumans
3768a30bb2 added very crude little LuaDemo, to create physics objects using Lua scripts (very preliminary) 2014-02-06 01:13:31 -08:00
Erwin Coumans
71f0537c6e add Bullet 2.x constraint solver tests for hinge, with large mass ratio
experiment with Midi controls in PairBenchmark to tune variables (will move it into a utility class, so every demo can easier use it in the future)
fix issue with broadphase, not initializing all pairs properly at pair array overflow
2014-01-28 10:25:04 -08:00
Erwin Coumans
1a507cca52 remove redundant/wrong glClear
always initialize mpr OpenCL kernels
add a second ragdoll to the demo
2014-01-16 19:18:06 -08:00
Erwin Coumans
7e4b1c1c8a add MultiDofDemo (Featherstone 3DOF spherical joint)
minor prettify of BasicDemo,RagdollDemo.
require 'multiDof' argument in btMultiBody.h (not default=false)
2014-01-10 16:34:39 -08:00
Erwin Coumans
a8e60b4ee5 Merge branch 'master' of http://github.com/kalesony/bullet3 2014-01-10 15:22:58 -08:00
erwin coumans
2e55d03fd9 more fixes towards working convex-convex, in case of (too) many edge-edge cases:
1) sample directions over a unit sphere and
2) add a contact, using mpr
add missing bullet.pc.cmake file (for old Bullet 2.x)
2014-01-09 16:22:34 -08:00
kubas
cb556f9525 dirty changes - stabilization hacks 2014-01-09 00:51:42 +01:00
Erwin Coumans
080d22d6ec rename files, fix Linux build 2014-01-07 16:21:31 -08:00
Erwin Coumans
84f3b804f1 add missing file 2014-01-07 16:11:04 -08:00
Erwin Coumans
e1a412454f fixes to improve demos a bit 2014-01-07 16:06:13 -08:00
Erwin Coumans
75b8f7230d fix Mac OSX build 2014-01-05 22:06:12 -08:00
erwincoumans
ed73bce9da Move Bullet 2.x demos in a single demo 'AllBullet2Demos', for now only BasicDemo and FeatherstoneDemo is implemented. 2014-01-05 21:58:30 -08:00
erwin coumans
c155e126d0 move parts of collision pipeline to shared header files (work-in-progress) 2013-12-12 11:03:55 -08:00
erwin coumans
ba2ba28a89 add Bullet 2.x CPU FeatherstoneMultiBodyDemo 2013-12-09 14:16:51 -08:00
erwin coumans
9379c7fb8c enable mouse picking for BasicDemo (will move it to a shared code part soon) 2013-12-07 11:19:57 -08:00
erwincoumans
30a6fe705f remove obsolete executables, prettify Bullet 2.x CPU BasicDemo a little bit. 2013-12-06 18:11:04 -08:00
erwincoumans
fca6d11381 created new Bullet 2 CPU BasicDemo, using the OpenGL 3 rendering. I will add picking soon. Hold ctrl/alt + mouse to move/zoom camera
remove reference to btGImpact (it is removed now)
2013-12-06 17:48:58 -08:00