texture mapping in 3d surface?

4 ビュー (過去 30 日間)
youb mr
youb mr 2020 年 10 月 18 日
コメント済み: youb mr 2020 年 10 月 19 日
hello
how i can project a texture image in 3d surface
i have use
surface (X,Y,Z,'facecolor','texturemap',...
'cdata',I,'edgecolor','none');
but it dosen'tgive me good result
  5 件のコメント
youb mr
youb mr 2020 年 10 月 19 日
this is the data
youb mr
youb mr 2020 年 10 月 19 日
where
nx = 120; % the size of the grid
ny = 120; % the size of the grid
% % create a grid in x and y
x = linspace(min(v(:,1)),max(v(:,1)),nx);
y = linspace(min(v(:,2)),max(v(:,2)),ny);
[x,y] = meshgrid(x,y);
% % find corresponding z-values by means of gridtrimesh.m
% fprintf(['gridtrimesh.......']); tic
Z = gridtrimesh(f,v,x,y);

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeLighting, Transparency, and Shading についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by