Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Montag, 15. Juni 2020, 02:12

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*

2

Montag, 15. Juni 2020, 23:20

Hi,

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

But if you want to use VR mode in portrait mode, with stereo-rendering disabled:

Change the display.stereo setting to false after entering vr mode:
https://krpano.com/docu/xml/#display.stereo

and for Android disable the display.autofullscreen setting:
https://krpano.com/docu/xml/#display.autofullscreen

Best regards,
Klaus

3

Dienstag, 16. Juni 2020, 04:38

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

4

Donnerstag, 18. Juni 2020, 09:46

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