HoloLite

Incorrect rendering in vr headset when switching sessions

Recommended Posts

I have a test app with 2 sessions which I can switch back and forth by clicking a button (thanks to the new UI). 

The rendering of both sessions works as expected in the browser (non-vr), but not quite when I go into the vr mode.

When viewing in vr headset (using wmr odyssey), I am seeing double vision when switching session.

I am guessing this has something to do with VRExperienceHelper which is created per scene object (via Scene.CreateDefaultVRExperience()).

Probably it's not safe to create more than one instances of the vr helper object ? But then what should you do when you have multiple session objects ?

Please advise, thanks.

 

Share this post


Link to post
Share on other sites

Well I remembered Deltakosh mentioned this but I am not using full screen UI though. It won't even render properly in any scene. 

The first scene with button works just fine but as soon as I switched to the second scene, I am seeing double vision. 

Share this post


Link to post
Share on other sites

@brianzinn, thanks for the confirming this is a known issue. I guess I can work around it by creating my own virtual session objects which is based on single babylonjs.session object. But look forward to the fix in 3.2.!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.