brianzinn Posted October 17, 2017 Share Posted October 17, 2017 I have my scene working great in GearVR, but fuzzy in Cardboard on OnePlus. I think what I need to do is calibrate the VR metrics for my viewer:https://github.com/BabylonJS/Babylon.js/blob/master/src/Cameras/VR/babylon.vrCameraMetrics.ts google cardboard is: Sreen to lens distance 39.3mm Inter-lens distance 63.9mm Screen vertical alignment: Bottom Tray to lens-center distance 35mm k1 distortion coefficient 0.33582564 k2 distortion coefficient 0.55348791 There is a cardboard calibrator (https://wwgc.firebaseapp.com/) where you enter your PPI and will generate a QR code - using the cardboard clicking button. Would be cool to have something built into BabylonJS. I think I need to work my way from those numbers to those use by camera metrics - does anybody know how? Otherwise maybe I'll try to start a PG using GUI + gaze to alter the metrics - except it looks like the metrics are a constructor parameter for the camera, so doesn't look like a good option. result.hResolution = 1280; result.vResolution = 800; result.hScreenSize = 0.149759993; result.vScreenSize = 0.0935999975; result.vScreenCenter = 0.0467999987; result.eyeToScreenDistance = 0.0410000011; result.lensSeparationDistance = 0.0635000020; result.interpupillaryDistance = 0.0640000030; result.distortionK = [1.0, 0.219999999, 0.239999995, 0.0]; result.chromaAbCorrection = [0.995999992, -0.00400000019, 1.01400006, 0.0]; result.postProcessScaleFactor = 1.714605507808412; result.lensCenterOffset = 0.151976421; @davrous - Got some ideas - maybe something that could be a VR Experience Helper option to choose popular viewers using GUI + gaze like your demo (ie: cardboard/gearvr/etc.)? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.