Project

General

Profile

How do i switch to VR Control?

Added by Nate Lager about 2 years ago

This may sound silly, but how do i actually switch into VR mode? I have vrspace stood up, i can access it with my browser, i can walk around the world, great. If i click the little goggle icon it just gives me the view that i think should work with my vr setup, but it doesnt actually do anything to output to my headset or let me use my controllers. Is this a browser limitation? (like, do i need to use a specific browser?)

Thanks.


Replies (12)

RE: How do i switch to VR Control? - Added by Nick Naglich about 2 years ago

Are you running HTTPS?
It kind of sounds like this issue: https://redmine.vrspace.org/issues/108

What VR headset and browser are you using?

RE: How do i switch to VR Control? - Added by Nate Lager about 2 years ago

ive tried both firefox and brave.

vr setup is the htc vive, which i normally use through steamvr.

I am using it over https, but the https is handled by an nginx proxy, not the vrspace instance. that's all just clear 8080 out of the box.

RE: How do i switch to VR Control? - Added by Nate Lager about 2 years ago

now, im in the browser in standard flat mode. id assumed starting vr view would call steamvr through the browser, like other apps do.

RE: How do i switch to VR Control? - Added by Nick Naglich about 2 years ago

I've only tried it stand alone on the Quest 2, so not exactly sure which browsers support webxr out of the box.
Can you see that it is loading https and webxr?

A good place to start is by going to VRSpace.org and seeing if it works with your browser/headset.

RE: How do i switch to VR Control? - Added by Nate Lager about 2 years ago

Nick Naglich wrote:

I've only tried it stand alone on the Quest 2, so not exactly sure which browsers support webxr out of the box.
Can you see that it is loading https and webxr?

A good place to start is by going to VRSpace.org and seeing if it works with your browser/headset.

Ill give that a shot after the work day's over and im back on my personal machine. Thanks!

RE: How do i switch to VR Control? - Added by Josip Almasi about 2 years ago

Firefox doesn't support WebXR, they gave it up a year ago or so. They have another VR-enabled browser, called firefox reality, for VR gear, e.g. oculus. I kinda fail to see the purpose here, I never got it working on my oculus.
So, use chrome breed - including edge on PC, including oculus browser.
On PC/windows, you'll need microsoft mixed reality. VR google button then appears in the browser, press on it activates goggles and controllers.
On PC/linux, last I checked, neither firefox nor chrome supported WebXR. But that was years ago.

RE: How do i switch to VR Control? - Added by Nate Lager about 2 years ago

Josip Almasi wrote:

Firefox doesn't support WebXR, they gave it up a year ago or so. They have another VR-enabled browser, called firefox reality, for VR gear, e.g. oculus. I kinda fail to see the purpose here, I never got it working on my oculus.
So, use chrome breed - including edge on PC, including oculus browser.
On PC/windows, you'll need microsoft mixed reality. VR google button then appears in the browser, press on it activates goggles and controllers.
On PC/linux, last I checked, neither firefox nor chrome supported WebXR. But that was years ago.

Thanks, ill try it on brave and see if my machine has ms mixed reality (gaming pc is windows).

RE: How do i switch to VR Control? - Added by Nate Lager about 2 years ago

ok, I just tried it out.

First, the Windows Mixed Reality portal seems to just be a "VR Home" type setup that SteamVR already provides me. When I open mixed reality, it cant seem to detect my headset, i think because steamvr is the default app for that functionality?

If i open Steam VR home though, and then launch vrspace in brave, it gives me the goggle icon at the lower right, and fires up the world in steamvr! W00t!

I do have an issue though. I launched it at avatar selection, and picked an avatar, and entered a world. Seems whatever world i choose I end up in the sky, above the world, and unable to move, I can look around and whatnot, but cant get to the ground, or move around. I didnt try going to a world in flat mode, and then switching to vr, maybe ill give that a shot. Not sure if this is a steamvr problem? I'll tinker with it some more later on.

RE: How do i switch to VR Control? - Added by Josip Almasi about 2 years ago

Double-checked just in case, it works as expected:
just point your pointer anywhere and teleport around. Only now I realized htc vive controllers don't have thumb joystick:) How do you usually teleport?

Regarding popping up mid-air, that's intentional, but not finished. I kinda like 'falling into a level', so that's how I set up initial cameras.
XR cameras work quite different though. For one, the gravity does not take. Some additional work is needed, and also active development in babylon.js is going on in that area, see e.g. https://forum.babylonjs.com/t/webxr-movement-module-improvements/28397

VR navigation video: https://www.youtube.com/watch?v=bxsCRDdHbuk&t=60s

RE: How do i switch to VR Control? - Added by Nate Lager about 2 years ago

Yea, forgot to update this but if i go into a world in flat mode, THEN to to vr, it has me on the ground and I can move around. So the various worlds do work.

The vive controllers have something of a touch d-pad, but I use valve index controllers with mine, so i have joysticks.

RE: How do i switch to VR Control? - Added by Josip Almasi about 2 years ago

Nate are you absolutely sure you couldn't move? I.e. did you try to point your controller/pointer to the ground and teleport anywhere?

So works with steam vr - great news. In other news, another thing I can't reproduce :) I do have it installed, but looks like wmr takes precedence in my case.
That's really up to manufacturer, I have wmr headset... I ranted enough about that in my articles so I'll stop now :)

RE: How do i switch to VR Control? - Added by Nate Lager about 2 years ago

I will try it again to be sure, but yes, i tried moving around, and it was like I couldn't get a target on the ground to jump to. I will try again and see if I can do anything to get that to work.

    (1-12/12)