mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-13 21:30:09 +00:00
1452cae641
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
90 lines
2.1 KiB
Plaintext
90 lines
2.1 KiB
Plaintext
# Blender v2.79 (sub 0) OBJ File: ''
|
|
# www.blender.org
|
|
mtllib cloth_z_up.mtl
|
|
o Plane_Plane.001
|
|
v 1.000000 -0.500000 -0.000000
|
|
v 0.500000 -1.000000 -0.000000
|
|
v 0.500000 -0.500000 -0.000000
|
|
v 0.000000 -0.500000 -0.000000
|
|
v -0.500000 -1.000000 -0.000000
|
|
v -0.500000 -0.500000 -0.000000
|
|
v -0.000000 0.500000 0.000000
|
|
v -0.500000 0.000000 -0.000000
|
|
v -0.500000 0.500000 0.000000
|
|
v 1.000000 0.500000 0.000000
|
|
v 0.500000 0.000000 0.000000
|
|
v 0.500000 0.500000 0.000000
|
|
v 0.000000 0.000000 0.000000
|
|
v 0.500000 1.000000 0.000000
|
|
v -0.000000 1.000000 0.000000
|
|
v 1.000000 1.000000 0.000000
|
|
v -1.000000 0.000000 -0.000000
|
|
v -1.000000 0.500000 0.000000
|
|
v -0.500000 1.000000 0.000000
|
|
v -1.000000 1.000000 0.000000
|
|
v -1.000000 -1.000000 -0.000000
|
|
v -1.000000 -0.500000 -0.000000
|
|
v 0.000000 -1.000000 -0.000000
|
|
v 1.000000 0.000000 0.000000
|
|
v 1.000000 -1.000000 -0.000000
|
|
vt 0.976031 1.084981
|
|
vt 0.738016 1.669965
|
|
vt 0.738016 1.084981
|
|
vt 0.499998 1.084981
|
|
vt 0.261984 1.669965
|
|
vt 0.261984 1.084981
|
|
vt 0.499998 -0.084982
|
|
vt 0.261984 0.500000
|
|
vt 0.261984 -0.084982
|
|
vt 0.976031 -0.084982
|
|
vt 0.738016 0.500000
|
|
vt 0.738016 -0.084982
|
|
vt 0.499998 0.500000
|
|
vt 0.738016 -0.669965
|
|
vt 0.499998 -0.669965
|
|
vt 0.976031 -0.669965
|
|
vt 0.023969 0.500000
|
|
vt 0.023969 -0.084982
|
|
vt 0.261984 -0.669965
|
|
vt 0.023969 -0.669965
|
|
vt 0.023969 1.669965
|
|
vt 0.023969 1.084981
|
|
vt 0.499998 1.669965
|
|
vt 0.976031 0.500000
|
|
vt 0.976031 1.669965
|
|
vn 0.0000 0.0000 -1.0000
|
|
usemtl None
|
|
s 1
|
|
f 1/1/1 2/2/1 3/3/1
|
|
f 4/4/1 5/5/1 6/6/1
|
|
f 7/7/1 8/8/1 9/9/1
|
|
f 10/10/1 11/11/1 12/12/1
|
|
f 12/12/1 13/13/1 7/7/1
|
|
f 14/14/1 7/7/1 15/15/1
|
|
f 16/16/1 12/12/1 14/14/1
|
|
f 9/9/1 17/17/1 18/18/1
|
|
f 19/19/1 18/18/1 20/20/1
|
|
f 15/15/1 9/9/1 19/19/1
|
|
f 6/6/1 21/21/1 22/22/1
|
|
f 8/8/1 22/22/1 17/17/1
|
|
f 13/13/1 6/6/1 8/8/1
|
|
f 3/3/1 23/23/1 4/4/1
|
|
f 11/11/1 4/4/1 13/13/1
|
|
f 24/24/1 3/3/1 11/11/1
|
|
f 1/1/1 25/25/1 2/2/1
|
|
f 4/4/1 23/23/1 5/5/1
|
|
f 7/7/1 13/13/1 8/8/1
|
|
f 10/10/1 24/24/1 11/11/1
|
|
f 12/12/1 11/11/1 13/13/1
|
|
f 14/14/1 12/12/1 7/7/1
|
|
f 16/16/1 10/10/1 12/12/1
|
|
f 9/9/1 8/8/1 17/17/1
|
|
f 19/19/1 9/9/1 18/18/1
|
|
f 15/15/1 7/7/1 9/9/1
|
|
f 6/6/1 5/5/1 21/21/1
|
|
f 8/8/1 6/6/1 22/22/1
|
|
f 13/13/1 4/4/1 6/6/1
|
|
f 3/3/1 2/2/1 23/23/1
|
|
f 11/11/1 3/3/1 4/4/1
|
|
f 24/24/1 1/1/1 3/3/1
|