Open cecolson opened 2 years ago
Did you solve the problem? If yes, how? I am having the same problem
Did you solve the problem? If yes, how? I am having the same problem
Use a different library. Open3D does not support this functionality... I used:
import pymeshlab as pml
Hi everyone watching this question,
I am having the same problem. When I perform the following code
mesh = volume.extract_triangle_mesh()
obj_save_path = 'Demo_model.obj'
o3d.io.write_triangle_mesh(obj_save_path, mesh, write_triangle_uvs=True, print_progress=True)
Only the "Demo_model.obj" file was saved and no sight of .mtl file. However, when I load the "Demo_model.obj" to an online obj viewer, it shows color.
I'm also trying to get the mtl file so that I can load the "Demo_model.obj" with color in Unity Any help would be appreciated! Thank you all!
Hi everyone watching this question,
I am having the same problem. When I perform the following code
mesh = volume.extract_triangle_mesh()
obj_save_path = 'Demo_model.obj'
o3d.io.write_triangle_mesh(obj_save_path, mesh, write_triangle_uvs=True, print_progress=True)
Only the "Demo_model.obj" file was saved and no sight of .mtl file. However, when I load the "Demo_model.obj" to an online obj viewer, it shows color.
I'm also trying to get the mtl file so that I can load the "Demo_model.obj" with color in Unity Any help would be appreciated! Thank you all!
@testconnect400 I'm having the same issue. Did you manage to solve it?
Checklist
master
branch).My Question
I am trying to create a .obj file with color using open3d. I know the write_triangle_uvs parameter allows for mtl file to be saved, however I cannot get it to work no matter what I try. This was an issue that was previously closed but I would like to reopen it with my code included below. I do not have the parameter listed here because I know its default value = True. Please help me understand what I am missing. I cannot attach the .las file I used since github does not support it, but if you try any colorized .las file I am sure you will run into the same issue.