react-three-arjs
react-three-arjs copied to clipboard
AR.js with react-three-fiber
Hi everyone, I'm using this lib in nextjs , how can I fix this error ?  Thanks all
I am trying to fire an onClick function on a cube mesh that is a child of a Marker. I get no errors but the function never fires on click....
Instead of using the r3f default offsetX/offsetY values use clientX/clientY here, because ar.js adds a precomputed left-margin offset which is not taken into account by r3f
When conditionally crendereing the ARCanvas this message is displayed And this shows in the console `ar.js:133 Uncaught TypeError: Cannot set properties of null (setting 'orientation') at HTMLVideoElement.video.onloadedmetadata (ar.js:133:63)` I think...
using onCameraStreamReady to change a state cause error  am i doing something wrong? 
Should be nice to put in the README.md that for some custom assets you need to enable logarithmicDepthBuffer in the ARCanvas gl properties or the model can show meshes overlaping...
Currently, using react-three-arjs is a bit frustrating in TS. The R3F Canvas needs to be imported (not used) to get the R3F JSX elements, and none of the components have...
I want to load the model in a way that it isn't resize according to the marker. How can i do that ? When i open a marker on my...
Add GH workflow to do the following with each PR: - Run the linter - Build code - Runs tests (if any) with each PR - If required, release and...
Completes #7 https://github.com/artcom/react-three-arjs/issues/7 This way of doing it is not ideal as there is a lot of duplicate code. I'd think that having this functionality in ARMarker would make it...