You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given a 3D mesh model geometry, with only the vertices and faces in a format like the following, how can I generate the (H, W, 2) UV maps in Numpy or a format that can be read in python and converted to Numpy? (Do I even need the texture info, as mtl lines in the .obj file?)
The .obj file only has the faces and vertices in this way:
v 0.57735 -0.57735 -0.57735
v 0.57735 -0.57735 0.57735
v -0.57735 -0.57735 -0.57735
f 19 3 2
f 12 19 2
f 15 12 2
The text was updated successfully, but these errors were encountered:
Armen-J
changed the title
Import UV map to numpy
Export UV map in Numpy format
Nov 26, 2021
Given a 3D mesh model geometry, with only the vertices and faces in a format like the following, how can I generate the (H, W, 2) UV maps in Numpy or a format that can be read in python and converted to Numpy? (Do I even need the texture info, as mtl lines in the .obj file?)
The .obj file only has the faces and vertices in this way:
v 0.57735 -0.57735 -0.57735
v 0.57735 -0.57735 0.57735
v -0.57735 -0.57735 -0.57735
f 19 3 2
f 12 19 2
f 15 12 2
The text was updated successfully, but these errors were encountered: