bullet3/examples
Tigran Gasparian c062bfc2d5 Removes visual shape data when a body gets removed.
Problem description:
When you add a body, remove it and then add a new
body, the body id may be reused by Bullet.
Because the visual shape data was not being removed when a body was
removed, requesting the visual shape data for a 'recycled' body id
results in both the visual shape data of the new body as well as the old
one.
Removing the visual shape data when the body gets removed fixes this.

Changes the btAlignedObjectArray for visual shapes to a hashmap, so
that removing is faster. Additionally, functions like getNumVisualShape
don't perform a linear search anymore.
2018-08-31 15:12:28 +02:00
..
BasicDemo CMakeLists glew to glad 2018-02-20 21:09:31 -08:00
Benchmarks Merge remote-tracking branch 'upstream/master' 2017-06-02 18:26:04 -07:00
Collision Add pybullet transparent.py example, transparency with global per-object sort in GLInstancingRenderer 2017-06-24 19:38:31 -07:00
CommonInterfaces after picking in a multibody demo, allow sleeping for rigid bodies 2018-08-26 18:07:28 -07:00
Constraints Fix for #1582 2018-03-05 23:05:22 +01:00
DynamicControlDemo Swap yaw and pitch in camera computation. Add functions to convert view matrix to camera position, and camera position to camera yaw pitch roll. 2017-06-01 15:30:37 -07:00
Evolution revert due to crashes on windows, when simulation speed is increased 2017-06-05 14:15:51 -07:00
ExampleBrowser add missing SerialChains.cpp file to premake4.lua 2018-08-09 16:30:20 -07:00
Experiments/ImplicitCloth enable URDF loading throught the 'File/Open' menu 2015-05-01 11:42:14 -07:00
ExtendedTutorials Fix simple cloth example. Closes #1606 2018-03-21 18:52:59 -07:00
ForkLift Swap yaw and pitch in camera computation. Add functions to convert view matrix to camera position, and camera position to camera yaw pitch roll. 2017-06-01 15:30:37 -07:00
FractureDemo Swap yaw and pitch in camera computation. Add functions to convert view matrix to camera position, and camera position to camera yaw pitch roll. 2017-06-01 15:30:37 -07:00
GyroscopicDemo Swap yaw and pitch in camera computation. Add functions to convert view matrix to camera position, and camera position to camera yaw pitch roll. 2017-06-01 15:30:37 -07:00
HelloWorld Fix for issue 1007 2017-03-13 11:00:56 -07:00
Importers Fix some deactivation issues with btMultiBodyDynamicsWorld, should also improve performance for PyBullet with larger worlds 2018-08-26 16:14:36 -07:00
InverseDynamics premake build system fixes 2018-01-09 12:23:25 -08:00
InverseKinematics Implement first pass of transparent graphics object for GLInstancingRenderer 2017-06-24 13:41:33 -07:00
LuaDemo fix Lua example 2016-03-10 21:15:23 -08:00
MultiBody fix parameter mismatch in SerialChains.cpp 2018-08-09 17:15:54 -07:00
MultiThreadedDemo 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
MultiThreading fix some tsan issues (thread sanitizer) 2018-05-16 08:32:21 -07:00
OpenCL add saveStateToMemory/restoreStateFromMemory/setAdditionalSearchPath/getAPIVersion to Bullet Robotics API. 2018-06-09 13:54:22 -07:00
OpenGLWindow PyBullet: add option to cache graphics shapes for URDF files, handy for benchmarks with many duplicate robots 2018-05-23 13:26:00 +10:00
Planar2D Swap yaw and pitch in camera computation. Add functions to convert view matrix to camera position, and camera position to camera yaw pitch roll. 2017-06-01 15:30:37 -07:00
pybullet fix tab/space issue in Python file 2018-08-26 17:17:42 -07:00
Raycast Swap yaw and pitch in camera computation. Add functions to convert view matrix to camera position, and camera position to camera yaw pitch roll. 2017-06-01 15:30:37 -07:00
RenderingExamples pybullet.getCameraImage: preparation to expose link index in segmentation mask buffer 2017-12-28 10:18:35 -08:00
RigidBody Swap yaw and pitch in camera computation. Add functions to convert view matrix to camera position, and camera position to camera yaw pitch roll. 2017-06-01 15:30:37 -07:00
RoboticsLearning fix getLinkState usage 2018-06-12 17:00:16 -07:00
RobotSimulator add missing pthread link in App_HelloBulletRobotics 2018-06-16 10:20:43 -07:00
RollingFrictionDemo Remove debug code. 2017-06-02 17:40:50 -07:00
SharedMemory Removes visual shape data when a body gets removed. 2018-08-31 15:12:28 +02:00
SimpleOpenGL3 update imgui test 2018-02-24 14:57:49 -08:00
SoftDemo remove some debug globals from third_party/bullet 2018-06-23 22:01:41 -07:00
StandaloneMain App_PhysicsServer_SharedMemory_VR: expose max_num_object_capacity and max_shape_capacity_in_bytes (and shared_memory_key) 2018-04-30 23:01:15 +02:00
ThirdPartyLibs fix some incompatibilities between google3/third_party/GL,EGL, glad 2018-05-03 09:06:30 -07:00
TinyAudio Add C++ version VRGloveSimulatorMain example, using the serial library. 2017-05-01 22:35:33 -07:00
TinyRenderer add segmask_linkindex.py example using p.getCameraImage(320,200,flags=p.ER_SEGMENTATION_MASK_OBJECT_AND_LINKINDEX) 2017-12-28 12:37:07 -08:00
Tutorial Fix for #1582 2018-03-05 23:05:22 +01:00
TwoJoint prepare build system(s) for collisionFilterPlugin 2018-07-27 15:48:24 +02:00
Utils prepare build system(s) for collisionFilterPlugin 2018-07-27 15:48:24 +02:00
Vehicles Swap yaw and pitch in camera computation. Add functions to convert view matrix to camera position, and camera position to camera yaw pitch roll. 2017-06-01 15:30:37 -07:00
VoronoiFracture Swap yaw and pitch in camera computation. Add functions to convert view matrix to camera position, and camera position to camera yaw pitch roll. 2017-06-01 15:30:37 -07:00
CMakeLists.txt added TwoJoint example 2017-11-26 20:38:50 -05:00