Erwin Coumans
d7d4fe5c45
fix compile issue (use constructor)
2016-12-28 22:24:03 -08:00
Erwin Coumans
ac02acc2f3
fix compile issue (btMin requires same types, no conversion, just replace with < = combo)
2016-12-28 22:10:03 -08:00
Erwin Coumans
82995a8343
pybullet, more robust multi-server connections
...
Windows shared memory: allow to use custom key.
Improve GUI performance on Windows, submit letters in text as a batch (fewer draw-calls)
quadruped.py: first try to connect to SHARED_MEMORY, if it fails (<0) use GUI
increase Chrome about://tracing json export capacity (press 'p' in Example Browser)
UDP physics server: add --port and --sharedMemoryKey command-line arguments
PhysicsServerExample: add --sharedMemoryKey command-line option (for VR example too)
ExampleBrowser: sleep a few milliseconds if rendering is too fast, use --minUpdateTimeMicroSecs=0 to disable
2016-12-28 21:51:54 -08:00
Erwin Coumans
da2cc483b4
pybullet: allow to connect to multiple physics servers, while maintaining backwards compatibility. connect method returns an integer 'physicsClientId'. This can be passed as optional argument to each method (except for a few 'obsolete' ones.
2016-12-27 20:25:52 -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
a4cf0c8b11
Linux clock_gettime needs rt / librt, so put it behind BT_LINUX_REALTIME for now.
2016-12-26 22:00:39 -08:00
Erwin Coumans
7aa7c4dfee
Linux needs #include <time.h>?
...
/home/travis/build/bulletphysics/bullet3/src/LinearMath/btQuickprof.cpp:251:19: error: ‘CLOCK_REALTIME’ was not declared in this scope
/home/travis/build/bulletphysics/bullet3/src/LinearMath/btQuickprof.cpp:251:37: error: ‘clock_gettime’ was not declared in this scope
2016-12-26 21:15:59 -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
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