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
erwincoumans
5e52760fbd
Merge pull request #873 from erwincoumans/master
...
fix pybullet:getClosestPoints, add pybullet:get/resetBaseVelocity
2016-11-28 16:18:30 -08:00
Erwin Coumans
2d42c7963a
add pybullet getBaseVelocity / resetBaseVelocity
...
C-API b3CreatePoseCommandSetBaseLinearVelocity/b3CreatePoseCommandSetBaseAngularVelocity
2016-11-28 15:11:34 -08:00
Erwin Coumans
2e372a525e
remove duplicate 'setTimeStep' in pybullet.c
2016-11-28 12:36:52 -08:00
yunfeibai
d48b03f23b
Use the barycentric coordinate to get the coordinate in shadow buffer.
2016-11-28 10:13:09 -08:00
yunfeibai
0bc4e0a4c3
Render multiple objects with shadow.
2016-11-27 16:53:15 -08:00
yunfeibai
583dc1cac7
Add torus.
2016-11-27 15:34:01 -08:00
yunfeibai
529274a3f4
Render shadow of torus with shadow buffer and index from triangle order.
2016-11-27 15:32:55 -08:00
yunfeibai
29809a4471
Render depth buffer.
2016-11-23 13:00:26 -08:00
Erwin Coumans
c0113310ca
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2016-11-23 09:59:50 -08:00
Erwin Coumans
bf22424853
Merge remote-tracking branch 'bp/master'
2016-11-22 11:18:19 -08:00
erwincoumans
0516d2ecaa
allow getClosestPoints for btCompoundCollisionAlgorithm and btSphereTriangleCollisionAlgorithm
...
add optional 'lightColor' arg to testrender.py script
2016-11-22 10:11:04 -08:00
Erwin Coumans
ca71b84913
fix uninitialized m_lightColor (see ExampleBrowser/Rendering/TinyRenderer, Software was black.
2016-11-21 22:33:23 -08:00
yunfeibai
24b3e137a6
Render shadow with depth from light.
2016-11-21 10:21:14 -08:00
erwincoumans
d4a18c5634
Update NN3DWalkers.cpp
...
the excessive stack-space requirements in printWalkerConfigs breaks some proprietary/internal build systems.
2016-11-21 10:18:48 -08:00
erwincoumans
659e36102d
Merge pull request #868 from erwincoumans/master
...
pybullet/shmem API: setDebugObjectColor
2016-11-21 10:11:00 -08:00
yunfeibai
5be4409a1a
Render shadow buffer.
2016-11-21 09:13:20 -08:00
erwincoumans
24c9020aac
Merge remote-tracking branch 'bp/master'
2016-11-21 07:42:33 -08:00
erwincoumans
0d5dcb3cc5
setDebugObjectColor
2016-11-21 07:42:11 -08:00
erwincoumans
1f35697152
Merge pull request #866 from erwincoumans/master
...
separate 'getClosestPointsAlgorithm', various pybullet improvements
2016-11-21 07:41:45 -08:00
erwincoumans
323609b087
Merge pull request #865 from YunfeiBai/master
...
Set light color.
2016-11-21 07:41:11 -08:00
Lunkhound
4300ef45a3
fix missing globals
2016-11-20 18:00:21 -08:00
Lunkhound
49b27f30bd
example browser: slider widget improvements
2016-11-20 16:38:11 -08:00
erwincoumans
1bc427df6b
fix compile issue when using VR
2016-11-20 16:22:20 -08:00
erwincoumans
f9c1e19587
revert 'addUserDebugLine/Text' to lockless rendering on main thread, at the cost of slower add/remove for now.
2016-11-20 15:38:42 -08:00
yunfeibai
be5b8a3d7b
Set light color in pybullet.
2016-11-20 13:14:18 -08:00
yunfeibai
93ba8af023
Add shared memory API to change light color.
2016-11-20 12:52:12 -08:00
erwincoumans
9ee1c4ec24
regular OR wireframe rendering, not both
...
add option to perform filtering of 'getClosestPoints' using linkA/linkB.
don't use 'realtimesimulation' as default
add/remove debug items within same thread
pybullet, report contact points and normal as [x,y,z] triplet/vector, not 3 scalars
separate 'getClosestPointsAlgorithm': box-box doesn't report closest points with positive distance, and the query shouldn't impact regular 'closesst points'
2016-11-19 17:13:56 -08:00
erwincoumans
936a104fb2
re-enable samurai.urdf loading for VR demo
2016-11-18 08:08:46 -08:00
erwincoumans
1db3d01851
Merge pull request #860 from lunkhound/pr-renamed-unique-id
...
collisionObject: renamed uniqueId to worldArrayIndex
2016-11-17 18:31:06 -08:00
erwincoumans
d9ebe381e9
Merge pull request #864 from erwincoumans/master
...
add pybullet getCameraImage, replacing renderImage, cleaner API:
2016-11-17 18:18:10 -08:00
erwin coumans
e98b35c5de
Merge remote-tracking branch 'bp/master'
2016-11-17 17:08:26 -08:00
erwincoumans
8c69fa13ca
add pybullet getCameraImage, replacing renderImage, cleaner API:
...
always pass in width, hight and viewMatrix, projectionMatrix, optionally lightDir
added helper methods computeViewMatrix, computeViewMatrixFromYawPitchRoll, computeProjectionMatrix, computeProjectionMatrixFOV
see Bullet/examples/pybullet/testrender.py + testrender_np.py for example use
add missing base_link.stl for husky.urdf
2016-11-17 15:15:52 -08:00
erwincoumans
3130e59974
Merge pull request #863 from erwincoumans/master
...
tweak quadruped script to make a few more moves
2016-11-17 11:05:20 -08:00
Erwin Coumans
ee7a5a470f
tweak quadruped script to make a few more moves
2016-11-16 21:36:51 -08:00
erwincoumans
6598c942ae
Merge pull request #862 from erwincoumans/master
...
add quadruped.py to initialize a Minitaur-like quadruped robot and humanoid/nao.urdf
2016-11-16 19:17:05 -08:00
erwincoumans
2329c00faa
Add RtMidi for midi control, use the --midi option in premake, and see
...
update to OpenVR sdk 1.03 from https://github.com/ValveSoftware/openvr
add camPosX/Y/Z and camRotZ to adjust relative camera/world transform for VR (so you can align virtual table with real table etc)
tweak quadruped.py to move a bit
add mouse picking to physics server
2016-11-16 16:12:59 -08:00
Erwin Coumans
b4b93573fc
tweak quadruped.py script a little bit
2016-11-14 17:02:29 -08:00
Erwin Coumans
0092a1a55d
fix API to use b3InitCreateUserConstraintCommand instead of b3CreateJoint
2016-11-14 16:14:27 -08:00
Erwin Coumans
7aefe56def
Merge remote-tracking branch 'bp/master'
2016-11-14 16:10:06 -08:00
erwin coumans
d0cbfc5905
add humanoid/nao.urdf (BSD license)
2016-11-14 14:09:57 -08:00
erwin coumans
c0fb98861d
add quadruped.py script to load and initialize the a Minitaur-like quadruped
...
pybullet removeConstraint, createConstraint
rename b3CreateJoint to b3InitCreateUserConstraintCommand
add int b3GetStatusUserConstraintUniqueId(b3SharedMemoryStatusHandle statusHandle);
b3SharedMemoryCommandHandle b3InitRemoveUserConstraintCommand(b3PhysicsClientHandle physClient, int userConstraintUniqueId);
2016-11-14 14:08:05 -08:00