got trouble in deform_as_rigid_as_possible()
- Dominant language
- C++
- Stars
- 14k
- Forks
- 2.6k
- Avg merge
- 5d 18h
- Merged PRs (30d)
- 6
Description
**Describe the bug**
I run mesh_deformation.py and change the given mesh to my own .obj file
[mesh.tar.gz](https://github.com/intel-isl/Open3D/files/4492599/mesh.tar.gz)
some .obj run perfectly but others got trouble in deform_as_rigid_as_possible().
**To Reproduce**
Steps to reproduce the behavior:
1. load my own mesh in mesh_deformation.py
> def problem3():
mesh = o3d.io.read_triangle_mesh("./mesh/mesh_normalized.obj")
vertices = np.asarray(mesh.vertices)
static_ids = [idx for idx in np.where(vertices[:, 1] < -0.32)[0]]
static_positions = []
for id in static_ids:
static_positions.append(vertices[id])
handle_ids = [0]
handle_positions = [vertices[0] + np.array((0.1, 0.1, 0.1))]
return mesh, static_ids + handle_ids, static_positions + handle_positions
2. `python ./example/Python/Advanced/mesh_deformation.py`
3. got the error:
> Traceback (most recent call last):
File "/home/uingue/code/Open3D/examples/Python/Advanced/mesh_deformation.py", line 101, in
o3d.utility.IntVector(constraint_ids), constraint_pos, max_iter=50)
RuntimeError: [Open3D ERROR] [DeformAsRigidAsPossible] Failed to build solver (factorize)
**Expected behavior**
get the deformed mesh
**Environment (please complete the following information):**
- OS: Ubuntu 16.04
- Python version: 3.7.5
- Open3D version: 0.9.0.0
- Is this remote workstation?: no
- How did you install Open3D?: pip or conda or build_from_source (provide build method, such as GCC, Xcode, Visual Studio, and so on) yes
**Additional context**
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.