Sign in

username:

password:



Not a member?

Search matlab



Search tips

Subscribe to matlab



matlab by Keywords

Atanh | Autocorrelation | Bandpass Filter | C++ | Conv | Database | Deconv | Excel | FFT | Filter | Filtering | FIR | Fourier Transfrom | FSK | Gaussian Noise | Haykin | IFFT | Image | Java | LFSR | LMS | LPC | MEX | OFDM | QPSK | Radix | Random | Sampling | Segmentation | Simulink | Visual Basic | Waveform | Wavelet

Ads

Discussion Groups

Discussion Groups | Matlab DSP | 3D object, 2D on screen - coordinates?

Technical discussion about Matlab and issues related to Digital Signal Processing.

  

Post a new Thread

3D object, 2D on screen - coordinates? - sheppa28 - May 8 6:08:33 2008



Given an object, e.g.

t = 0:pi/10:2*pi;
[X,Y,Z] = cylinder(2+cos(t));
surf(X,Y,Z)
axis square

After moving it around, rotating, etc. I want to hit enter and the 
next image be a 2D plot of the outline of the object as it appeared 
on the screen. 

Basically, take what the object looks like on the screen right now, 
put a 2D grid of the plane on the screen and (assuming axis square) 
find the outlining points.
Is there a simple code?

Thanks,

-MIke



(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )