I have a bit of a weird issue here. I am using react, and mind-ar-js together.
The current code briefly shows the blue sphere, but it soon is hidden along with all other aframe elements as soon as arSystem.start() is called. If I do not call arSystem.start() the blue sphere remains.
After calling arSystem.start() mind-ar-js does appear to be recognizing the image, and wanting to put an anchor, but it seems it is prevented by aframe hiding or not showing. The loading UI, and scanning UI both work, as when the target image is seen in the camera the scanning UI goes away. However the plane entity to show the artists information does not appear.
I also notice that when i subscribe to the renderstart event as in the react example, it does not fire.
I have a bit of a weird issue here. I am using react, and mind-ar-js together.
The current code briefly shows the blue sphere, but it soon is hidden along with all other aframe elements as soon as arSystem.start() is called. If I do not call arSystem.start() the blue sphere remains.
After calling arSystem.start() mind-ar-js does appear to be recognizing the image, and wanting to put an anchor, but it seems it is prevented by aframe hiding or not showing. The loading UI, and scanning UI both work, as when the target image is seen in the camera the scanning UI goes away. However the plane entity to show the artists information does not appear.
I also notice that when i subscribe to the renderstart event as in the react example, it does not fire.
Is there a better way to handle this in react?