Commit Graph

3472 Commits

Author SHA1 Message Date
erwin coumans
a94ac6300a add Windows version of shared memory, very basic implementation (only allows one single allocation) 2015-06-04 15:37:18 -07:00
Erwin Coumans
f74e3782aa enable prismatic joint motor in URDF demo, by default. Thanks to Takuya!
prepare for prismatic joint limit for btMultiBody in the URDF demo.
There is an issue with it, working on fixing this.
2015-06-03 18:02:15 -07:00
Erwin Coumans
85acb2a009 fix an OpenGL performance issue running on some Linux machines
(apparently searching for a framebuffer with more samples makes NVIDIA Quadro slow)
2015-06-03 17:18:56 -07:00
Erwin Coumans (Google)
190382e9ec enable posix shared memory on non-Win32 platforms (Linux and Mac) for example browser 2015-05-30 20:32:29 -07:00
=
c28afd2242 add missing files 2015-05-29 15:38:32 -07:00
=
fcb5dac567 fix cmake build and travis/CI 2015-05-29 15:10:52 -07:00
=
bc806ab68c exit gracefully and call destructor of the current active example
fflush after printf
implemented stepForward and Shutdown for the SharedMemory client/server
2015-05-29 15:04:05 -07:00
=
6fedad9db7 fix SharedMemory premake file 2015-05-29 11:37:21 -07:00
=
7abefca6f1 small improvement to the shared memory physics server/client 2015-05-28 17:49:55 -07:00
=
82576d0bee added preliminary shared memory physics client/server
fix a bug in CommonMultiBodyBase: don't use data if it hasn't been allocated
2015-05-28 16:05:24 -07:00
Erwin Coumans
becd7cacd8 fix relative path of visual/collision mesh, it might be different from the urdf relative path
(.obj loader terminates if it cannot find the material file)
2015-05-27 15:43:33 -07:00
erwin
c9a630e7c6 rename loadUrdf -> loadMultiBodyFromUrdf in lua script
remove unused m_usrd2mblink
2015-05-14 09:16:13 -07:00
erwin
e196ed1edb load a urdf in the lua script test 2015-05-13 21:54:00 -07:00
Erwin Coumans
91252db59a fix Lua example 2015-05-13 16:27:58 -07:00
Erwin Coumans
dbae21ae5a prepare for some basic lua scripting example 2015-05-13 09:17:59 -07:00
=
cedd0432bf don't compile SimpleOpenGL3App if NO_OPENGL3 is defined 2015-05-07 14:11:17 -07:00
Erwin Coumans
82f81e16f3 fix Yosemite build 2015-05-07 11:44:16 -07:00
Erwin Coumans
5c84d6f6de don't use glSwapAPPLE, it fails on some OSX versions
thanks Steven for the report
2015-05-06 18:42:47 -07:00
erwin coumans
5b34cda617 add simple 3d debug text for OpenGL2 in example browser 2015-05-06 16:11:03 -07:00
Erwin Coumans
0da584a42d allow to compile and run the ExampleBrowser on older Mac OSX versions (without OpenGL3)
using the 'NO_OPENGL3' preprocessor definition
both premake/cmake has support for this now
needs some testing
2015-05-06 10:35:14 -07:00
=
7eec0dc57d add enet for some client/server tests 2015-05-05 12:51:38 -07:00
Erwin Coumans
3da8dbce1c disable memmove in btDbvt
forgot to reset clock
2015-05-04 17:03:37 -07:00
Erwin Coumans
633ea613ab tweak gui description window size
use system clock for delta time
fix urdf file name
2015-05-04 16:52:43 -07:00
=
6ea35aa875 fix urdf relative path problem (don't use arrays on stack!) 2015-05-04 14:15:34 -07:00
Erwin Coumans
db5f280c3d tweaks to rolling friction demo/dof2spring2 demo 2015-05-03 12:01:38 -07:00
Erwin Coumans
184a0013b4 add RollingFrictionDemo
tweak benchmark demo camera
2015-05-03 11:45:30 -07:00
Erwin Coumans
78f01243c1 fix double-precision compile bug 2015-05-03 11:10:12 -07:00
Erwin Coumans
d90578ec98 fix premake 2015-05-03 10:59:35 -07:00
Erwin Coumans
488b86fece render the rays in benchmark demo 2015-05-03 10:56:39 -07:00
Erwin Coumans
8ee491abfa converted DynamicControlDemo/MotorDemo
set default camera position for benchmarks, fracturedemo
2015-05-03 10:46:22 -07:00
Erwin Coumans
7288313970 converted FractureDemo 2015-05-03 10:01:30 -07:00
Erwin Coumans
59b511a14e add .bullet extension in File/Open on Mac
add importer support for FIXED_CONSTRAINT_TYPE, to be replaced by btGeneric6DofSpring2Constraint
btFixedConstraint now derives from btGeneric6DofSpring2Constraint
2015-05-03 09:23:35 -07:00
Erwin Coumans
7a0288bf56 fix issue with btDbvt::collideOCL, related to memmove (needs further testing)
only enable OpenCL demo if flag --enable_experimental_opencl is passed to ExampleBrowser
2015-05-02 22:33:33 -07:00
erwincoumans
37c788841a fix another compile issue 2015-05-02 13:09:29 -07:00
erwincoumans
1215d4b01c fix build issue 2015-05-02 11:42:43 -07:00
erwincoumans
551709a74b more example browser tweaks, mostly related to (debug) rendering 2015-05-02 11:40:06 -07:00
erwincoumans
01d14f538a fix some out-of-bounds error in the OpenCL rigid body pipeline
re-enable an OpenCL/gpu rigid body example (box-box stack)
2015-05-01 21:34:27 -07:00
erwincoumans
d50242fc27 add starting point for btGeneric6DofSpring2ConstraintData import, not all parameters are deserialized though
restore activation state after picking
add .bullet file import (only tested/available on Windows)
2015-05-01 16:27:09 -07:00
erwincoumans
d7c7fdf517 fix build issue when OpenCL (B3_USE_CLEW) is not enabled 2015-05-01 14:32:39 -07:00
erwincoumans
218e9f9bf9 enable URDF loading throught the 'File/Open' menu
set a default camera targets for each demo. note that it is only reset when switching to a different demo, so you can restart at your chosen location.
no OpenCL pairbench drawing in OpenGL2 (there is no VBO available etc)
2015-05-01 11:42:14 -07:00
erwincoumans
aad9a5a396 add OpenCL PairBench (missing GUI, so not really useful) 2015-05-01 00:18:49 -07:00
Erwin Coumans
aec360f158 add Raycast demo 2015-04-30 15:31:44 -07:00
Erwin Coumans
c95fe654ad add example to import and export a binary .bullet file 2015-04-30 14:03:50 -07:00
Erwin Coumans
9d3f8803b8 add Stan Melax' ImplicitCloth demo 2015-04-30 13:36:39 -07:00
Erwin Coumans
fcb841018a remove 'Custom' multi body demo, it has no point on its own 2015-04-29 15:02:12 -07:00
erwin coumans
f9b8120e5d set upaxis for all demos (either Y/1 or Z/2) 2015-04-29 14:02:50 -07:00
erwin coumans
40375983d6 rename ExampleInterface -> CommonExampleInterface to be a little bit more consistent in 'CommonInterfaces' naming 2015-04-29 13:33:26 -07:00
erwin coumans
4ed666a72a fix double-precision compile problem
fix profile window (See View/Profiler in ExampleBrowser)
2015-04-29 13:21:26 -07:00
erwin coumans
a165ff54c9 fix maxLinMotorForce/maxAngMotorForce in btSliderConstraint
Thanks to Stephen Peters, see also https://github.com/bulletphysics/bullet3/pull/328
2015-04-29 11:05:00 -07:00
erwin coumans
d1ff63dd49 add missing files to CMakeLists.txt 2015-04-29 10:54:40 -07:00
erwin coumans
f4b0cc85cd add Vehicles/Hinge2Vehicle demo, based on the ForkLift demo, using btHinge2Constraint with rigid body wheels
change btHinge2Constraint to derive from new btGeneric6DofSpring2Constraint
2015-04-28 18:12:49 -07:00
Erwin Coumans
df86a69a71 fix Mac OSX build, minor addition in example descriptions 2015-04-27 20:58:01 -07:00
erwin coumans
27227e5e4a add SoftDemo examples
add example description for all examples (with word-wrap)
add the VoronoiFractureDemo, note that the collision are disabled after breaking constraints.
add optional GwenOpenGLTest, to make it easier to see Gwen user interface features.
2015-04-27 18:35:07 -07:00
erwin coumans
05bf86d95f added LICENSE.txt and AUTHORS.txt file
add MultiBody Custom Creation example, to show how to import data from a URDF file and fill up your own data structures.
add btMultiBody::setBaseWorldTransform method
todo: fix cmake build, this patch is premake only
2015-04-23 15:41:17 -07:00
erwin coumans
51938d642e prepare for 'custom' multi body creation. 2015-04-22 18:09:00 -07:00
erwin coumans
b64f5feba4 refactor of URDF importer (work-in-progress) 2015-04-22 16:35:27 -07:00
erwin coumans
f2aef6b73e add additional demos/examples for MultiBody and Constraints 2015-04-22 13:02:27 -07:00
erwin coumans
13396d32bf add basic legacy OpenGL2 rendering 2015-04-20 15:28:52 -07:00
erwincoumans
60593f41ed make OpenGL2 version work (still very rudimentary, no filled rendering, only debug wireframe) 2015-04-16 23:46:01 -07:00
Erwin Coumans (Google)
438cb00abd fix Linux build (cmake, case-sensitive folder name) 2015-04-16 22:29:10 -07:00
Erwin Coumans
8ce75fd7a7 fix mac build 2015-04-16 22:23:34 -07:00
erwincoumans
ad8f705bcb more cmake support for examples 2015-04-16 22:14:27 -07:00
erwincoumans
c99ac6cfa1 cmake with 2 examples (HelloWorld, BasicDemo) 2015-04-16 18:11:22 -07:00
Erwin Coumans (Google)
9e2eff9a1e fix Linux modifier keys 2015-04-16 17:57:38 -07:00
Erwin Coumans
889cbdc0ef fixes in Mac modifier keys, remove enet/lua tests 2015-04-16 17:35:34 -07:00
Erwin Coumans (Google)
bf39570ff3 fixes for Linux 2015-04-16 16:58:42 -07:00
Erwin Coumans
b2ba615874 fixed for Mac in examples 2015-04-16 15:52:30 -07:00
erwincoumans
ffb0cab2e7 glew/GL fixes 2015-04-16 15:38:08 -07:00
erwincoumans
b33d17f91c rename GL/glew to CustomGL/glew.h to avoid clashes with system glew 2015-04-16 15:29:39 -07:00
erwincoumans
57d8567ca3 more example refactoring 2015-04-16 15:16:13 -07:00
erwincoumans
794c8ec064 add BspDemo.bsp data file
add sphere2.urdf
move btSpatialAlgebra into LinearMath
remove some warnings, introduce BT_ZERO, BT_ONE, BT_HALF as defines for 0.f/0., 1.f/1., 0.5f/0.5 respectively
2015-04-16 10:17:35 -07:00
erwincoumans
a1bf9c5556 add initial examples, replacing the 'Demos/Demos3'. Will make it work cross-platform, OpenGL3/OpenGL2 and add more examples to it. 2015-04-16 09:55:32 -07:00