You are not logged in.

1

Thursday, March 3rd 2016, 11:12am

Disabling stereoscopic after 'Enter VR' is activated

I want to control what view (stereoscopic or monoscopic) VR mode starts with after I press 'Enter VR'.


I tried to set this by altering the action "webvr.enterVR()" that's attached to hotspot[webvr_enterbutton] in webvr.xml, but the action "webvr.enterVR()" is nowhere to be found.


Hilf mir bitte!


Here's an example: http://d8d913s460fub.cloudfront.net/krpa…x.html?v=119pr3

2

Friday, March 4th 2016, 5:25pm

Hi,

in the MobileVR (Cardboard) mode or in the fake-mode it's anytime possible to change the stereo rendering by changing the display.stereo setting,

but when using the real WebVR API (for the Oculus Rift and HTC Vive) this is not possible of course.

Best regards,
Klaus

3

Monday, March 7th 2016, 7:04am


Hi,

in the MobileVR (Cardboard) mode or in the fake-mode it's anytime possible to change the stereo rendering by changing the display.stereo setting,

but when using the real WebVR API (for the Oculus Rift and HTC Vive) this is not possible of course.

Best regards,
Klaus
Du hast Recht!

I created a simple action that said something like this and it worked:

if (detectsGyroscope == false || isMobile == false ) {
set(display.stereo,false)
}