davrous Posted June 22, 2017 Share Posted June 22, 2017 Hello, I'm having fun while writing our next big tutorial on building WebVR scene with Babylon v3. Here's a preview of what I'm working on. The Mansion scene is really a great experience in VR! You can use the VR controllers to teleport, it sends a yellow ray by default. If the ray turns blue, it means you're pointing to an actionable item (using our Action Manager). Pressing the VR controller button will run the action on it, most of the time an animation + sound like in the regular version of Mansion: http://www.babylonjs.com/demos/mansion Enjoy! David julien-moreau, Pierre Glibert, Raggar and 7 others 10 Quote Link to comment Share on other sites More sharing options...
Vousk-prod. Posted June 23, 2017 Share Posted June 23, 2017 Ouuuh, scary! davrous 1 Quote Link to comment Share on other sites More sharing options...
brianzinn Posted June 27, 2017 Share Posted June 27, 2017 Does anybody have this working on a Gear VR with the controller (head tracking + ray tracking in 3D)? I put up a Q&A, but seems nobody has an answer there Quote Link to comment Share on other sites More sharing options...
davrous Posted June 27, 2017 Author Share Posted June 27, 2017 Unfortunately, I don't have any Gear VR to test. I think @RaananW got one but not sure. Quote Link to comment Share on other sites More sharing options...
brianzinn Posted June 27, 2017 Share Posted June 27, 2017 OK. Would be nice if Gear VR was supported for BJS 3.0. in Q1 of this year more GearVRs were sold than Google, HTC, Oculus, and Sony combined. Quote Link to comment Share on other sites More sharing options...
davrous Posted July 25, 2017 Author Share Posted July 25, 2017 I've just bought a Samsung S8, need to buy the Gear VR now and I'll work on it. brianzinn 1 Quote Link to comment Share on other sites More sharing options...
brianzinn Posted August 2, 2017 Share Posted August 2, 2017 Oh WOW! That is very cool. I'm excited to get BabylonJS working on more low end devices like Gear VR and cardboard. Many people these days don't even have a PC. Looking forward to seeing what you come up with Quote Link to comment Share on other sites More sharing options...
davrous Posted August 3, 2017 Author Share Posted August 3, 2017 I've just received it. Will share as soon as it will work better Quote Link to comment Share on other sites More sharing options...
davrous Posted August 9, 2017 Author Share Posted August 9, 2017 I do confirm Babylon.js works great in WebVR in GearVR. To make it work, you absolutely need a button to click to enter VR. As my demos on my tutorial are using the click on the canvas, they don't work for now. I'll update them. I've also fix a small bug on the web audio side which now enables Sponza VR to work in Gear VR. Still, even on a S8, it's very choppy. The scene is too complex for the Gear to render in VR. Maybe if I'm lowering down the resolution it could work much better. meteoritool, jerome, brianzinn and 1 other 4 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 9, 2017 Share Posted August 9, 2017 You s hould rename yourself something like LordOfVR or VRLord davrous 1 Quote Link to comment Share on other sites More sharing options...
davrous Posted August 10, 2017 Author Share Posted August 10, 2017 Here's a first sample using our new VR helper: http://www.babylonjs-playground.com/#IHY77X#16 Using this single line of code: scene.createDefaultVRExperience(); It will create a VR button at the bottom right on the rendering canvas, will create a default deviceorientation camera. So moving your phone around before switching to VR will let you explore in 360 already. Clicking on the button will check for WebVR compatibility + a headset connected. If WebVR ready -> switching to WebVR otherwise, fallback to VRDeviceOrientation camera. I've just tested on my iPhone and Samsung GearVR and it works very well brianzinn and GameMonetize 2 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 10, 2017 Share Posted August 10, 2017 This is REALLY cool! davrous 1 Quote Link to comment Share on other sites More sharing options...
brianzinn Posted August 11, 2017 Share Posted August 11, 2017 WOW - that looks fantastic on GearVR! Looking forward to trying out the other demos when they are updated ... if the controller works too would be even better, but this is already amazing! GameMonetize and davrous 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.