Commit Graph

4525 Commits

Author SHA1 Message Date
Erwin Coumans
9c12e4edb0 don't reset the simulation (in C++), when pressing some VR button
add some little tests in vrEvent.py
2016-12-26 21:08:10 -08:00
Erwin Coumans
826c5854a8 See also pybullet quickstart guide here: https://docs.google.com/document/d/10sXEhzFRSnvFcl3XxNGhnD4N2SedqwdAvK3dsihxVUA/edit#
vrevent.py: add a Tiltbrush-style drawing example using pybullet
Expose getVREvents to pybullet / shared memory API, access to any VR controller state & state changes.
Improve performance of user debug lines (pybullet/shared memory API) by batching lines with same color/width
expose rayTest to pybullet/shared memory API (single ray for now)
add pybullet getMatrixFromQuaterion
2016-12-26 19:40:09 -08:00
Erwin Coumans
e592290f4c tweaks/fixes in about://tracing performance data generator (press and hold 'p' in example browser, release 'p' will save the file 'timingsX.json') 2016-12-23 21:56:31 -08:00
Erwin Coumans
0917310521 add nanosecond resolution for Mac OSX clock / about://tracing timings 2016-12-23 18:18:35 -08:00
Erwin Coumans
4c06fd27b3 Example Browser: add option (keypress 'p') to dump json timing profile trace, that you can open using Chrome about://tracing
Make btQuickprof thread safe
Add option in btQuickprof to override custom timing profile (btSetCustomEnterProfileZoneFunc, btSetCustomLeaveProfileZoneFunc)
remove b3Printf in a user/physics thread (those added added, while drawing the GUI running in the main thread)
2016-12-23 15:20:04 -08:00
Erwin Coumans
da7ae53941 render regular view on desktop in VR, instead of distortion view. 2016-12-20 17:34:12 -08:00
erwincoumans
e71560a2ee Merge pull request #892 from erwincoumans/master
Fix contact normal issue if disabling/using small margins, See Issue …
2016-12-19 16:01:26 -08:00
Erwin Coumans
e0c46f4b1a Fix contact normal issue if disabling/using small margins, See Issue #889
See Issue #889 : GJK/EPA: use smaller tolerances in BT_USE_DOUBLE_PRECISION mode
2016-12-18 18:37:53 -08:00
erwincoumans
b9f1a5da5c Merge pull request #890 from erwincoumans/master
(finally!) add option to terminate PGS constraint solvers based on a least square residual threshold
2016-12-18 17:03:46 -08:00
Erwin Coumans
379a852f93 fix compile issues 2016-12-16 18:43:21 -08:00
Erwin Coumans
8ff1e55166 disable VERBOSE_RESIDUAL_PRINTF 2016-12-16 18:12:33 -08:00
Erwin Coumans
dcd02a1e15 add option to terminate PGS constraint solvers based on a least square residual threshold
(for example solverInfo().m_leastSquaresResidualThreshold = 1e-7 and use large m_numSolverIterations
disable sphere-sphere contact cache, it is buggy (some contact point stay in the cache, when sphere penetrates more than total margins)
tweak some gpu demo settings
2016-12-16 18:09:52 -08:00
Erwin Coumans
38b10137c9 allow to terminate btSolveProjectedGaussSeidel MLCP solver based on a least squares residual threshold (m_leastSquaresResidualThreshold) 2016-12-16 14:30:12 -08:00
erwincoumans
75633d5d14 Merge pull request #887 from erwincoumans/master
update to OpenVR 1.04 and premake5.exe
2016-12-15 18:13:58 -08:00
Erwin Coumans
5630a63848 remove 'Kuka' postfix from pybullet.calculateInverseKinematics
add basic pybullet quickstart pdf documentation
2016-12-14 21:11:53 -08:00
Erwin Coumans
9ae40a59ba export joint types in pybullet for pybullet.createConstraint
revert to premake4.exe, the targetsuffix etc doesn't seem to work in premake5.exe
2016-12-14 20:44:10 -08:00
erwin coumans
a393074793 update to latest OpenVR 1.04 (and make minor API changes)
add premake5.exe (will remove premake4.exe soon)
2016-12-11 22:39:45 -08:00
erwin coumans
a96fca486b Merge branch 'master' of https://github.com/erwincoumans/bullet3 2016-12-11 18:43:13 -08:00
erwincoumans
0c26fee04d Merge pull request #886 from erwincoumans/master
some VR tweaks and bugfix for issue #878
2016-12-11 12:53:47 -08:00
Erwin Coumans
436fdd5dc2 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2016-12-11 09:28:53 -08:00
Erwin Coumans
17570c4700 tweak color of quadruped robot URDF, tweak quadruped.py script to make it more compatible with VR demo
allow VR physics server to run with or without 'realTimeSimulation'
2016-12-11 09:28:36 -08:00
Erwin Coumans
032e0fb3ce Merge branch 'master' of https://github.com/erwincoumans/bullet3 2016-12-11 09:17:04 -08:00
Erwin Coumans
710ac09b56 fix clearVelocities (should use 6+dofCount, not 6+numLinks
fixes issue 878
2016-12-11 09:16:18 -08:00
erwincoumans
e8f38df121 Merge pull request #885 from YunfeiBai/master
Fix a bug when rendering texture.
2016-12-09 17:32:30 -08:00
yunfeibai
4af7ee3b2e Fix a bug when rendering texture. 2016-12-09 17:17:24 -08:00
erwincoumans
191b56e687 Merge pull request #884 from YunfeiBai/master
Expose ambient, diffuse, and specular coefficients of the TinyRenderer light.
2016-12-09 08:56:26 -08:00
yunfeibai
388cba152e Fix error in integration test. 2016-12-07 11:41:55 -08:00
yunfeibai
9c4222ea9e Modify shader so that the color of the light and the shadow don't affect the ambient component. 2016-12-07 11:33:26 -08:00
yunfeibai
9cd27b8456 Add pybullet API for changing ambient, diffuse, and specular coefficients. 2016-12-06 15:38:09 -08:00
yunfeibai
c253c750b9 Expose ambient, diffuse and specular coefficient of the light. 2016-12-06 15:21:35 -08:00
yunfeibai
08b449f149 Adjust magic number to prevent z-fighting. 2016-12-06 13:36:41 -08:00
Erwin Coumans
27d38a1ba8 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2016-12-05 11:58:06 -08:00
Erwin Coumans
024ab6725b expose pybullet.setPhysicsEngineParameter(numSubSteps=int) 2016-12-05 11:54:56 -08:00
erwincoumans
61cfa18923 save default VR camera tuning, requires MIDI controller
tweak some values in VR demo
2016-12-02 17:44:00 -08:00
erwincoumans
383b30a4e4 reset also needs to reset iterations etc
move from 100 to 50 iterations for VR demo
2016-12-02 14:10:26 -08:00
erwincoumans
e5aea04e23 add back the 'swapBuffers' in VR demo (slightly lower performance, but easier to use demo.
fix issue related to TinyRenderer shadowbuffer API change
2016-12-02 13:23:50 -08:00
erwincoumans
08c9bf88e9 Merge pull request #882 from erwincoumans/master
expose numSubSteps to pybullet
2016-12-01 18:13:27 -08:00
erwincoumans
7d4f885be3 Merge pull request #881 from YunfeiBai/master
Restore TinyRenderObjectData API for backward compatibility
2016-12-01 18:12:53 -08:00
Erwin Coumans
6814e334a2 expose numSubSteps to pybullet 2016-12-01 17:54:52 -08:00
yunfeibai
bf83c77dab Merge remote-tracking branch 'upstream/master' 2016-12-01 16:48:22 -08:00
yunfeibai
a88272de1b Restore the old constructor for TinyRenderObjectData for backward compatibility. 2016-12-01 16:47:11 -08:00
erwincoumans
179c48cc58 Merge pull request #880 from erwincoumans/master
fix backward compatibility issue with pybullet:loadURDF
2016-12-01 09:52:05 -08:00
Erwin Coumans
e20c487e52 fix backward compatibility issue with pybullet:loadURDF 2016-12-01 09:51:28 -08:00
erwincoumans
b986e45417 Merge pull request #877 from erwincoumans/master
add <restitution> in <contact> settings of URDF/SDF etc
2016-11-30 22:49:57 -08:00
Erwin Coumans
15cda75130 add <restitution> in <contact> settings of URDF/SDF
allow 'useMaximalCoordinates' and 'useFixedBase' in pybullet.loadURDF.
enable split impulse for btRigidBody, even in btMultiBodyDynamicsWorld.
allow initialization of velocity and apply force for btRigidBody in pybullet/shared memory API.
process contact parameters in URDF also for btRigidBody (friction, restitution etc)
add pybullet.setPhysicsEngineParameter with numSolverIterations, useSplitImpulse etc.
2016-11-30 22:24:20 -08:00
erwincoumans
a5eda81e47 Merge pull request #867 from lunkhound/pr-slider-widget
example browser: slider widget improvements
2016-11-29 21:08:48 -08:00
erwincoumans
81d9305d8d Merge pull request #876 from erwincoumans/master
add a textured tray URDF/OBJ/MTL/JPG
2016-11-29 20:37:01 -08:00
Erwin Coumans
898517b1e3 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2016-11-29 19:14:20 -08:00
Erwin Coumans
32a3fb0b4d Merge remote-tracking branch 'bp/master' 2016-11-29 19:14:04 -08:00
erwincoumans
273f04e0de Merge pull request #875 from YunfeiBai/master
Add shadow to TinyRenderer.
2016-11-29 19:13:15 -08:00