Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render web VR content #7

Open
ndesseaux opened this issue Feb 3, 2020 · 3 comments
Open

Render web VR content #7

ndesseaux opened this issue Feb 3, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@ndesseaux
Copy link

Hi, Great job!!

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

@IanPhilips
Copy link
Owner

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 IanPhilips added the enhancement New feature or request label Mar 13, 2020
@IanPhilips IanPhilips changed the title Unable to view WebVr content Render web VR content Jul 31, 2020
@edsuc
Copy link

edsuc commented Feb 17, 2022

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

@IanPhilips
Copy link
Owner

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants