I got a request to take one of our projects and render it using AR. That is, something acting as a marker for a smartphone to react on and then pop up the overlayed 3D in scale 1:1 over that marker.
I know this can be done withing Unity using some plugins perhaps, then built natively for each platform (iOS and Android), but I would prefer this to be web based online so I wouldn’t have to worry about releasing apps.
There is ARToolkit, and it’s JS version, that allows to achieve exactly what you are trying to do. https://github.com/artoolkit/jsartoolkit5
But so far I haven’t seen a reliable way to track marker across different cameras, they differ a lot in terms of tracking quality
I thought iOS recently did allowed video as a texture, haven’t checked it recently. Video in JS on iOS was always a problem, because Apple does it differently from everyone else
Although, not sure WebRTC is anyhow related to this.
On iOS11, I’m finding getUserMedia (required for AR) still doesn’t work right. Need to investigate to see if it’s something I’m doing wrong or whether it’s still a problem in iOS. But this WebRTC demo doesn’t work on iOS so I guess it’s the OS.
I don’t know because I only have my Windows laptop with me. I’d need to connect to a Mac and remote debug via Safari to get the browser console output (and debug). If somebody reading this wants to help out by investigating, I’d be very grateful.
Cloudways has written an awesome post on Augmented Reality in marketing. Highlighting more on the fact that the future is for Augmented Reality. Even the marketing tactics are taking a turn by involving more of the augmented reality related strategies.
Click below to read the blog: cloudways.com/blog/augmented-reality-in-marketing/