holokit / holokit-1-sdk

HoloKit Unity SDK for HoloKit 1 (Cardboard version). This repo is deprecated. Please refer to https://github.com/holokit/holokit-unity-sdk for latest SDK for HoloKit X.
https://holokit.io
Apache License 2.0
153 stars 58 forks source link

How to caluclate viewport size with different real device screen any guide or advice? #21

Open sableangle opened 5 years ago

sableangle commented 5 years ago

Hi, Thanks for the great work! As the newest version SDK, the PhenoType didn't contains the newest iPhone. e.g. iPhone XS Max or iPhone XR.

So the viewport is wired in iPhone XS Max or iPhone XR. I'm trying add those device myself. But I can't get the correct parameters to render the viewport correctly.

Does there any advice or guide to help me get the correct parameters?

Thanks so much!