Cardboard box, mobile phone screen size, lens distance from the screen, screen resolution, etc. will affect the wearer's eye imaging, through the deformation of the generated image can partially solve the problem, the Cardboard SDK provides cardboardprofile to deal with this kind of problem. The specific classes and relationships involved:
How do I modify the SDK so that the generated application fits nicely with the box currently in use?
Since the cardboard specification is made by Google, which is his product, has been out of V1 and V2, so device type has three kinds:
And the player can use the phone, can be a variety of mobile phones, the current SDK has been added to some types of mobile phone screen parameters:
Therefore, to modify the profile, the following steps are available:
First, if your device is produced on the market, different from Google's paper tray, you have to add device type and parameters, or choose your hand existing box type, is V1 or V2;
Second, look at your phone in the screentype there is no, if not, then add a corresponding;
Replace the SDK by default with your device parameters and screen parameters:
Modification of Cardboard Profile