Mapping texture image on a 3D surface

Hi,
i’m new with plotly and i’m using it for a 3D mesh generator. I would like to know if it’s possible to map a texture (taken from a 2D image) into a 3D surface through a correspondence matrix (For each vertex in 3D assing a 2D point into the image, from which i can take the texture data (RGB)). I’ve did something like this with the function ‘plot_mesh’ from the toolbox graph on matlab and now i need to do the same thing in python but i don’t find anything like this, someone can help me?
Thanks in advance

@barloccia This notebook illustrates how you can map a 2d image onto a surface:
https://plot.ly/~empet/14172/mapping-an-image-on-a-surface/
Unlike matlab you cannot map a multicolor (rgb) image because plotly can color a surface only using a colormap.

1 Like