texture_mesh
Synopsis
map an image onto a surface, using UV coordinates generated from the surface XY coordinates
Input Port
Parameters
Output Port
Description
texture_mesh uses the texture facility of the viewer to map an image onto a surface. The texture is applied using the (X,Y) coordinates of the mesh, so that the whole image is mapped to the (X,Y) range of the mesh. By default, the lower left of the texture is applied and x min , y min , and the upper right is applied at x max , y max . See the parameters for how to change this.
Input
A port to connect to a user interface object that contains the macro's widgets. By default, it is connected to the default user interface object in the application in which the macro is instanced. (This default connection is not drawn.)
Parameters
UIslider. Scale U by this amount. The larger this value, the less space taken by the texture in X. Decreasing this value stretches the texture, increasing it compresses the texture.
UIslider. Scale V by this amount. The larger this value, the less space taken by the texture in Y. Decreasing this value stretches the texture, increasing it compresses the texture.
UIslider. Shift U by this amount. Positive shift shifts the texture to the left, negative shifts to the right.
Output Port
Example
Libraries.Examples.Visualization.Texture_Mesh
v/dv_examp/txt_mesh.vFile
See also related modules