Jump to content

Gear VR setup with ray tracking


Recommended Posts

I'm trying to get my phone (S8) working like the video in this post, which has head and ray tracking in BabylonJS:

That PG is: http://playground.babylonjs.com/#ASDZLT#24.  I have an S8 and Gear VR and I am unable to get ray tracking and 3D head tracking working at the same time.  What I have tried:

Disabling Gear VR service (using Package Disabler)

1.  Opening the PG with a web browser, but I have no controller.  In Samsung Internet (normal or beta) or Chrome browser the head tracking works great, but no controller.

Enabling Gear VR service opens oculus and I have tried these 2 options:

1. Opening Oculus browser.  Have 2D scene (so side by side screens).  Don't see any options for 3D.

2. Opening Samsung Browser in Oculus.  Opens and controller works in 2D (with side-by-side screens), while head tracking doesn't.  Switching to 3D Side-by-side wasn't 3D.


I updated the firmware on my controller.  Not sure what I am missing.  Thanks.



Link to comment
Share on other sites

  • 2 weeks later...
  • 5 weeks later...

The controller works with the gamepad camera (http://www.babylonjs.com/demos/mansion/), so I figure that I can get that going.  Let's just leave the controller out for now.

Head tracking works, but the scene is blurry in 3D (double vision).  This page (https://mozvr.com/webvr-demos/demos/vihart/monkeys.html) does work, so it shows at a minimum that my phone is setup correctly to view 3D on a webpage.  The playground from my first post is blurry as well (http://playground.babylonjs.com/#ASDZLT#24).  Actually, it's the same with google cardboard (different phone) - it works on the mozvr size, but the babylonjs demos are blurry/double-vision, so quite possibly I am doing something wrong.

Anyway, if anybody has a gear VR and has a babylonJS page working in 3D not-blurry then I would be interested in hearing about how.   Thanks.



Link to comment
Share on other sites

Thanks for the feedback. If it's blurry with us and not on the Moz demo, maybe it's because they're not using the same HMD parameters as us. In our case, we're taking the value returned by the device or default values, it could come from there. 

I'd like also to have a better support for Gear VR and Daydream but don't have any hardware to work on for now. 


Link to comment
Share on other sites

OK.  It would be interesting to make a demo for adjusting the HMD parameters (using GUI sliders).  What parameters do we need to change to support different devices? Each cardboard is different - it is the QR code that adjusts HMD parameters.

Also, for which device do the defaults work on?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...