Questions tagged [webvr]

WebVR is an experimental JavaScript API that provides support for virtual reality devices, such as the HTC Vive, Oculus Rift or Google Cardboard, in a web browser.

Note: WebVR is deprecated and has been superseded by WebXR; see .


The burgeoning WebVR APIs provide sensor information from virtual reality devices (such as the Oculus Rift) which, in conjunction with WebGL, allows for the creation of VR web applications.

More information at:

596 questions
0
votes
1 answer

Mozilla A-Frame Loads Images Twice

got a weird webVR Mozilla A-Frame question So I'm loading an image in an a-curvedimage tag (with some animation stuff inside) like so:
Jake Evans
  • 307
  • 6
  • 19
0
votes
0 answers

A-Frame application keeps crashing. Render warning in console

I'm building an A-Frame application that has a lot of collada models in the scene. I think it may be crashing my application because I keep getting this error CommandBufferContext.Offscreen-MainThread-0x7fca4c904720 RENDER WARNING: Render count or…
Yoni Binstock
  • 241
  • 4
  • 19
0
votes
2 answers

A-Frame: Is it possible to have a-videosphere have a src link to a youtube video instead of a locally stored video file?

I want to be able to do this Is there any way I can without pointing to a locally stored file?
Yoni Binstock
  • 241
  • 4
  • 19
0
votes
0 answers

Unable to create webgl context in Chromium when webvr is enabled?

I am using Chromium version 54.0.2790.0 which is the latest version. The problem is, when webvr is enabled (chrome://flags -> webvr -> Enable) both of the following functions return null.…
Rasheduzzaman Sourov
  • 1,375
  • 2
  • 15
  • 36
0
votes
2 answers

is not playing in Android browsers

I'm trying to build an aFrame project and attach a 360 video in this project. The problem I faced is that the 360 videos worked on Google Chrome in my desktop. But it is not working in my Android phone either Chrome nor Firefox. Here is the source…
user6573749
0
votes
1 answer

How to share attribute data between components from a mouseover event in A-Frame?

How would I pass the position of one component a-box to another component a-sphere thereby triggering a-sphere's animation to update to current a-box position. Is there a declarative method of doing this from the markup? LIVE CODE HERE: - var…
Armeen Moon
  • 18,061
  • 35
  • 120
  • 233
0
votes
3 answers

Aframe animation being triggered by incorrect event

I have declared two animations on a . The first is set to activate on click the second is triggered by another javascript file using the custom 'close' event. I defined my sky as follows:
Devin
  • 205
  • 2
  • 13
0
votes
1 answer

What config needed for 75fps in WebGL application?

I want to make webgl application (using ThreeJS) for Oculus Rift DK2. DK2 need to get 75fps rendering output for the best view. But I have problem with it: one PC output 75fps, another - 60fps only. My PC configs: PC1 (outputs 75fps) Intel Core…
skywind
  • 892
  • 6
  • 22
  • 44
0
votes
1 answer

How to enable WebVR on WebView with krpano?

I managed to run krpano with WebVR on Chrome and Firefox, and the cardboard button is visible and enabled. But upon running it embeded inside a WebView in Android, it doesn't show the cardboard button. But then, I found out that my compiled apk with…
Jason Sparc
  • 702
  • 2
  • 7
  • 29
0
votes
1 answer

Unable to get Gamepad events on Chromium Version 44.0.2383.0

I'm trying to get my gamepad events in chromium. Everything works perfectly fine on Chrome Version 44.0.2403.130 m with this code : var gamepadList = navigator.getGamepads ? navigator.getGamepads() : (navigator.webkitGetGamepads ?…
user5209723
0
votes
1 answer

Playing 360 videos in Chromium and Mozilla nightly WebVR versions

I'm trying to integrate 360 videos in WebGL, using the HTML5 video player and a flat video it does work, but when I use this video by example : http://video.airpano.com/Video-Porto/portu_fin3_ir2048_5mbs.mp4 all I get is a black screen. I use the…
user3122532
  • 21
  • 1
  • 4
-1
votes
1 answer

Is there a way to set a 'gltf-model' or 'obj-model' in A-Frame during runtime by using a selector in the schema?

I'm making an A-Frame project in which I have to set a 3D object to an entity during runtime based on user input. Is there a way to use selector types to set it? Example: AFRAME.registerComponent('model',{ schema:{ ext: {type: 'string',…
-1
votes
1 answer

The future of A-frame, https?

So I been following A-frame WebVR and learning it since 2015. For me being a Web 'DESIGNER' since 2006, A-frame has been fairly easy to follow and design with, up until A-frame 1.0.0. It seems now A-frame is becoming extremely cumbersome to work…
-1
votes
1 answer

Fixed Entity to Camera not showing in VR Mode

I was wondering if there is a problem with my code or is there some work around I need to do this is what I have:
Kevin Le
  • 49
  • 2
  • 9
-1
votes
1 answer

Show custom content in AFRAME when fps drops and steam brings you back to the default room

How can I show a custom page / scene / 360 skybox every time my fps drops instead of being brought back by Steam VR to that dark room with the grid and the play area visible? I am on AFRAME. Thanks
MaX
  • 489
  • 7
  • 18
1 2 3
39
40