Commit Graph

5056 Commits

Author SHA1 Message Date
yunfeibai
56f9c38226 Use float when clipping the shadow map index, because the index before clipping can be out of the range for int. 2017-04-25 18:28:56 -07:00
erwincoumans
a159709820 Merge pull request #1080 from erwincoumans/master
add option to calibrate individual fingers for the vr glove
2017-04-25 16:41:31 +00:00
Erwin Coumans
771b197131 add option to calibrate individual fingers for the vr glove 2017-04-25 09:40:18 -07:00
erwincoumans
1dd3a0f9c9 Merge pull request #1079 from erwincoumans/master
tinyrenderer: disable backface culling. expose lightpos to glinstancingrenderer. bump up pybullet setup.py version
2017-04-25 16:10:57 +00:00
Erwin Coumans
5ba6e11454 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-04-24 09:57:19 -07:00
Erwin Coumans
d41a2fdfd4 change hand.ino/py to match hardware changes (use pullup resistor, connect to gnd, instead of 5V + pull down resistor) 2017-04-24 09:56:27 -07:00
Erwin Coumans
552c85617f fix compile issue 2017-04-23 17:12:40 -07:00
Erwin Coumans
4759e5a590 tinyrenderer: disable triangle backface culling (doesn't work well, cull triangles that should be visible)
GLInstancingRenderer: allow to set the light position
2017-04-23 07:35:13 -07:00
Erwin Coumans
e8c1602232 add vrhand for vive tracker
tweak 'saveWorld' feature a bit (mjcf, gui fallback if shared memory server is not available)
2017-04-21 10:28:20 -07:00
Erwin Coumans
14edf72695 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-04-20 14:45:40 -07:00
Erwin Coumans
d2ff554e37 tweak hand.py script to automatically find the port on Windows (COM0 to COM30) and Mac OSX. 2017-04-20 14:44:47 -07:00
Erwin Coumans
87b0838624 Merge remote-tracking branch 'bp/master' 2017-04-20 13:10:55 -07:00
Erwin Coumans
c24b81dd68 Merge remote-tracking branch 'bp/master' 2017-04-20 09:32:30 -07:00
erwincoumans
5b789ed67b reduce max ray hits to 256 2017-04-19 12:06:26 -07:00
Erwin Coumans
8cc1f51862 Merge remote-tracking branch 'bp/master' 2017-04-17 19:58:24 -07:00
Erwin Coumans
e8a07e31e6 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-04-17 19:57:48 -07:00
erwincoumans
73b4c0092c Merge pull request #1076 from YunfeiBai/master
Modify the link index when computing Jacobian.
2017-04-18 01:03:33 +00:00
yunfeibai
a7068bb57a Modify the link index when computing Jacobian. Add a test for end effector orientation IK. Inverse dynamics Jacobian uses zero-based indexing of bodies, not starting from -1 for base. 2017-04-17 16:54:45 -07:00
erwincoumans
ee753eef6f Merge pull request #1073 from devnexen/build_fix_bsd
build fix for BSD systems
2017-04-17 18:19:10 +00:00
erwincoumans
381eace157 Merge pull request #1072 from erwincoumans/master
TinyRenderer, apply backface culling
2017-04-17 18:15:28 +00:00
Erwin Coumans
ad2099e107 address 2 issues pointed out by PVS-Studio:
https://github.com/bulletphysics/bullet3/issues/1074
2017-04-17 10:01:44 -07:00
Erwin Coumans
3c22e10456 Merge remote-tracking branch 'bp/master' 2017-04-17 09:48:51 -07:00
Erwin Coumans
2989217b65 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-04-17 07:46:45 -07:00
David Carlier
756568ad9c build fix for BSD systems 2017-04-16 17:53:44 +01:00
Erwin Coumans (google)
c2b80c562b fix TinyAudioExample 2017-04-14 19:33:52 +00:00
Erwin Coumans
eef76af663 create basic audio, towards sound sensors etc. 2017-04-14 12:22:38 -07:00
Erwin Coumans
747ccf2c85 bump up pybullet setup.py 2017-04-14 07:28:16 -07:00
Erwin Coumans
fec96ab17f pybullet setup.py: enable numpy if found 2017-04-13 12:46:16 -07:00
Erwin Coumans
c3cc53d5aa TinyRenderer, apply backface culling 2017-04-13 11:06:38 -07:00
erwincoumans
874d02d7aa Merge pull request #1070 from erwincoumans/master
re-create debug drawer after 'resetSimulation', also avoid memory lea…
2017-04-12 22:40:06 +00:00
Erwin Coumans
5158c1ae98 add python dumpLog.py utility to view log files created using 'startStateLogging'
don't enable <CTRL> for hotkeys yet
add some more profile markers
log objectId and linkIndex as signed int ('i') and not unsigned int 'I'
fix issue in startStateLogging: number of parameters was wrong
2017-04-12 15:02:47 -07:00
Erwin Coumans
f73b54e4ab testing ImGUI 2017-04-11 20:16:49 -07:00
Erwin Coumans
a43f3b026a testing ImGui, nice and simple!
https://github.com/ocornut/imgui
This would replace GWEN.
2017-04-11 17:10:25 -07:00
Erwin Coumans
80e87d5ccb re-create debug drawer after 'resetSimulation', also avoid memory leak after doing so.
this fixes wireframe.
Also use <CTRL>+hotkey, to avoid conflicts with user-specified keyboard functions.
2017-04-11 16:03:07 -07:00
erwincoumans
92a3444076 Update CMakeLists.txt
remove 'experimental' from Python bindings, since it has been in use for quite a while without issues.
2017-04-11 13:07:29 -07:00
erwincoumans
d201c422da Merge pull request #1069 from erwincoumans/master
fix typo
2017-04-11 19:24:48 +00:00
Erwin Coumans
fe199bea09 fix typo 2017-04-11 12:24:17 -07:00
erwincoumans
f17ba3bd8e Merge pull request #1068 from erwincoumans/master
pybullet: add support for Anaconda install on Mac OSX, for pip instal…
2017-04-11 19:19:13 +00:00
Erwin Coumans
0a42ad6a88 pybullet: add support for Anaconda install on Mac OSX, for pip install pybullet, python setup.py install and cmake.
Usage:

Also updated pypi to latest, see https://pypi.python.org/pypi?:action=display&name=pybullet&version=0.1.7
Here are a few options for Mac OSX + Anaconda:

1) In the root of the Bullet Physics SDK source tree, run
CFLAGS="-DB3_NO_PYTHON_FRAMEWORK" python setup.py install

