react-xr
react-xr copied to clipboard
How to use arjs with react-xr ?
I am learning to switch from A-frame to RTF's Ecosystem.
In @react-three/xr
's README.md, I found an ar 's example, which is great. I believe that AR interaction is already a huge demand.It connects the real space and adds great value to the objects in the real space.
Now I hope to develop an AR app like Aframe to make some fun recognition behaviors, such as Image Tracking, Location Based, Marker Based,
but in @react-three/xr
I have not found any support or examples. Is anyone with similar development experience can give me some guidance here? thank you~
So far this project only exposes existing three.js AR/VR features in a convenient way to use with react-three-fiber. I don't have that much knowledge about AR.js and how it works to give an opinion about this
Hey, we just released https://github.com/artcom/react-three-arjs. It's still in development, for now you can just try the marker based ar tracking. Because there is no npm module for ar.js available yet, we need to add it manually with webpack, have a look a the example. Hope this helps you for the beginning.
Hey, we just released https://github.com/artcom/react-three-arjs. It's still in development, for now you can just try the marker based ar tracking. Because there is no npm module for ar.js available yet, we need to add it manually with webpack, have a look a the example. Hope this helps you for the beginning.
Cool stuff! Any plans to implement the Location based markers also?
Hi @timrijkse, thank you! It is not planned yet, but when i find time i can take a look at how it could be integrated. If you like you can create an issue in https://github.com/artcom/react-three-arjs. PR is also welcomed :)
@j-era I love your react-three-arjs project. Tracking is working great. Is there a way to add click handlers? I have a cube mesh rendering but onClick does not work on it as it would with regular React Three Fiber. Thanks for your great work.
@j-era I love your react-three-arjs project. Tracking is working great. Is there a way to add click handlers? I have a cube mesh rendering but onClick does not work on it as it would with regular React Three Fiber. Thanks for your great work.
Thanks very much! I'll have a look at your issue.