Reputation: 25914
I have a 3D Model (.obj) texture that loads correctly in other software:
But with Open3D the texture is all messaged up:
Here is the code I'm using:
import open3d as o3d
def visualize(mesh):
vis = o3d.visualization.Visualizer()
vis.create_window()
vis.add_geometry(mesh)
vis.run()
vis.destroy_window()
def main():
mesh = o3d.io.read_triangle_mesh("scene_mesh_decimated_textured.obj")
visualize(mesh)
main()
And here is the model and texture: https://www.dropbox.com/s/xm0sun3hoijwbjf/Archive.zip?dl=0
Upvotes: 7
Views: 15023
Reputation: 1
You can try this
mesh = o3d.io.read_triangle_model("scene_mesh_decimated_textured.obj")
Upvotes: 0