Issue with saving texture coordinates in obj file

Hi. I have a problem with saving texture coordinates in obj file. I am using Python version of OpenMesh for manipulating with texture coordinates in 3D mesh stored in obj file. I save the result mesh using method write_mesh. When I open the resultant obj file there is no texture coordinates information, only list of vertices and faces. The same happens if I read the mesh from obj file. What could be the problem? Thanks. Kind regards, Vladimir Privalov

Hi. I have solved the problem. Solution: pass argument vertex_tex_coord=True to the method write_mesh. Thanks. Kind regards, Vladimir Privalov On Mon, 8 Feb 2021 at 21:20, Vladimir Privalov <vladprivalov1990@gmail.com> wrote:
Hi. I have a problem with saving texture coordinates in obj file. I am using Python version of OpenMesh for manipulating with texture coordinates in 3D mesh stored in obj file. I save the result mesh using method write_mesh. When I open the resultant obj file there is no texture coordinates information, only list of vertices and faces. The same happens if I read the mesh from obj file. What could be the problem? Thanks.
Kind regards, Vladimir Privalov
participants (1)
-
Vladimir Privalov