nickponline
nickponline

Reputation: 25914

How to your load 3D Model (.obj) in Open3D?

I have a 3D Model (.obj) texture that loads correctly in other software: enter image description here

But with Open3D the texture is all messaged up: enter image description here

enter image description here

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

Answers (1)

JOS
JOS

Reputation: 1

You can try this

 mesh = o3d.io.read_triangle_model("scene_mesh_decimated_textured.obj")

Upvotes: 0

Related Questions