borismus / webvr-boilerplate

A starting point for web-based VR experiences that work on all VR headsets.
Apache License 2.0
1.8k stars 451 forks source link

Add CardboardViewer profile for last Google Cardboard #135

Open hthetiot opened 8 years ago

hthetiot commented 8 years ago

I just tested last Google Cardboard but none of the profile match. And I was not able to get the right settings.

Example:

CardboardV3: new CardboardViewer({ id: 'CardboardV3', label: 'Cardboard 2016', fov: 96, interLensDistance: 0.055, baselineLensDistance: 0.030, screenLensDistance: 0.035, distortionCoefficients: [0.02, 0.02], inverseCoefficients: [-0.33836704, -0.18162185, 0.862655, -1.2462051, 1.0560602, -0.58208317, 0.21609078, -0.05444823, 0.009177956, -9.904169E-4, 6.183535E-5, -1.6981803E-6] })

Links:

QR:

screen shot 2016-04-22 at 2 25 31 pm
hthetiot commented 8 years ago

This one is working fine: