Web VR mode stereoscopic swapped on mobile

  • Hello,

    I've been working on web vr video for a bit now and I just noticed that when you click the VR icon to go into web vr mode, the left/right eye perspectives look good on desktop, but on my phone (samsung s7) the two views seem swapped?

    See attachments
    1) Desktop - working correctly as intended
    2) Mobile - left/right swapped?
    3) Demo (mobile) - same thing swapped but on the krpano demo video

    Can someone confirm if this is the case on their phones as well / provide a fix for it?

    Link to my pano video (may or may not work as I'm tinkering with it):
    http://laravel.dealerpinch.com/vr/player/hyundai


    Link to krpano demo video (1st video):
    https://krpano.com/video/


    ---

    On a side note, I noticed that when I want a page to load in stereoscopic mode, I use the recommended setting

    <display stereo="true" />
    I noticed today the default has no perspective so I found in the documentation to use

    stereooverlap="0.17" (between 0.0 and 1.0)

    I chose 0.17 for now to closely match the web vr mode, anyone know the exact value web vr mode uses? 0.17 seems close and web vr mode also seems to zoom back a little.


    Thank you for any assistance!

  • Hi,

    why do you think the views are swapped?

    For me it sounds more like your real IPD doesn't match the IPD set in the viewer...

    Best regards,
    Klaus

    Hi Klaus,

    Thank you for the response.

    I'm kind of confused what you mean by "your real IPD doesn't match the IPD set in the viewer"


    My thought is that I don't believe I changed any settings so it is currently the default behavior of the viewer's VR mode (after clicking the cardboard icon)


    Is there a way for me to set the IPD (Interpupillary distance) of the VR mode myself?
    Perhaps there's two different values, one for desktop one for mobile? I just find it weird that it does one thing on desktop (displays correctly) and another (displays inverted) on mobile.


    And I say default behavior because this is the case of the sample video:
    http://d8d913s460fub.cloudfront.net/krpanocloud/vi…x.html?v=119pr5

    I checked on my Android and an iPhone, so I believe either both phones are displaying incorrect behavior or the player VR mode is incorrect.


    Thanks for the help! *thumbup*

  • Hi,

    Is there a way for me to set the IPD (Interpupillary distance) of the VR mode myself?

    Yes - click the VR setup button and change the IPD.

    Btw - that's only on mobile browsers and without WebVR API. On desktop browsers or mobile browsers with the WebVR API the VR rendering will be done by the browser itself.

    Best regards,
    Klaus

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!