ViewProjection

ViewProjection

is an option for three-dimensional graphics that specifies the projection to use for the graphic.

Details

  • The following settings can be given for ViewProjection:
  • Automaticinfer the projection from the value of the ViewPoint option
    "Perspective"use a perspective projection
    "Orthographic"use an orthographic projection
  • Perspective projection results in a foreshortening effect where the more distant an object is from the viewer, the smaller it appears. Parallel lines that point into the screen will eventually converge if extended far enough.
  • Orthographic projection preserves the apparent sizes of objects regardless of the distance from the viewer. Parallel lines running into the screen never converge.
  • ViewProjection->Automatic defaults to the "Perspective" projection unless one of the ViewPoint parameters is infinite.
  • Orthographic projection corresponds to a perspective view infinitely far from the view center. This means that even if ViewProjection->"Perspective" is set, when the ViewPoint is significantly far from the ViewCenter, the final image will appear orthographic.

Examples

open allclose all

Basic Examples  (1)

By default, 3D graphics use a perspective projection:

In[1]:=
Click for copyable input
Out[1]=

Specify an orthographic projection instead:

In[2]:=
Click for copyable input
Out[2]=

Scope  (3)

Generalizations & Extensions  (1)

Applications  (1)

Possible Issues  (1)

See Also

ViewPoint  ViewCenter  ViewMatrix  ViewAngle  GeoProjection

Introduced in 2017
(11.2)