erwincoumans
a5ecbbc682
Merge pull request #898 from erwincoumans/master
...
many pybullet / VR improvements
2016-12-27 15:57:17 -08:00
e655fead29
fix CMakeLists.txt for BasicDemoGui on WIN32
2016-12-27 15:12:25 -08:00
291d35ea6e
fix some linux issues (cmake doesn't need to link against OpenGL, X11, Xext since we dynamically load those
...
move some structures to global namespace
2016-12-27 13:20:12 -08:00
Erwin Coumans
018aa08bf8
suppress Linux error related to PRIu64/__STDC_FORMAT_MACROS
2016-12-26 22:55:28 -08:00
Erwin Coumans
178a002cb5
prev -> prevPosition
2016-12-26 22:40:08 -08:00
Erwin Coumans
b55d76acbc
clarify field names in vrEvent.py
2016-12-26 22:36:53 -08:00
Erwin Coumans
c378d236bb
make the event fields understandable
2016-12-26 22:31:41 -08:00
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
Lunkhound
f7ccf7e5a7
example browser: restore on-screen text
2016-12-20 01:15:39 -08:00
Lunkhound
a10244e1ab
MultiThreadedDemo: make the ground a kinematic object that can shake
2016-12-19 21:31:18 -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
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
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
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
yunfeibai
4af7ee3b2e
Fix a bug when rendering texture.
2016-12-09 17:17:24 -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
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
Erwin Coumans
e20c487e52
fix backward compatibility issue with pybullet:loadURDF
2016-12-01 09:51:28 -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
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
Erwin Coumans
746c4d0d2a
add a tray, similar to those ones:
...
https://research.googleblog.com/2016/03/deep-learning-for-robots-learning-from.html
tune the VR demo a bit, to make it more user friendly.
2016-11-29 17:08:47 -08:00
yunfeibai
e8ff969a6f
Merge remote-tracking branch 'upstream/master'
2016-11-29 14:17:38 -08:00
yunfeibai
0cb2b21b5f
Add pybullet API for shadow.
2016-11-29 14:10:07 -08:00
yunfeibai
b40c9cde96
Add torus shadow render example.
2016-11-29 13:50:49 -08:00
yunfeibai
1fbd78ece5
Add shared memory API for setting shadow and light source distance.
2016-11-29 13:19:35 -08:00
yunfeibai
8aa90a7427
Refactor shader and render pipeline code.
2016-11-29 12:53:50 -08:00
yunfeibai
86c5dfe8f4
Fix the light color issue in box rendering example.
2016-11-29 11:43:52 -08:00
yunfeibai
5fe36ca200
Clean global variables.
2016-11-29 11:11:41 -08:00
Erwin Coumans
8de35cf01c
remove prefix/postfix from pybullet, so it becomes pybullet.so and pybullet_d.so in debug mode (and on Windows, pybullet.pyd and pybullet_d.pyd)
...
fix build_cmake_pybullet_win32.bat, so it links against correct version of pythonx.lib pythonx_d.lib. Still, I would prefer using premake on Windows, it has more native Visual Studio features.
2016-11-29 09:09:35 -08:00