UnityOculusAndroidVRBrowser icon indicating copy to clipboard operation
UnityOculusAndroidVRBrowser copied to clipboard

Render web VR content

Open ndesseaux opened this issue 5 years ago • 3 comments

Hi, Great job!!

I cannot view Webvr html page, ex. aframe.io Is there a way? maybe with: import org.mozilla.geckoview.GeckoVRManager;

ndesseaux avatar Feb 03 '20 18:02 ndesseaux

That would probably require changing the way the screen renders with the help of OVROverlay. As it is now, it uses OVROverlay to render to a quad. So we'd probably have to switch that to rendering to a sphere

IanPhilips avatar Feb 19 '20 21:02 IanPhilips

Hi Ian,

I'm not sure if this needs a new request, but we're trying to get a web page with a WebXR game on it to play on your browser within an oculus app.

We can see the WebXR game on the page (and interact with it in 2D), but when we click on the 'VR' button, it doesn't open up into immersive view.

Here is an example of a WebXR page similar to the one we are showing: https://de-panther.github.io/WebXR-Unity-Samples/VR/WebXR-Quick-VR/Build/ (we built ours using the same DePanther exporter)

The VR button does activate (it turns blue), but it just doesn't pop out into immersive mode as WebXR usually would.

Is this something you'd be able to help us with? Or do you think you'd be able to point us in the right direction?

Many thanks,

Ed

edsuc avatar Feb 17 '22 14:02 edsuc

Hi Ed, I don't have the time to implement this but you're more than welcome to try yourself. Unfortunately I don't know how this would work. This browser is based on firefox's geckoengine so you could ask over in their forums how you could adapt this to a unity implementation. Right now the browser is rendered to a 2D plane, so you'd likely have to render it to something like a sphere? I'm not sure!

IanPhilips avatar Mar 06 '22 02:03 IanPhilips