web2vr: Demo (and presumably repo) does not work with aframe 1.1.0
When putting the minimum demo from the repo’s readme with aframe 1.1.0, it doesn’t work.
This is an example with aframe 1.1.0 that produces the error seen below. This is an example with aframe 1.0.4.
2browser.js:111 core:schema:warn Unknown property `model` for component/system `generic-tracked-controller-controls`.
web2vr.min.js:1 TypeError: Cannot read property 'listeningForMouseEvents' of undefined
at o.value (web2vr.min.js:1)
at t.value (web2vr.min.js:1)
at web2vr.min.js:1
index.js:96 Uncaught TypeError: Cannot read property 'array' of undefined
at TextGeometry.computeBoundingSphere (index.js:96)
at P.raycast (three.js:8649)
at ki (three.js:34685)
at Ui.intersectObjects (three.js:34733)
at i.checkIntersections (raycaster.js:227)
at i.tock (raycaster.js:199)
at HTMLElement.tock (a-scene.js:764)
at e.object3D.onAfterRender (a-scene.js:53)
at We.render (three.js:18659)
at HTMLElement.render (a-scene.js:798)
```
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (17 by maintainers)
In component vr-border the LineBasicMaterial default linewidth was 10 (thats really width line) and while updating the material it was lineWidth and not linewidth how it supposed to be. This command linewidth that uses WebGL lineWidth() will always be 1 on windows by default because ANGLE rendering on windows uses DirectX (default but can be changed to GL) that does not support line width. While ANGLE rendering on other OS uses GL where it supports line width.
I think I know why just tested on virtual ubuntu and got it. Will fix it as soon as possible in the dev version.
Working on update that it will work aframe 1.1.0. Aframe 1.1.0 broke some of my code including some webgl and three.js that i will need to rewrite myself.