I have seen so many mathematical procedures including matrix. But all don't seem to plot a perspective view. Why is it hard to establish simple vector equations by which you can input the true x,y,z coordinates of any point in the object and output X,Y coordinates of the corresponding point in perspective projection? Keep in mind that the perspective view is such as a photo taken by a camera. Hence, the location of the camera with respect to the object as well as the tilt angle of the camera (as per bird's and worm's eye views) can give different perspective views. Does anyone have any mathematical approach to execute such a process? Coordinates of the plan a(-0.38, 1.86). b(0.18, 1.65) c(0.38, 2.21). d(-0.18, 2.41) The height of the cube is (0.61) Please, show me how you get the coordinates of eight points of the perspective drawing. Thanks!




Imagine a central projection, with $(0,0,0)$ as the center and $z=1$ as the image plane. Then you draw a 3D point $(x,y,z)$ at position $(x/z,y/z)$. That's the core idea behind homogeneous coordinates: any point in the direction $(x,y,1)$, i.e. any multiple thereof, represents the point $(x,y)$.
If your camera or your image plane is somewhere else, you'd usually first apply a transformation to reduce that to the situation just described. If you want to include translations in 3d space, you would input homogeneous 3d points, i.e. vectors with four elements, so the whole projection would be a $3\times4$ matrix converting homogeneous input to homogeneous output coordinates.