Perspective Drawing of a Rectangular Solid
Prof. Richard B. Goldstein
Notes: (1) The dimensions of the box are W x L x H.
(2) The eye is located at (xe, ye, ze).
(3) The origin is always centered and the drawing is rescaled to best fit the screen.
Error
messages:
(1) Inside the box: (xe,ye,ze) within the box boundaries
(2) Too close: one or more points are behind the eye location (xe,ye,ze).
More Info: 2-D Rendering of 3-D Objects - Projection and Perspective
W L H
xe ye ze
Error Messages:
or