Commit Graph

4445 Commits

Author SHA1 Message Date
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
yunfeibai
24b3e137a6 Render shadow with depth from light. 2016-11-21 10:21:14 -08:00
yunfeibai
5be4409a1a Render shadow buffer. 2016-11-21 09:13:20 -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
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
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
erwincoumans
361d398856 Merge pull request #859 from erwincoumans/master
pybullet loadBullet/saveBullet, allow ExampleBrowser with --opengl2 fallback with z-up axis,
2016-11-14 08:51:07 -08:00
Erwin Coumans
c521d816c6 add user debug line/text features in pybullet + shared memory API:
addUserDebugLine,
addUserDebugText
removeUserDebugItem
removeAllUserDebugItems
2016-11-14 07:39:34 -08:00
Lunkhound
2f4ec4f8c9 collisionObject: renamed uniqueId to worldArrayIndex; removed linear search in removeCollisionObject 2016-11-12 12:41:55 -08:00
erwincoumans
d49e3d787a fix rolling/spinning friction in raytest demo. 2016-11-12 12:24:20 -08:00
erwincoumans
9bad64fed9 allow obsolete OpenGL2 drawer to render with z-up axis. 2016-11-12 11:59:40 -08:00
erwin coumans
7577c6d893 add pybullet loadBullet, saveBullet (work-in-progress) and placeholder for loadMJCF. 2016-11-11 18:07:42 -08:00
erwin coumans
b150edf76b Merge remote-tracking branch 'bp/master' 2016-11-11 14:45:09 -08:00
erwin coumans
35fc8306fd pybullet load/save .bullet files 2016-11-11 14:44:50 -08:00
Erwin Coumans
3b5d0f444b various fixes
move btSimulationIslandManagerMt.cpp from BulletCollision to BulletDynamics
2016-11-10 16:18:20 -08:00
erwincoumans
fd90589cc2 disable dead code 2016-11-10 15:44:03 -08:00
erwincoumans
02c781e56b disable dead code 2016-11-10 15:42:55 -08:00
erwincoumans
4c2c2bf74b Merge pull request #858 from erwincoumans/master
pybullet getClosestPoints collision query. center gripper (1 version)
2016-11-10 12:08:17 -08:00
erwincoumans
9b5aa9a723 pybullet getOverlappingObjects added: report all object unique ids within a world space bounding box (aabb) 2016-11-10 11:22:22 -08:00
erwincoumans
b16d9abddd center the gripper
fix collision issue, introduced in previous commit (uninitialized new variable)
2016-11-09 22:14:04 -08:00
erwincoumans
6661b8d977 Merge branch 'master' of https://github.com/erwincoumans/bullet3 2016-11-09 21:01:11 -08:00
erwincoumans
0d47d61007 pybullet getClosestPoints 2016-11-09 21:01:04 -08:00
erwincoumans
e65f9af230 Merge pull request #857 from erwincoumans/master
fix compile issues
2016-11-09 12:56:06 -08:00
Erwin Coumans
6701947684 fix compile issues 2016-11-09 12:22:05 -08:00
Erwin Coumans
2bb53b311d silence warning 2016-11-07 21:13:48 -08:00
erwincoumans
f54cee55d5 Merge pull request #856 from erwincoumans/master
move CommonRigidBodyMTBase out of interfaces, into MultiThreadedDemo.
2016-11-07 18:46:44 -08:00
Erwin Coumans
34f9dd09c9 remove CommonRigidBodyBase.cpp 2016-11-07 18:30:47 -08:00
erwincoumans
4235c61fcf move CommonRigidBodyMTBase out of interfaces, into MultiThreadedDemo. 2016-11-07 12:08:02 -08:00
erwincoumans
5d1babea38 Merge pull request #855 from erwincoumans/master
add proper 'App_PhysicsServerUDP' without shared memory usage, and re…
2016-11-07 08:48:23 -08:00
erwincoumans
ec78184604 Update README.md 2016-11-07 08:42:39 -08:00
Erwin Coumans
c1f728ec86 immediately propagate forward kinematics + collision world transform, after 'INIT_POSE' command 2016-11-06 15:02:07 -08:00
erwincoumans
dced3521a2 Merge pull request #848 from Kotolegokot/master
Fix a little typo
2016-11-06 13:45:13 -08:00
erwin coumans
6a0f095d5b add proper 'App_PhysicsServerUDP' without shared memory usage, and renamed previous one into 'App_PhysicsServerSharedMemoryBridgeUDP'
(premake only, no cmake build rules yet)
2016-11-06 11:01:55 -08:00
erwincoumans
0bf3a96365 Merge pull request #852 from YunfeiBai/master
Fix memory leak in IK.
2016-11-05 13:31:31 -07:00
erwincoumans
c738e2269e Merge pull request #853 from erwincoumans/master
add UDP network connection for physics client <-> server
2016-11-05 13:30:45 -07:00
erwincoumans
214930922d make sure m_uniqueIdGenerator in btSerializer is initialized to zero, it can cause issues if not. 2016-11-05 12:53:40 -07:00