PyMeshLab
PyMeshLab copied to clipboard
How to get the pixel value of texture by per wedge texture coordinate index?
I want get the pixel value of texture by per wedge texture coordinate index, but I can not realize it by the following code.
ms = meshlab.MeshSet()
# Load a mesh wi_th texture per wedge
ms.load_new_mesh(file)
m = ms.current_mesh()
wedgecoordMatrix = m.wedge_tex_coord_matrix()
textures = m.textures()