I want to support VR mode for single-lens goggles and twin-lens goggles.

  • Hello!

    Normally, VR mode view is side by side, but is it possible to support single-lens goggles?

    In the case of iOS, it was possible to fixed by fixing the screen orientation.

    However, in the case of Android, even if the automatic rotation of the screen is turned off, it will automatically switch to side by side.

    Is there a way to deal with it? *cry*

  • Hi, Klaus!

    why not just using the gyro control for such case...?


    The reason we don't use gyro control is because we want a crosshair cursor when VR mode is enabled.
    I wanted to disable side-by-side while retaining all the functionality of VR mode.

    I'll try to switch the settings of display.stereo and display.autofullscreen.
    I'll report again. *thumbsup*

    Best regards,
    s.y

  • Hi,


    When entering the VR mode (onenter vr=),
    ・Disable display.stereo
    ・Disable display.autofullscreen
    I set it to, but it automatically switches to side by side mode.

    I will post the source code.
    Is the setting wrong? I may not understand the Webvr plugin. *sad*

    <plugin name="webvr" keep="true" devices="html5.and.webgl"
    url="calc:skin_settings.webvr == true ? '%VIEWER%/plugins/webvr.js' : null"
    onavailable="skin_webvr_onavailable();"
    onentervr="
    skin_showloading(false);
    webvr_onentervr();
    skin_webvr_setup();
    skin_reloadscene_webvr();
    if(device.android,
    set(display.autofullscreen, false);
    set(display.stereo, false);
    );
    "
    onexitvr="
    webvr_onexitvr();
    skin_webvr_setup();
    skin_reloadscene_webvr();
    "
    />

    Best regards,
    s.y

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!