erwincoumans
e35129ceaf
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2016-11-04 13:16:30 -07:00
erwincoumans
9708392322
work-in-progress
...
add UDP network connection for physics client <-> server.
also set spinning friction in rolling friction demo (otherwise objects may keep on spinning forever)
2016-11-04 13:15:10 -07:00
Lunkhound
1c3686ca51
MultiThreaded Demo:
...
- fixing various race conditions throughout (usage of static vars, etc)
- addition of a few lightweight mutexes (which are compiled out by default)
- slight code rearrangement in discreteDynamicsWorld to facilitate multithreading
- PoolAllocator::allocate() can now be called when pool is full without
crashing (null pointer returned)
- PoolAllocator allocate and freeMemory, are OPTIONALLY threadsafe
(default is un-threadsafe)
- CollisionDispatcher no longer checks if the pool allocator is full
before calling allocate(), instead it just calls allocate() and
checks if the return is null -- this avoids a race condition
- SequentialImpulseConstraintSolver OPTIONALLY uses different logic in
getOrInitSolverBody() to avoid a race condition with kinematic bodies
- addition of 2 classes which together allow simulation islands to be run
in parallel:
- btSimulationIslandManagerMt
- btDiscreteDynamicsWorldMt
- MultiThreadedDemo example in the example browser demonstrating use of
OpenMP, Microsoft PPL, and Intel TBB
- use multithreading for other demos
- benchmark demo: add parallel raycasting
2016-10-30 12:47:27 -07:00
erwincoumans
f01389ded2
Merge pull request #842 from erwincoumans/master
...
added b3PhysicsParamSetInternalSimFlags command, and pybullet setInte…
2016-10-23 08:26:52 -07:00
erwincoumans
c2ca88bf44
added b3PhysicsParamSetInternalSimFlags command, and pybullet setInternalSimFlags API.
...
//Use at own risk: magic things may or my not happen when calling this API.
This allows to enable/disable robot assets (samurai world, gripper, KUKA robot etc) in Physics Server (and App_PhysicsServerVR etc)
1 = create robot assets
2 = create experimental box-vr-gui
Add optional command-line parameter for App_PhysicsServerVR, --norobotassets, to start with an empty world, no assets in VR (no gripper, no kuka)
2016-10-23 07:14:50 -07:00
erwincoumans
2c6237abda
process todo in CMakeLists.txt
2016-10-22 13:53:44 -07:00
erwincoumans
79d9e6b15e
move CommonTimeWarpBase.h to Evolution/NN3DWalkersTimeWarpBase, it is not a common interface.
2016-10-22 13:50:08 -07:00
erwincoumans
c83dde6344
Merge pull request #841 from YunfeiBai/master
...
Programmatic render API for changing texture in TinyRenderer.
2016-10-22 07:16:06 -07:00
yunfeibai
9c00b4d9f4
Add texture reset API to pybullet.
2016-10-21 17:48:06 -07:00
yunfeibai
1b312dab3c
Remove the temporary test code.
2016-10-21 12:42:42 -07:00
yunfeibai
3d79961725
Add API to change texture with object id and link index.
2016-10-21 11:55:27 -07:00
erwin coumans
dbcb509246
Merge remote-tracking branch 'bp/master'
2016-10-21 10:55:06 -07:00
erwincoumans
ebc7692a78
Update NN3DWalkers.cpp
...
delete m_timeSeriesCanvas, otherwise the windows accumulate at restart
make text a little bit smaller, too much overlap. If this has issues, please add a dropdown menu for text ;-)
2016-10-21 08:52:11 -07:00
erwincoumans
c481662938
Merge pull request #723 from benelot/3D-NN-walkers-example
...
Simple Neural Network 3D Walkers example
2016-10-21 08:47:35 -07:00
yunfeibai
4911b14271
Add loading texture API.
2016-10-20 23:40:30 -07:00
yunfeibai
05be92d006
Add API to load texture file.
2016-10-20 22:11:38 -07:00
yunfeibai
1c04da23db
Change texture with loaded texture file.
2016-10-20 21:40:44 -07:00
erwincoumans
d309e298e1
Update fontstash.cpp
...
use free instead of 'delete' for the tex->m_texels memory
2016-10-20 17:11:33 -07:00
yunfeibai
35688e4ecf
Change texture for one body.
2016-10-20 14:20:09 -07:00
Erwin Coumans
0ca1cee6f0
add a few virtual destructors, remove physics client from server
2016-10-20 14:08:55 -07:00
yunfeibai
6ef96a4027
Add programmatic render API and a basic test.
2016-10-20 10:56:44 -07:00
Benelot
09d2e9afa7
Replace std::map with btHashMap.
2016-10-19 22:33:59 +02:00
Benjamin Ellenberger
453b0f9e29
Fix uninitialized transform. Increase performance string. Remove unused method signature.
2016-10-19 21:20:57 +02:00
Benjamin Ellenberger
134c788f93
Change all btVector/btTransform to const btVector/btTransform& for SIMD alignment.
2016-10-19 18:35:01 +02:00
erwin coumans
eda400d14c
Merge remote-tracking branch 'bp/master'
2016-10-19 07:43:46 -07:00
erwin coumans
3b8090fcc1
fix a pybullet.c issue on some compilers (don't allow for (int i=...)
...
make the build_visual_studio_vr_pybullet_double.bat smart enough to find any Python installation in c:\python*
2016-10-19 07:42:55 -07:00
erwin coumans
f97cb7002d
first version of 'getVisualShapeData' to get visual shape information to allow external renderer with pybullet and shared memory robotics API
...
b3InitRequestVisualShapeInformation/b3GetVisualShapeInformation in shared memory API
2016-10-18 22:05:28 -07:00
yunfeibai
7630bf62d5
Add USE_SOFT_BODY_MULTI_BODY_DYNAMICS_WORLD option.
2016-10-18 17:38:43 -07:00
yunfeibai
e112b15281
Move btSoftMultiBodyDynamicsWorld to BulletSoftBody.
2016-10-17 23:40:38 -07:00
yunfeibai
6f0a404b1e
More fix for integration test.
2016-10-17 16:20:15 -07:00
yunfeibai
3ffd95fbab
Merge remote-tracking branch 'origin/master'
2016-10-17 13:20:31 -07:00
yunfeibai
14fc8ae8c2
Restore original demo settings.
2016-10-17 13:19:34 -07:00
yunfeibai
b07df4d504
Load bunny through shared memory API and RobotSimAPI. Create grasp bunny example.
2016-10-17 13:01:04 -07:00
erwin coumans
d1ab6c144b
change some defaults in MultiBody example, a slider constraint without limits is a bad idea
2016-10-16 11:52:38 -07:00
Erwin Coumans
da4098166e
fix case in #include
2016-10-14 17:25:52 -07:00
erwin coumans
29f3afe2a4
don't use GL_LINEAR_MIPMAP_LINEAR for shadow maps
...
optimize gpu upload (use glBufferSubData instead of glMapBuffer
Avoid checking char array against zero.
2016-10-14 15:06:09 -07:00
erwincoumans
1a62f21143
Merge remote-tracking branch 'bp/master'
2016-10-12 23:07:41 -07:00
erwincoumans
33d9603e16
Add rudimentary 'saveWorld' command in shared memory API and pybullet, see examples/pybullet/saveWorld.py
...
Use trilinear filtering instead of bilinear
2016-10-12 23:03:36 -07:00
yunfeibai
880ee097fa
Simulate bunny in grasp demo and set collision margin.
2016-10-12 15:34:45 -07:00
erwincoumans
729ae8d3d6
Merge pull request #833 from matpalm/process_server_status_warning
...
handle CMD_CALCULATE_INVERSE_KINEMATICS_COMPLETED/FAILED in PhysicsCl…
2016-10-12 12:03:24 -07:00
yunfeibai
379f2ac933
Load bunny to to the world in the grasp demo.
2016-10-12 11:51:04 -07:00
Mat Kelcey
9387ef763d
handle CMD_CALCULATE_INVERSE_KINEMATICS_COMPLETED/FAILED in PhysicsClientSharedMemory::processServerStatus
2016-10-12 10:46:07 -07:00
yunfeibai
9ab28ed466
Fix the link transform in world frame in IK.
2016-10-12 09:57:14 -07:00
yunfeibai
4fe86d2a1d
Add btSoftMultiBodyDynamicsWorld.
2016-10-11 16:15:44 -07:00
erwin coumans
a6225d4cd0
add check for #dof of KUKA in VR demo
...
disable debug drawing again in VR demo
2016-10-09 21:48:56 -07:00
erwincoumans
bbb2fac940
App_SharedMemoryPhysics_VR: Add a command-line flag (--emptyworld) to disable the Samurai/KUKA robot creation in the VR demo, and use pybullet to populate the VR world. Note that either way, you can use pybullet to interact and control the world.
2016-10-08 18:40:09 -07:00
erwincoumans
c5d4f7b3b3
disable VSYNC for VR
...
clamp KUKA motor motion to be less abrupt
2016-10-08 07:51:45 -07:00
erwin coumans
4cd401212c
SharedMemory API: don't enable rolling friction by default for programmatic created rigid bodies
2016-10-07 17:52:14 -07:00
erwincoumans
0aa2bbfe07
Merge pull request #817 from erwincoumans/master
...
avoid wavefront obj texture index out-of-bounds (most obj out-of-boun…
2016-10-05 17:28:23 -07:00
erwin coumans
d59b0f05a4
expose b3PhysicsParamSetNumSolverIterations
...
split Visual Studio project generation batch file in regular and VR+pybullet+double precision build.
disable KUKA iiwa joint limit hack
2016-10-05 16:31:48 -07:00