-
Notifications
You must be signed in to change notification settings - Fork 157
Open
Labels
Description
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