Commit Graph

155 Commits

Author SHA1 Message Date
Erwin Coumans
9bfca83a8f rename tiny_obj_loader.h namespace to bt_tinyobj to avoid conflicts 2022-02-24 08:32:34 -08:00
Erwin Coumans
e3b98615f1 add Eigen-3.4 2021-11-11 21:06:39 -08:00
Erwin Coumans
6088293149 update to Eigen 3.4.0, to fix Issue 4013 2021-11-05 21:08:24 -07:00
Vaclav Brozek
364e98c92d Optimize calls to find*() for a single char.
The character literal overload is more efficient.
2021-03-02 18:59:31 +01:00
erwincoumans
abea1a8484
Create LICENSE.txt 2021-02-08 08:06:16 -08:00
erwincoumans
af6aa5fb99
Create LICENSE.txt 2021-02-08 08:05:46 -08:00
erwincoumans
c3f137773b
Create LICENSE.txt 2021-02-08 08:05:22 -08:00
erwincoumans
ecbbf24d2a
Create LICENSE.txt 2021-02-08 08:04:10 -08:00
erwincoumans
1257ab5915
Create LICENSE.txt 2021-02-08 08:03:23 -08:00
erwincoumans
b582287943
Create LICENSE.txt 2021-02-08 08:02:52 -08:00
erwincoumans
7a6fb20da8
Create LICENSE.txt 2021-02-08 08:02:02 -08:00
erwincoumans
a061644454
Create LICENSE.txt 2021-02-08 08:01:18 -08:00
erwincoumans
643f9c90be
Create LICENSE.txt 2021-02-08 08:00:22 -08:00
erwincoumans
5d149250ba
Create LICENSE.txt 2021-02-08 07:58:30 -08:00
erwincoumans
062860e455
Create LICENSE.txt 2021-02-08 07:57:53 -08:00
erwincoumans
1fbee5299a
Create LICENSE.txt 2021-02-08 07:57:25 -08:00
erwincoumans
6ad7e8fa6e
Create LICENSE.txt 2021-02-08 07:57:00 -08:00
erwincoumans
3b52be333b
Create LICENSE.txt 2021-02-08 07:56:27 -08:00
erwincoumans
70d7063249
Create LICENSE.txt 2021-02-08 07:55:45 -08:00
Erwin Coumans
0f05edf1ae fix #ifdef in clsocket 2020-12-02 18:01:02 -08:00
r-a-sattarov
c4073179a2 X11: added define for MCST e2k (Elbrus 2000) architecture 2020-10-28 22:01:40 +03:00
r-a-sattarov
73599ba199 E2K: fixed build by MCST lcc compiler when using BUILD_EXTRAS=ON option 2020-09-14 22:22:45 +03:00
Erwin Coumans
1452cae641 * add textured models of ball.vtk (obj/mtl) and torus (obj/mtl) and cloth.
1) allow to render deformables in 'getCameraImage', for TinyRenderer (tested OK) and EGL (untested)
2) allow to have textures for deformables. See deformable_ball.py, deformable_anchor.py and deformable_torus.py for examples
3) deformables: allow to request simulation mesh data (even if there is a render mesh) See deformable_anchor.py for an example usage
   data = p.getMeshData(clothId, -1, flags=p.MESH_DATA_SIMULATION_MESH)
4) fix deletion of deformables, thanks to Fychuyan, https://github.com/bulletphysics/bullet3/pull/3048
5) allow to enable and disable double-sided rendering, p.changeVisualShape(objectUid, linkIndex, flags=p.VISUAL_SHAPE_DOUBLE_SIDED)
6) fix GripperGraspExample, model not found
7) Fix deformable anchor not attaching to multibody with object unique id of 0
8) Fix issue with assignment of unique ids in TinyRenderer/EGL renderer (always use broadphase uid)
9) Avoid crash/issue of simulation with pinned vertices (mass 0) in btDeformableBackwardEulerObjective::applyExplicitForce
10) Store uv/normal in btSoftBody::RenderNode to allow textured meshes
11) (uncomment in btSoftBodyHelpers.cpp): dump vertices and indices in obj wavefront format, when loading a VTK file, for quicker creation of a (textured) surface mesh
12) allow interpolateRenderMesh also for old position-based soft bodies (not only the shiny new FEM deformables)
13) fix a few premake targets
14) update build_visual_studio_vr_pybullet_double_cmake.bat so it suits c:\python37 and installs locally
    for local install of Bullet, see also this example https://github.com/erwincoumans/hello_bullet_cmake
2020-09-12 01:03:04 -07:00
Erwin Coumans
913dad4787 fix windows pip build 2020-09-02 02:33:30 -07:00
Florian Golemo
58708f6bea
Update gzguts.h (#3012)
Adding this makes the library build successfully on Mac Catalina with Miniconda 3.7 on the latest CLANG. Otherwise you get errors that in C99 the functions "write", "close", and "read" aren't defined.
2020-08-27 14:34:31 -07:00
Erwin Coumans
5fd11fe90b add crossguid 2020-05-07 23:20:55 +00:00
erwincoumans
f92ad9a33d
Update base64.h 2020-05-06 17:58:22 -07:00
Erwin Coumans
298ee24f0e add cpp_base64 2020-05-06 22:49:09 +00:00
Erwin Coumans
762c21601f cache zipfile, and also allow to read zipfile from memory
this allows zipfiles to be stored anywhere in already registed fileIO (such as zipfiles inside other zipfiles)
see Bullet/examples/pybullet/examples/fileIOPlugin.py
enable vhacd, fileIO and zipFileIO in premake version of PyBullet
fix potential memory leak in mtl loading
2020-03-30 14:24:20 -07:00
Erwin Coumans
d3fdf434ed few more fixes in pybullet setup.py 2020-03-17 10:38:51 -07:00
Erwin Coumans
88ce0be26b fix int64_t 2020-03-17 17:20:57 -07:00
Erwin Coumans
d31c248751 fixes for compilation on Visual C++ for Python 9.0
bump up to PyBullet 2.6.9
2020-03-17 17:10:47 -07:00
Erwin Coumans
eee7bcbc14 remove debug/profile tag 2020-01-11 13:16:12 -08:00
Erwin Coumans
2336dfcb9e Remove a temporary global static work matrix in the BussIK, since it conflicts with multithreaded applications.
Instead, let the user pass it in explicitly.
2020-01-11 12:43:27 -08:00
Erwin Coumans
b6e5609f90 fix mac osx compilation 2019-09-30 14:08:22 -07:00
Chuyuan Fu
eacebc80d5 fix compile 2019-08-14 11:01:48 -07:00
Chuyuan Fu
10108cd3ea update obj loader 2019-08-13 16:53:51 -07:00
Erwin Coumans
ee9575167d expose PyBullet.calculateInverseKinematics2 that allows to specify multiple IK end effector locations (not multiple orientations)
usage example:
jointPoses = p.calculateInverseKinematics2(bodyUniqueId, [endEffectorLinkIndices], [endEffectorTargetWorldPositions])
2019-07-10 17:21:18 -07:00
erwincoumans
d7c0c9c017 update ExampleBrowser InverseKinematics example to track 4 end effectors at once. 2019-06-01 19:43:27 -07:00
Erwin Coumans
0409478152 use certain methods from std namespace 2019-03-23 12:45:59 -07:00
Erwin Coumans
150a6a0880 Qualify calls to certain functions from the cmath library. 2019-03-14 16:57:50 -07:00
erwincoumans
b574a360f5
Merge pull request #2055 from xantares/pybullet
Pybullet enhancements
2019-02-10 20:25:47 -08:00
erwincoumans
ae8e83988b Add preliminary PhysX 4.0 backend for PyBullet
Add inverse dynamics / mass matrix code from DeepMimic, thanks to Xue Bin (Jason) Peng
Add example how to use stable PD control for humanoid with spherical joints (see humanoidMotionCapture.py)
Fix related to TinyRenderer object transforms not updating when using collision filtering
2019-01-22 21:08:37 -08:00
Michel Zou
e9112a9f5f Install examples lib 2019-01-12 11:06:06 +01:00
Erwin Coumans
d4db50f668 PyBullet: fix some file leaks. 2018-12-04 19:37:25 +01:00
Erwin Coumans
fd3d292fcf tinyRenderer, remove both \r and \n, not just \n 2018-10-13 11:46:46 -07:00
Erwin Coumans
295732149f add missing stdio.h 2018-10-09 07:01:02 -07:00
erwincoumans
dba239fe8d First pass of load files through an interface (to allow loading from memory, zip file etc). So instead of posix fopen/fread, using CommonFileIOInterface.
A fileIO plugin can override custom file IO operations. As a small test, load files from a zipfile in memory.
Default fileIO implementation is in examples/Utils/b3BulletDefaultFileIO.h
Affects URDF, SDF, MJCF, Wavefront OBJ, STL, DAE, images.
2018-10-08 21:27:08 -07:00
Erwin Coumans
42ae4e81a8 apply clang-format (on Mac, slightly different than running it on Windows) 2018-09-30 11:43:57 -07:00
erwincoumans
5bcd43711a PyBullet OpenGL/EGL hardware getCameraImage: use glViewport to reduce the glReadPixels calling cost dramatically for small images
PyBullet Allow OpenGL/EGL hardware to render segmentation mask. Use pybullet.ER_SEGMENTATION_MASK_OBJECT_AND_LINKINDEX or pybullet.ER_SEGMENTATION_MASK
PyBullet.removeBody fix indexing bug (use foundIndex, not i)
PyBullet bump up version to 2.2.3
2018-09-30 07:10:40 -07:00