bertjiazheng / Structured3D

[ECCV'20] Structured3D: A Large Photo-realistic Dataset for Structured 3D Modeling
https://structured3d-dataset.org
MIT License
541 stars 62 forks source link

Issue with mesh visulization #50

Open TheScientist1900 opened 1 year ago

TheScientist1900 commented 1 year ago

Hi, when I run visualize_mesh.py, it shows: Traceback (most recent call last): File "visualize_mesh.py", line 266, in main() File "visualize_mesh.py", line 262, in main visualize_mesh(args) File "visualize_mesh.py", line 239, in visualize_mesh mesh = create_plane_mesh(corners, corner_floor, textures, texture_floor, texture_ceiling, File "visualize_mesh.py", line 125, in create_plane_mesh mesh.texture = open3d.geometry.Image(textures) AttributeError: 'open3d.cpu.pybind.geometry.TriangleMesh' object has no attribute 'texture'

And I delete the code: mesh.texture = open3d.geometry.Image(textures)

it works, but the visualization of layout is not the same as in your readme.