PyWavefront
PyWavefront copied to clipboard
access raw uv coordinates from obj
Hi,
I liked that I could access the raw vertices from the obj file, however, is it also possible to access the raw uvs?
scene = pywavefront.Wavefront(os.path.join(data_dir, "smal_data/barc.obj"), parse=True) scene.vertices
https://github.com/pywavefront/PyWavefront/issues/87#issuecomment-464348971
I think you misunderstood my question, I want the uv's in the order that the uv's are in the obj file.
I don't think there is a simple way unless you extend the current parser. Maybe trimesh have something for this? https://github.com/mikedh/trimesh