isl-org / Open3D

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

open3d.io.read_triangle_mesh() doesn't read properly .obj files #5527

Open mandugo opened 2 years ago

mandugo commented 2 years ago

Checklist

Describe the issue

_open3d.io.read_trianglemesh() doesn't read properly .obj files on macOS Monterey 12.6. It gives back an empty mesh. I was using open3d version 0.15.1. I tried to install the 0.14.1 and it worked normally, so I think there may be an issue with the latest release.

Steps to reproduce the bug

import numpy as np
import open3d as o3d

objPath = 'pointCloudBuilder/models/model_1.obj'
source = o3d.io.read_triangle_mesh(objPath)

Error message

No response

Expected behavior

No response

Open3D, Python and System information

- Operating system: macOS 12.6 
- Python version: Python 3.9 
- Open3D version: 0.15.1
- System architecture: arm64
- Is this a remote workstation?: no
- How did you install Open3D?: pip

Additional information

No response

errissa commented 2 years ago

@mandugo Would you please share a link to OBJ model?

mandugo commented 2 years ago

@errissa sure! I tried with different files, this was one of them: https://free3d.com/3d-model/male-base-mesh-6682.html