texture mapping in 3d surface?

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

Ameer Hamza
Ameer Hamza 2020년 10월 18일
Can you show what type of result you get and what do you expect?
youb mr
youb mr 2020년 10월 19일
this is my result
some parameters in the photo are missing and the texture color is changed
my 3 surface
Walter Roberson
Walter Roberson 2020년 10월 19일
Could you attach your data to test with?
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개)

카테고리

질문:

2020년 10월 18일

댓글:

2020년 10월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by