Skip to main content

Planar Projection

Describes a projection for the Viewport that is a flat projection described by simple frustum, which may be asymmetric. If you are building a new configuration file and do not know which projection type you should use, this type is probably the right one.

Parameters​

typestringrequireddefault PlanarProjection

Defines the type of this projection.

fovFOVrequired

This element describes the field of view used the camera in this planar projection.

distancenumberoptional

The distance (in meters) at which the virtual render plane is placed. This value is only important when rendering this viewport using stereocopy as the distance and the User's eyeseparation are used to compute the change in frustum between the left and the right eyes.

Describes a fixed orientation for the virtual image plane. This can be provided either as Euler angles or as a quaternion.

offsetvec3optional

A linear offset in meters that is added to the virtual image plane. Must define three float attributes x, y, and z. The default values are x=0, y=0, z=0, meaning that no offset is applied to the image plane.

Examples​

Symmetric​

Rendering produced by planar-symmetric.json

Asymmetric​

Rendering produced by planar-asymmetric.json

Orientation​

Rendering produced by planar-orientation.json