Description: This function PATCHT, will show a triangulated mesh like Matlab function Patch but then with a texture.
FF : Face list 3 x N with vertex indices
VV : Vertices 3 x M
TF : Texture list 3 x N with texture vertex indices
VT : Texture Coordinates s 2 x K, range must be [0..1] or real pixel postions
I : The texture-image RGB [O x P x 3] or Grayscale [O x P]
Options : Structure with options for the textured patch such as
EdgeColor, EdgeAlpha see help "Surface Properties :: Functions"
Options.PSize : Special option, defines the image texturesize for each
individual polygon, a low number gives a more block
like texture, defaults to 64;
On a normal PC displaying 10,000 faces will take about 6 sec.
% Load Data;
% Show the textured patch
% Allow Camera Control (with left, right and center mouse button)
Related: Block, defaults, normal, Displaying, Number, polygon, defines, option
O/S:BSD, Linux, Solaris, Mac OS X
File Size: 184.3 KB