MobileVRInterface

    Category: Core

    Generic mobile VR implementation

    This is a generic mobile VR implementation where you need to provide details about the phone and HMD used. It does not rely on any existing framework. This is the most basic interface we have. For the best effect you do need a mobile phone with a gyroscope and accelerometer.

    You can initialise this interface as follows:

    • display_to_lens
    Setterset_display_to_lens(value)
    Getterget_display_to_lens()

    The distance between the display and the lenses inside of the device in centimeters.


    The width of the display in centimeters.


    • eye_height
    Setterset_eye_height(value)
    Getterget_eye_height()

    The interocular distance, also known as the interpupillary distance. The distance between the pupils of the left and right eye.


    Setterset_k1(value)
    Getterget_k1()

    The k1 lens factor is one of the two constants that define the strength of the lens used and directly influences the lens distortion effect.


    • k2

    The k2 lens factor, see k1.


    Setterset_oversample(value)
    Getterget_oversample()