Commit Graph

3836 Commits

Author SHA1 Message Date
erwincoumans
6523df336e Fix pybullet Windows build errors: C99 requires variables to be defined at the start of the function.
Improve CMake Windows support to build PyBullet (BUILD_PYBULLET)
Implement b3LoadSdfCommandInit in shared memory API
Implement pybullet SDF loading binding, in loadSDF API
TODO for SDF support is provide way to query object/link/joint information.
2016-06-13 10:11:28 -07:00
erwincoumans
ce9ae430f7 Merge pull request #652 from hellojas/renderImage
render image with ability to set pixel resolution and initial camera position
2016-06-11 10:54:19 -07:00
Jasmine Hsu
9c5a7925f0 add internal set matrix function 2016-06-10 15:14:00 -07:00
Jasmine Hsu
ecc192df94 render image with ability to set pixel resolution and initial camera position 2016-06-10 15:07:52 -07:00
Jasmine Hsu
b0c7c086e3 render image with ability to set pixel resolution and initial camera position 2016-06-10 15:07:41 -07:00
erwincoumans
33c04ce9c7 Merge pull request #651 from erwincoumans/master
fix flipped tinyrenderer image
2016-06-10 09:43:10 -07:00
Erwin Coumans
98d2f91f3c fix flipped tinyrenderer image 2016-06-09 12:12:46 -07:00
erwincoumans
a5fa8712ec Merge pull request #385 from lordloki/btCone
New btConeshape member functions setHeight and setRadius
2016-06-09 08:58:25 -07:00
erwincoumans
f5f4e1f3c0 Merge pull request #647 from erwincoumans/master
Support the <static> field under <model> in SDF, fix premake build system
2016-06-07 17:03:41 -07:00
Erwin Coumans
e0c3392cee don't pass width/height into renderObject 2016-06-07 17:02:47 -07:00
Erwin Coumans
d2e50d045b fix issues related to camera width/height
add width,height as arguments to pybullet.renderImage(x,y,[viewMat4x4],[projMat4x4])
2016-06-07 16:11:58 -07:00
Erwin Coumans
bd668d11b0 add .stl file support in 'File/Open' of example browser. 2016-06-07 12:57:46 -07:00
Erwin Coumans
1c7f87aff1 implement first draft of pybullet.renderImage for synthetic camera
remove a few debug printf from tinyrenderer
2016-06-06 18:54:05 -07:00
Erwin Coumans
8076d5235c fix window resize/width bookkeeping bug in MacOpenGLWindow.mm 2016-06-04 21:51:21 -07:00
Erwin Coumans
612e46614a fix (unused) SSE operator btMatrix3x3 ==, thanks to yyzone for the report/fix.
fixes 552
2016-06-04 13:16:06 -07:00
erwin coumans
4b2c0f6d89 make one of the cubes in two_cubes.sdf static (immovable) using the <static> tag in SDF
add an example using 'direct'
fix the send-desired-state commands, to add flags for arguments set, using default values.
Start exposing SDF loading in shared memory api, not fully implemented yet.
2016-06-03 19:03:56 -07:00
erwin coumans
0b69ba7f61 Support the <static> field under <model> in SDF to make the model immovable, similar to setting the mass to zero.
Add joint velocity motors in ImportSDF example.
2016-06-02 18:04:22 -07:00
Erwin Coumans
5bf125cab5 fix some compile issues using premake
use textured cube/sphere model for test
2016-06-02 13:54:52 -07:00
erwincoumans
68932b0c0a Merge pull request #646 from erwincoumans/master
initial hookup of TinyRenderer to shared memory interface
2016-06-01 18:24:43 -07:00
Erwin Coumans
aa4d2ae01d initial hookup of TinyRenderer to shared memory interface 2016-06-01 17:47:41 -07:00
erwincoumans
dcc909133f Merge pull request #644 from erwincoumans/master
preparation to receive camera image data from physics server
2016-06-01 11:50:48 -07:00
erwin coumans
9a5394c4bc fix cmake build 2016-06-01 11:07:39 -07:00
erwin coumans
ef85a71d4b more work on synthetic camera 2016-06-01 11:04:10 -07:00
erwin coumans
f469a2cb49 update to tinyrenderer synthetic camera 2016-05-31 22:55:13 -07:00
erwin coumans
14aa666c6f preparation to receive camera image data from physics server
increase shadowmap world size default to 50 units (meter), 10 units (meter) was too small for most examples.
2016-05-31 10:23:04 -07:00
erwincoumans
f94809417c Merge pull request #642 from erwincoumans/master
Preliminary working version of TinyRenderer without OpenGL/X11. Fix pybullet getPositionAndOrientation crash.
2016-05-26 22:00:18 -07:00
Erwin Coumans
de9bd65c19 fix compile issues 2016-05-26 19:22:26 -07:00
Erwin Coumans
098e0158ea fix compile issue(s) in BT_USE_DOUBLE_PRECISION mode 2016-05-26 18:21:57 -07:00
erwin coumans
0d50d8c73b Preliminary working version of TinyRenderer for standalone demos,
it works without OpenGL dependency now, so it runs in the cloud :-)
Add scaling support for TinyRenderer, remove some un-used normal mapping in TinyRenderer shader, expose light_dir_world,
remove accidental hard-coded path in tga write_tga_file,
Fix InverseDynamicsExampleCreateFunc, enum has to start at 0
2016-05-26 17:36:01 -07:00
erwin coumans
68545fb71a fix pybullet.getPositionAndOrientation crash/issues 2016-05-26 15:58:10 -07:00
erwincoumans
f34b421095 Merge pull request #640 from erwincoumans/master
fix build3/stringify.sh
2016-05-25 17:37:33 -07:00
Erwin Coumans
c6bf3a7261 revert sat contact kernels update 2016-05-25 17:14:30 -07:00
Erwin Coumans
535ee33e3b fix build3/stringify.sh
fix some compile issues
2016-05-25 15:37:28 -07:00
erwincoumans
16fc02c2ca Merge pull request #639 from erwincoumans/master
add pybullet.getBasePositionAndOrientation
2016-05-24 16:07:19 -07:00
Erwin Coumans
bd1620eda8 add pybullet.getBasePositionAndOrientation
add missing file to pybullet CMakeLists.txt
2016-05-24 15:29:26 -07:00
erwincoumans
3d5786ea4f Merge pull request #638 from erwincoumans/master
Update URDFImporterInterface.h
2016-05-24 10:44:31 -07:00
erwincoumans
ef19248daf Update URDFImporterInterface.h 2016-05-24 10:30:04 -07:00
erwincoumans
b3cb767722 Merge pull request #637 from erwincoumans/master
avoid API change in URDFImporterInterface
2016-05-24 09:48:13 -07:00
Erwin Coumans
42d3f42b9f re-add CMakeLists.txt accidently removed 2016-05-24 09:09:37 -07:00
Erwin Coumans
b1adc0d9ef avoid API change in URDFImporterInterface
fix .obj texture loading issue
2016-05-24 09:01:03 -07:00
Erwin Coumans
9bd88e5727 move some easy-to-use build files for Mac OSX, Linux and Windows
in the root directory.
2016-05-21 10:45:08 -07:00
erwincoumans
5041c75d5f Merge pull request #635 from erwincoumans/master
prepare support for VR, synthetic robotics camera, arbitrary robotics renderer
2016-05-20 14:19:22 -07:00
erwin coumans
2fc0358750 Expose a better API to allow any render engine to be used for the physics simulation when loading URDF/SDF files.
See bullet3/examples/Importers/ImportURDFDemo/DefaultVisualShapeConverter.h
Give the kuka_iiwa/model.urdf some blue color, not just orange, to mimick the original a bit better
Preparation for the CMD_CAMERA_IMAGE_COMPLETED command, to expose a virtual camera to the robotics API
2016-05-19 18:37:15 -07:00
erwin coumans
f4775c360f Merge branch 'master' of https://github.com/erwincoumans/bullet3 2016-05-19 09:19:44 -07:00
erwin coumans
b961545292 prepare support for VR 2016-05-19 09:19:36 -07:00
erwincoumans
c87a43c2b1 Merge pull request #634 from erwincoumans/master
fix issue, some paths didn't return a value
2016-05-19 09:17:22 -07:00
erwin coumans
9cc028d44c fix issue, some paths didn't return a value 2016-05-19 09:16:47 -07:00
erwincoumans
e4aff80948 Merge pull request #633 from erwincoumans/master
work-in-progress tinyrenderer -> shared memory API synthetic camera
2016-05-19 09:16:04 -07:00
Erwin Coumans
cf1012aa3d minor update in TinyRenderer example 2016-05-18 18:32:13 -07:00
Erwin Coumans
c2a5b08e35 add a few test files for TinyRenderer software renderer 2016-05-18 17:58:44 -07:00