From ce74efacbbad6edc7d84975f4480aa254f73b6cd Mon Sep 17 00:00:00 2001 From: BastiaanOlij Date: Fri, 29 Sep 2017 21:36:27 +1000 Subject: Made a few tweaks to the interface --- .../mobile_vr/doc_classes/MobileVRInterface.xml | 134 +++++++++++++++++++++ 1 file changed, 134 insertions(+) create mode 100644 modules/mobile_vr/doc_classes/MobileVRInterface.xml (limited to 'modules/mobile_vr/doc_classes') diff --git a/modules/mobile_vr/doc_classes/MobileVRInterface.xml b/modules/mobile_vr/doc_classes/MobileVRInterface.xml new file mode 100644 index 0000000000..c945a99a9a --- /dev/null +++ b/modules/mobile_vr/doc_classes/MobileVRInterface.xml @@ -0,0 +1,134 @@ + + + + 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. + Note that even though there is no positional tracking the camera will assume the headset is at a height of 1.85 meters. + + + + + + + + + + + Returns the distance between the display and the lens. + + + + + + + Return the width of the LCD screen of the device. + + + + + + + Returns the interocular distance. + + + + + + + Returns the k1 lens constant. + + + + + + + Retuns the k2 lens constant + + + + + + + Returns the oversampling setting. + + + + + + + + + Sets the distance between display and the lens. + + + + + + + + + Sets the width of the LCD screen of the device. + + + + + + + + + Sets the interocular distance. + + + + + + + + + Sets the k1 lens constant. + + + + + + + + + Sets the k2 lens constant. + + + + + + + + + Sets the oversampling setting. + + + + + + The distance between the display and the lenses inside of the device in centimeters. + + + The width of the display in centimeters. + + + The interocular distance, also known as the interpupillary distance. The distance between the pupils of the left and right eye. + + + 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. + + + The k2 lens factor, see k1. + + + The oversample setting. Because of the lens distortion we have to render our buffers at a higher resolution then the screen can natively handle. A value between 1.5 and 2.0 often provides good results but at the cost of performance. + + + + + -- cgit v1.2.3