Peter Agapov
Aug 8, 2017 · 1 min read

I finally got it working.

Alexandra, you have an error in the code above. The <patternUrl> parameter must actually be simple <url=’path/to/pattern-marker.patt’> instead. Here is how the full html element line must be coded:

<a-marker type = ‘pattern’ url = ‘path/to/pattern-marker.patt’></a-marker>

This is due to the primitive shortcut definitions in the aframe-ar.js written by Jerome here: https://jeromeetienne.github.io/AR.js/aframe/build/aframe-ar.js

    Peter Agapov

    Written by