Open vvigilante opened 3 years ago
@vvigilante is changeMatrixMode
related to markers specifically?
videoTexture
is really designed for location-based AR, there are no guarantees that it will work in any other use case. It was introduced due to a specific problem I was having with location-based AR (see the other issue)
Maybe the best solution is just to add something to the docs making this clear.
Do you want to request a feature or report a bug?
Bug
What is the current behavior? Impossible to use the detectionMode when videoTexture: true.
The error is
Cannot read property 'changeMatrixMode' of undefined
. when during init ar.js tries to doarProfile.changeMatrixMode(_this.data.changeMatrixMode)
If the current behavior is a bug, please provide the steps to reproduce.
Here is the code to reproduce the issue
And here is the maker
Everything works correctly if i remove
videoTexture: true
. Tested with aframe 0.9.2 and 1.2.0Please mention other relevant information such as the browser version, Operating System and Device Name
Windows 10, Chrome 90