google-ar / three.ar.js

A helper three.js library for building AR web experiences that run in WebARonARKit and WebARonARCore
https://developers.google.com/ar/develop/web/getting-started
Apache License 2.0
2.91k stars 365 forks source link

three.ar.js vs ar.js? #105

Closed yuen33 closed 6 years ago

yuen33 commented 6 years ago

Does anybody know what is the difference between three.ar.js vs ar.js?

jsantell commented 6 years ago

AR.js uses getUserMedia to find a marker and updates per frame the relevant transform of the marker in 0,0,0 space. three.ar.js is a helper library wrapping experimental AR browser APIs, using ARKit/ARCore under the hood for scene understanding, anchoring and pose reconstruction. The experimental APIs used here are slowly being standardized into the WebXR spec, and the first proposals should be landing very soon at https://github.com/immersive-web/proposals