MATLAB Answers

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

81 views (last 30 days)
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).

Accepted Answer

Prabhan Purwar
Prabhan Purwar on 24 Mar 2020
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:

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by