Modification of Cardboard Profile

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.