From: corey kennedy on 25 Mar 2010 17:27 What must be done to generate a checkboard and then be able to rotate it with respect to 3-dimensions? I have used:K = (checkerboard(100)>.5); figure, s=imshow(K) axis on so far to generate the image. If I use rotate3d(s) now, it will not display the checkerboard during the rotation....
From: Walter Roberson on 25 Mar 2010 18:26 corey kennedy wrote: > What must be done to generate a checkboard and then be able to rotate it > with respect to 3-dimensions? I have used:K = (checkerboard(100)>.5); > figure, s=imshow(K) > axis on > so far to generate the image. If I use rotate3d(s) now, it will not > display the checkerboard during the rotation.... K = double(checkerboard(100) > .5); figure surf(zeros(size(K)),'CData', repmat(K,[1,1,3], 'FaceColor', 'texturemap'); shading flat;
|
Pages: 1 Prev: How to pass an array value to structure name? Next: need Source Code |