Texture Mapped Projection#
Describes a projection for the Viewport that is a flat projection described by simple frustum, which may be asymmetric.
type
string = “TextureMappedProjection”Defines the type of this projection.
fov
one of the followingThis element describes the field of view used the camera in this planar projection.
Option 1
hfov
number [0.0, \(\infty\))The angle (in degrees) covered by the camera in the horizontal direction. This is a symmetric frustum around the center and provides the same result as providing the
leftandrightvalues with the half-angle.vfov
number [0.0, \(\infty\))The angle (in degrees) covered by the camera in the vertical direction. This is a symmetric frustum around the center and provides the same result as providing the
upanddownvalues with the half-angle.
Option 2
left
numberThe angle (in degrees) that is covered by the camera between the central point and the left border of the viewport. The
leftandrightangles added together are the vertical field of view of the viewport.right
numberThe angle (in degrees) that is covered by the camera between the central point and the right border of the viewport. The
leftandrightangles added together are the vertical field of view of the viewport.down
numberThe angle (in degrees) that is covered by the camera between the central point and the bottom border of the viewport. The
downandupangles added together are the vertical field of view of the viewport.up
numberThe angle (in degrees) that is covered by the camera between the central point and the top border of the viewport. The
downandupangles added together are the vertical field of view of the viewport.
distance(optional)
numberThe distance (in meters) at which the virtual render plane is placed. This value is only important when rendering this viewport using stereoscopy as the distance and the Users eyeSeparation are used to compute the change in frustum between the left and the right eyes.
orientation(optional)
orientationDescribes a fixed orientation for the virtual image plane. This can be provided either as Euler angles or as a quaternion.
offset(optional)
vec3A 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.