Class ALMALENCEDigitalLensControl
Digital Lens for VR (DLVR) is a computational lens aberration correction technology enabling high resolution, visual clarity and fidelity in VR head mounted displays. The Digital Lens allows to overcome two fundamental factors limiting VR picture quality, size constraints and presence of a moving optical element — the eye pupil.
Features:
- Complete removal of lateral chromatic aberrations, across the entire FoV, at all gaze directions.
- Correction of longitudinal chromatic aberrations, lens blur and higher order aberrations.
- Increase of visible resolution.
- Enhancement of edge contrast (otherwise degraded due to lens smear).
- Enables high quality at wide FoV.
For OpenXR runtimes DLVR is implemented as implicit API Layer distributed by Almalence Inc. as installable package. DLVR utilize eye tracking data (eye pupil coordinates and gaze direction) to produce corrections of render frames. As long as current core OpenXR API does not expose an eye tracking data, DLVR API Layer relies on 3rd-party eye tracking runtimes.
List of supported eye tracking devices:
- Tobii_VR4_CARBON_P1 (HP Reverb G2 Omnicept Edition)
- Tobii_VR4_U2_P2 (HTC Vive Pro Eye)
This extension enables the handling of the Digital Lens for VR API Layer by calling SetDigitalLensControlALMALENCE.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe extension name.static final intThe extension specification version.static final intXrDigitalLensControlFlagBitsALMALENCE - XrDigitalLensControlFlagBitsALMALENCEstatic final intExtendsXrStructureType. -
Method Summary
Modifier and TypeMethodDescriptionstatic intnxrSetDigitalLensControlALMALENCE(XrSession session, long digitalLensControl) Unsafe version of:SetDigitalLensControlALMALENCEstatic intxrSetDigitalLensControlALMALENCE(XrSession session, XrDigitalLensControlALMALENCE digitalLensControl) Sets DLVR status.
-
Field Details
-
XR_ALMALENCE_digital_lens_control_SPEC_VERSION
public static final int XR_ALMALENCE_digital_lens_control_SPEC_VERSIONThe extension specification version.- See Also:
-
XR_ALMALENCE_DIGITAL_LENS_CONTROL_EXTENSION_NAME
The extension name.- See Also:
-
XR_TYPE_DIGITAL_LENS_CONTROL_ALMALENCE
public static final int XR_TYPE_DIGITAL_LENS_CONTROL_ALMALENCEExtendsXrStructureType.- See Also:
-
XR_DIGITAL_LENS_CONTROL_PROCESSING_DISABLE_BIT_ALMALENCE
public static final int XR_DIGITAL_LENS_CONTROL_PROCESSING_DISABLE_BIT_ALMALENCEXrDigitalLensControlFlagBitsALMALENCE - XrDigitalLensControlFlagBitsALMALENCEFlag Descriptions
DIGITAL_LENS_CONTROL_PROCESSING_DISABLE_BIT_ALMALENCE— disables Digital Lens processing of render textures
- See Also:
-
-
Method Details
-
nxrSetDigitalLensControlALMALENCE
Unsafe version of:SetDigitalLensControlALMALENCE -
xrSetDigitalLensControlALMALENCE
public static int xrSetDigitalLensControlALMALENCE(XrSession session, XrDigitalLensControlALMALENCE digitalLensControl) Sets DLVR status.C Specification
The
SetDigitalLensControlALMALENCEfunction is defined as:XrResult xrSetDigitalLensControlALMALENCE( XrSession session, const XrDigitalLensControlALMALENCE* digitalLensControl);Description
SetDigitalLensControlALMALENCEhandles state of Digital Lens API LayerValid Usage (Implicit)
- The
XR_ALMALENCE_digital_lens_controlextension must be enabled prior to callingSetDigitalLensControlALMALENCE sessionmust be a validXrSessionhandledigitalLensControlmust be a pointer to a validXrDigitalLensControlALMALENCEstructure
Return Codes
- On success, this command returns
- On failure, this command returns
See Also
- Parameters:
session- a handle to a runningXrSession.digitalLensControl- theXrDigitalLensControlALMALENCEthat contains desired characteristics for the Digital Lens
- The
-