Commit Graph

6468 Commits

Author SHA1 Message Date
Erwin Coumans
fe8fd9d45a Merge branch 'a-anik-fix-import-spherical' 2018-03-07 16:06:49 -08:00
Erwin Coumans
a77bb4869c Merge branch 'fix-import-spherical' of https://github.com/a-anik/bullet3 into a-anik-fix-import-spherical 2018-03-07 16:06:34 -08:00
erwincoumans
31c2e00139 Merge pull request #1587 from a-anik/fix-import-spherical
Fix import of spherical joint state
2018-03-07 15:49:09 -08:00
erwincoumans
047da9dc04 Merge pull request #1591 from erwincoumans/master
Use kF_UseGjkConvexCastRaytest by default for raycast in PyBullet (it…
2018-03-07 15:47:08 -08:00
Erwin Coumans
90c86d171f Merge remote-tracking branch 'bp/master' 2018-03-07 15:02:41 -08:00
Erwin Coumans
b578361acf Use kF_UseGjkConvexCastRaytest by default for raycast in PyBullet (it is more robust/accurate, but a bit slower)
Use 10*EPSILON, as suggested in Gino's paper:
http://www.continuousphysics.com/ftp/pub/test/files/physics/papers/jgt04raycast.pdf
2018-03-07 14:51:51 -08:00
erwincoumans
d77d85edce Merge pull request #1590 from erwincoumans/master
increase shared memory block size, bump up pybullet version, simplify r2d2 stl meshes
2018-03-07 13:29:40 -08:00
Erwin Coumans
07f116610f Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-03-07 09:48:10 -08:00
Erwin Coumans
e134dcdb0b increase shared memory block size ( to reduce image copy steps)
reduce vertices in r2d2 finger stl files
bump up pybullet vesion
2018-03-07 09:47:28 -08:00
Lunkhound
eec478709a parallel solver: small tweaks and fixes 2018-03-06 02:43:59 -08:00
Lunkhound
45fd4acf6e dynamicsWorldMt: make island mgr aware of whether a parallel solver is present and make handoff from parallel solver to solver-pool more explicit 2018-03-05 20:05:38 -08:00
erwincoumans
8bde0d35cc Merge pull request #1589 from GaborPuhr/Fix-for-#1567
Fix for #1567
2018-03-05 16:10:46 -08:00
a
86ca7dc2d1 Fix for #1567 2018-03-05 23:25:25 +01:00
a
2348c6ba0a Fix for #1582 2018-03-05 23:05:22 +01:00
erwincoumans
6d326a79c8 Merge pull request #1575 from erwincoumans/master
fix minor sdf warning in kiva_shelf/model.sdf
2018-03-04 12:34:21 -08:00
Erwin Coumans
283d646e57 add random_urfs individually 2018-03-04 12:33:31 -08:00
Alexey Anikeenko
feaa21e33c Fix import of spherical joint state
Spherical joints in btMultiBody have 4 positional variables.
2018-03-05 01:33:15 +07:00
Lunkhound
d900a74939 add new source files to setup.py to fix travis-ci build 2018-02-27 03:03:12 -08:00
Lunkhound
06690e542b fix compile error for GCC 2018-02-27 00:30:45 -08:00
Lunkhound
b8720f2161 parallel solver: various changes
- threading: adding btSequentialImpulseConstraintSolverMt
 - task scheduler: added parallelSum so that parallel solver can compute residuals
 - CommonRigidBodyMTBase: add slider for solver least squares residual and allow multithreading without needing OpenMP, TBB, or PPL
 - taskScheduler: don't wait for workers to sleep/signal at the end of each parallel block
 - parallel solver: convertContacts split into an allocContactConstraints and setupContactConstraints stage, the latter of which is done in parallel
 - parallel solver: rolling friction is now interleaved along with normal friction
 - parallel solver: batchified split impulse solving + some cleanup
 - parallel solver: sorting batches from largest to smallest
 - parallel solver: added parallel batch creation
 - parallel solver: added warmstartingWriteBackContacts func + other cleanup
 - task scheduler: truncate low bits to preserve determinism with parallelSum
 - parallel solver: reducing dynamic mem allocs and trying to parallelize more of the batch setup
 - parallel solver: parallelize updating constraint batch ids for merging
 - parallel solver: adding debug visualization
 - task scheduler: make TBB task scheduler parallelSum deterministic
 - parallel solver: split batch gen code into separate file; allow selection of batch gen method
 - task scheduler: add sleepWorkerThreadsHint() at end of simulation
 - parallel solver: added grain size per phase
 - task Scheduler: fix for strange threading issue; also no need for main thread to wait for workers to sleep
 - base constraint solver: break out joint setup into separate function for profiling/overriding
 - parallel solver: allow different batching method for contacts vs joints
 - base constraint solver: add convertJoint and convertBodies to make it possible to parallelize joint and body conversion
 - parallel solver: convert joints and bodies in parallel now
 - parallel solver: speed up batch creation with run-length encoding
 - parallel solver: batch gen: run-length expansion in parallel; collect constraint info in parallel
 - parallel solver: adding spatial grid batching method
 - parallel solver: enhancements to spatial grid batching
 - sequential solver: moving code for writing back into functions that derived classes can call
 - parallel solver: do write back of bodies and joints in parallel
 - parallel solver: removed all batching methods except for spatial grid (others were ineffective)
 - parallel solver: added 2D or 3D grid batching options; and a bit of cleanup
 - move btDefaultTaskScheduler into LinearMath project
2018-02-26 22:47:33 -08:00
Erwin Coumans
4d6e2c1905 update imgui test 2018-02-24 14:57:49 -08:00
Erwin Coumans
34e0c4b62f Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-02-23 18:56:25 -08:00
Erwin Coumans
5688477bfb fix sdf warning 2018-02-23 18:56:11 -08:00
erwincoumans
94bc897067 Merge pull request #1574 from erwincoumans/master
fix glx include
2018-02-22 09:41:01 -08:00
Erwin Coumans
05b02d6b3e fix glx include 2018-02-22 09:08:10 -08:00
erwincoumans
90b34680b0 Merge pull request #1572 from erwincoumans/master
explicitly remove textures during resetSimulation
2018-02-22 08:37:03 -08:00
erwincoumans
c632fea48d PyBullet: remove VisualLeakDetector 2018-02-21 23:44:57 -08:00
erwincoumans
73a4334e30 explicitly remove textures during resetSimulation
move glViewport to Win32Window
2018-02-21 23:22:16 -08:00
erwincoumans
91f77dfb39 Merge pull request #1571 from erwincoumans/master
fix __init__.py
2018-02-21 12:42:37 -08:00
Erwin Coumans
15c46a0237 bump up pybullet version, add missing glad file(s) to MANIFEST.in 2018-02-21 11:46:53 -08:00
Erwin Coumans
15608acc4f bump up pybullet version 2018-02-21 10:48:04 -08:00
Erwin Coumans
8ba9644e78 fix __init__.py 2018-02-21 10:47:24 -08:00
Erwin Coumans
67318f3323 fix __init__.py 2018-02-21 10:45:06 -08:00
erwincoumans
3508a4523b Merge pull request #1560 from YunfeiBai/master
Add shader and example for projective texture.
2018-02-21 10:23:18 -08:00
erwincoumans
8bc39ab11e Merge pull request #1569 from erwincoumans/master
allow to build GLFW version of Bullet examples on Linux (use premake4…
2018-02-21 10:07:39 -08:00
Erwin Coumans
a3c2ce1cef add __init__.py for pybullet_envs.prediction 2018-02-21 10:06:46 -08:00
erwincoumans
0e0b7cb9f8 glew->glad 2018-02-21 08:59:06 -08:00
erwincoumans
f341acc44a glew->glad 2018-02-21 08:50:47 -08:00
erwincoumans
4343d041da more work towards glew->glad 2018-02-21 08:36:53 -08:00
erwincoumans
5679802c24 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2018-02-21 08:20:01 -08:00
erwincoumans
483f017613 fix VR build 2018-02-21 08:19:49 -08:00
Erwin Coumans
9288ea9c6a fix mac osx build 2018-02-21 08:16:00 -08:00
Erwin Coumans
3a019be57e Merge remote-tracking branch 'bp/master' 2018-02-21 07:31:00 -08:00
Erwin Coumans
c2b59776ed CMakeLists glew to glad 2018-02-20 21:09:31 -08:00
Erwin Coumans
92fd206dac bump up pybullet version 2018-02-20 20:59:41 -08:00
Erwin Coumans
d583269430 fix glad_glx on linux 2018-02-20 20:57:55 -08:00
Erwin Coumans
850b8b0493 add glad_glx files 2018-02-20 20:15:26 -08:00
Erwin Coumans
dacafda88a use glad instead of glew in mac build and pybullet setup.py 2018-02-20 20:09:12 -08:00
Erwin Coumans
b0984de046 preparation to replace glew by glad 2018-02-20 19:44:02 -08:00
yunfeibai
5494aa72fa Set the perspective projection for projective texture mapping. Change the demo to two bears with the same view projection matrix for the camera and the projector. 2018-02-20 18:32:09 -08:00