hi there,
i have a problem with a small selfmade web-application. Like in the tutorial explained, i added the following Code to my VueJS-App to enable the VR-mode:
In Chrome I can access the 3D-Scene trouble-free, but if i want to access VR-mode via Oculus Browser on the Oculus Quest 2, i can just see a 2D version of a single rendered Frame in a very bad quality inside a “normal”-sized canvas/window (cannot explane it). Here a visual Explanation: https://youtu.be/Es0y8L6gUlY
First of all: Thanks foor the quick reply! I will try that later!
But - for my knowledge - why are these code-lines still part of the tutorial and actually functional in the examples (either in Chrome or Oculus-Browser) but not in my custom code?
I can not directly see why your example does not work, but the solution is often simple just take the working demo, remove parts which you do not need. If the playground does not work any more you just removed the essential part. (you can also do it the other way, try adding the stuff of the demo to your own code, till it works)
That can be caused due to many factors. https would probably be my first guess (as webvr falls back to webxr, and webxr is only available over https when not in localhost). But it is hard to say. want to share a bit more?
But please - avoid using the WebVR experience helper and move to the webxr experience helper which does more in terms of compatibility. and is not deprecated
yeah, tried it and in normal cases it would work, but in my case i’m not able to run the application locally via https because i dont know how to switch from http to https. Thats the main-problem for now.