Prev: kalman filter
Next: matrix conversion
From: p on 16 May 2010 09:05 Hi, i want to create a texture map for my umages on a sphare, but it does not working . i try to do that, but it draw only half of the image on the sphare: clf; load topo [x,y,z] = sphere(1000); %h = surface(x,y,z,'FaceColor','texture','Cdata',topo) C = imread('image.png'); h = surf(x,y,z,flipdim(C,1), 'FaceColor','texturemap', 'EdgeColor','none'); set(h,'EdgeColor','none') axis square; axis off; colormap(jet); do you have an idea why?
|
Pages: 1 Prev: kalman filter Next: matrix conversion |