({{, (RefLink[ViewRange, paclet:ref/ViewRange])
is an option for (RefLink[Graphics3D, paclet:ref/Graphics3D]) and related functions which specifies the range of distances from the view point to be included in displaying a three-dimensional scene. }})

OpenersNotesSection(Spacer1)Details

The following settings can be used:

With (RefLink[ViewRange, paclet:ref/ViewRange])->{min,max}, the 3D scene is effectively clipped by planes which are distances min and max away from the camera.

Explicit settings for (RefLink[ViewMatrix, paclet:ref/ViewMatrix]) override settings for (RefLink[ViewRange, paclet:ref/ViewRange]).

OpenersPrimaryExamplesSection(Spacer1)Examples  (2)

OpenersExampleSection0(Spacer1)Basic Examples  (2)

By default, the range is sufficient to include all the objects:

Graphics3D[{Cylinder[],Cylinder[{{0,3,-1},{0,3,1}}]},ViewPoint->{0,-1,.5},SphericalRegion->True]

Specify the minimum and maximum distances from the camera to be included:

Graphics3D[{Cylinder[],Cylinder[{{0,3,-1},{0,3,1}}]},ViewPoint->{0,-1,.5},ViewRange->{3.5,7.2},SphericalRegion->True]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[ViewAngle, paclet:ref/ViewAngle])  ▪  (RefLink[ViewVector, paclet:ref/ViewVector])  ▪  (RefLink[PlotRange, paclet:ref/PlotRange])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[3D Graphics Options, paclet:guide/3DGraphicsOptions])}})}})