isl-org / Open3D

Open3D: A Modern Library for 3D Data Processing
http://www.open3d.org
Other
11.46k stars 2.31k forks source link

Load Mesh error: Read a mesh with .obj format #5364

Open hwenjun18 opened 2 years ago

hwenjun18 commented 2 years ago

Checklist

My Question

Hi, I use open3d to load a mesh (.obj) from disk, but result a warning and no data loaded, here is the code :

o3d.io.read_triangle_mesh('2.obj')

here is the warning message:

[Open3D INFO] Skipping non-triangle primitive geometry of type: 20

BTW, I can load this obj in other software, such as Blender or Meshroom, this open3d version is 0.15.1

bibbygoodwin commented 2 years ago

I am experiencing the same issue in 0.15.1, and the resulting mesh was a TriangleMesh with 0 points and 0 triangles.

Downgrading to 0.14.1 solved the problem for me, and now loading the same .obj file gives a mesh TriangleMesh with 57229 points and 80767 triangles.

I am on an M1 Mac, and both versions were pip installed, just in case this is build specific?

DNKpp commented 1 year ago

Well, I experience the same issue here on 0.17.0, but only for some of my obj models. Some do work, some do not.

danasko commented 3 months ago

same issue on 0.18.0..

GONGJIA0208 commented 3 months ago

same issue

khaxis commented 2 months ago

Same with Mac-M1 0.18.0. But I kind of solved it

Here's the pipeline:

  1. In Blender import a mesh
  2. Select it and click File -> export -> .obj
  3. In the dialog set Include Selections only and VERY IMPORTANT Geometry -> Triangulated Mesh to True
Screenshot 2024-09-04 at 4 47 44 PM