MATLAB: How to generate orthographic projection/perspective view of 3D object

2d3daffinemappingMATLABorthographicperspectiveprojectionrotationsheartransformationview

Say I have a disc-shape in 3D (i.e. it has some thickness to it – but we could also reduce it to a 2D circle).
I want to generate an orthographic projection of the object from an angle – e.g. the mapping onto the plane of the screen in the right-hand picture.
I've tried using 2D and 3D shear transformations followed by a maximum intensity projection, but I'm not sure this really represents what actually happening.
Is there a better way to do this? (sorry for the very open-ended question).

Best Answer

Hi,
Kindly have a look at the following example:
You can try generating various orthographic projection of the object from an angle by making use of Camera View functions:
and further getting Transformation matrix.
Following links may be useful:
Related Question