The angle, in degrees, at which the camera’s right viewpoint faces toward a central focal point.
SDKs
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- Model I/O
Declaration
@property(nonatomic, assign) float rightVergence;
Discussion
A stereoscopic camera simulates binocular vision by looking toward a central point in a scene from two slightly different viewpoints. Vergence measures the difference between the camera’s forward axis and the angle from each viewpoint toward that central point, called the vergence point. There are two common ways to model a stereoscopic camera:
In a toed-in camera, each simulated lens and imaging surface is rotated (by the
left
andVergence right
angles) to face toward the focal point. That is, a line from the focal point through the center of the lens reaches the center of the imaging surface and is perpendicular to the image plane.Vergence In a parallel stereoscopic camera, the imaging surfaces are perpendicular to the camera’s forward axis and are shifted horizontally relative to the center of each lens. The distance by which each imaging surface shifts is given by the following formula:
shift = (
focal
Length *
inter
Pupillary Distance ) / distance
To Vergence Point