Meshpath = 'ArmadilloMesh.mat';
Mesh = load(Meshpath);
vertices = Mesh.vertices
faces =Mesh.triangles+1
%patch('Faces',faces,'Vertices',vertices,'FaceColor','white')
patch('Faces',faces,'Vertices',vertices,'FaceColor', [0.9 0.9 0.9], 'EdgeColor', 'none','FaceLighting', 'gouraud','AmbientStrength',0.2,'DiffuseStrength',0.8,'SpecularStrength',0,'BackFaceLighting','lit'); axis tight; axis equal; axis off; light('Position',[0 0 1],'Style','infinite');
其中,数据包含两个矩阵