PyMeshLab icon indicating copy to clipboard operation
PyMeshLab copied to clipboard

How to get the pixel value of texture by per wedge texture coordinate index?

Open ziwenjie opened this issue 2 years ago • 0 comments

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()

ziwenjie avatar Aug 04 '22 08:08 ziwenjie