![]() |
[求助]一个关于制作动画的问题。。。
怎么吧这个会移动的球体的旧图像消除啊???????????
程序和图片没关系,我只是把图片纹理映射到球体上而已。主要是球体在移动的时候,以前的就图像没有消去,我用了几个方法都不管用。 [CODE]h(1) = axes('Position',[0 0 1 1]); [x,y,z] = sphere(30); I = imread( 'diqiu.jpg' ); earth=warp( x, y, z, I ); axis vis3d off for i=0:0.05:0.6; drawnow; h(2) = axes('Position',[i 0 .4 .6]); [x1,y1,z1] = sphere(30); I1 = imread( 'moon3.bmp' ); moon=warp( x1, y1, z1, I1 ); camlight right h=[h(1),h(2)]; set(h,'Visible','off') end[/CODE] |
所有时间均为北京时间。现在的时间是 12:40。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.