2) cmake, add the flag -DBUILD_PYBULLET_MAC_USE_PYTHON_FRAMEWORK=OFF

3) Globally, just use pip or pip3:
CFLAGS="-DB3_NO_PYTHON_FRAMEWORK" pip install pybullet

Option (3) may have an out-of-date pybullet/bullet version.
2017-04-11 12:17:08 -07:00
erwincoumans
93bef00fba Merge pull request #1067 from erwincoumans/master
implement pybullet.getDebugVisualizerCamera, width, height, providing…
2017-04-10 19:39:06 +00:00
Erwin Coumans
bdf366b045 implement pybullet.getDebugVisualizerCamera, width, height, providing viewmatrix, projection matrix 2017-04-10 11:03:41 -07:00
erwincoumans
6237a73bfc Merge pull request #1065 from erwincoumans/master
apply the deviceTypeFilter also to VR state logging.
2017-04-09 03:09:56 +00:00
Erwin Coumans
82b6bc8770 apply the deviceTypeFilter also to VR state logging. 2017-04-08 11:48:12 -07:00
erwincoumans
39f9ff5490 Merge pull request #1064 from erwincoumans/master
also report VR events for HMD and generic tracked devices.
2017-04-08 17:50:44 +00:00
erwincoumans
2e47310e76 fix enum (has to be power of 2, to allow combination of devices)
add vrtracker.py
2017-04-08 10:37:32 -07:00
Erwin Coumans
8b2491f84f Merge branch 'master' of https://github.com/erwincoumans/bullet3 2017-04-07 22:54:04 -07:00
Erwin Coumans
440d445a02 also report VR events for HMD and generic tracked devices. Also expose those VR events to pybullet: expose a deviceTypeFilter, that defaults to VR_DEVICE_CONTROLLER 2017-04-07 22:53:36 -07:00
erwincoumans
e1874c6b54 Update MacOpenGLWindow.cpp 2017-04-06 22:41:04 -07:00
erwincoumans
c8cdedcd75 Merge pull request #1063 from erwincoumans/master
TinyRenderer: implement triangle clipping against near-plane, uv repeat
2017-04-07 04:44:28 +00:00
Erwin Coumans
82b576a390 fixed a bug that prevented kitchens/1.sdf to render properly (local scaling was double applied)
disable some left-over clipping that was moved to another part of the code
2017-04-06 21:13:23 -07:00