Apple introduced a very powerful AR toolkit in iOS11 called ARKit. So I’d love to share my sample using UrhoSharp and ARKit
The code is simple and can be easily “backported” to C++ if you want:
https://github.com/EgorBo/ARKitXamarinDemo
Videos:
https://www.youtube.com/watch?v=KSZtvq_iGoE
and
https://www.youtube.com/watch?v=BdEIetc4rHU
ARKit is able to detect movements and planes (I will add “plane (ARPlaneAnchors) visualization” later).
There were some challenges:
- NPOT textures on iOS (hey guys, let’s add ES3 support together :slight_smile)
- YUV to RGB
- Render video instead of clear color
- Shadows on a transparent surface