Thanks Klaus!
Your suggestion works like a charm. It needs some work with regards to opening images and textfields, but I think I can hack around that. I can simply drop in and out of VR mode if the invoked action requires it.
I guessed that it could not work separately from webVR, but this isn't much of a problem. I only want this feature to be shown on mobile devices anyway and for the 2% of people who lug a stereo viewer around I still want to offer the VR option, so webVR is needed anyway.
edit : The setup turned out to be really simple. When in non-stereo VR mode, which is an option on mobile next to full VR mode, a variable is set that is checked whenever an action that does not play nice with webVR. If non-stereo VR is active, the action drops out of vr and onexit reenters this mode. It's almost seamless. In full VR mode, a lot of the content simply will be skipped.
Thanks a lot and keep up the great work
Peter.
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »Timescale« (13. April 2016, 18:30)