Questions tagged [ar.js]

AR.js is an open source framework for three.js, and a-frame, enabling the creation of augmented reality apps / websites.

AR.js is an open-source lightweight Augmented Reality framework, coming with features like Image Tracking, Marker Tracking and Location based AR, and enabling the creation of apps and websites. It works great with its satellites three.js and aframe.io.

For anything related to AR.js - Efficient Augmented Reality for the Web.

321 questions
0
votes
0 answers

AR.js and A-Frame example

I am looking for an example of how to trigger images and then play a video. It is a very simple use case: In a newspaper, videos can be watched regarding the articles, if the image is an marker. All samples I have seen loads a 3D model or something…
user14002522
0
votes
1 answer

How to apply environmental occlusion in ar.js

I am just getting started with Ar.js and I am trying to implement environmental occlusion. But even after searching for quite some time now I haven't found any examples of tutorials on this topic in ar.js. All I could find was theoretical articles…
abhishek ranjan
  • 612
  • 7
  • 23
0
votes
1 answer

setAttribute does not set value

Executing the following code: var marker = document.createElement('a-marker'); marker.setAttribute('preset', 'hiro'); marker.setAttribute('scale', '0.75 0.75 0.75'); sceneEl.appendChild(marker); and inspecting the resulting document…
Jeff Wang
  • 1,837
  • 1
  • 15
  • 29
0
votes
1 answer

AR.js aframe object show also without pointing marker

In my AR project I use arjs with aframe to make my gltf object visibe when I point with my phone camera on my hiro pattern:
Manuel Santi
  • 1,106
  • 17
  • 46
0
votes
1 answer

Click event doesn't work on my custom entity which appears when my NFT marker is recognized

I would like to redirect the user on another website when he clicks on my custom 3D object which appears when my NFT marker is recognized I used a basic onclick event on my a-entity with a call to a function which redirect with a…
0
votes
1 answer

Objects are Losing/Changing shape when used with Ar.js

I am just starting with Ar.js. I have a problem where the objects appearing on screen have lost their shapes a bit. First I have this simple A-Frame example which shows a sphere which is perfectly round:
abhishek ranjan
  • 612
  • 7
  • 23
0
votes
1 answer

Using more than 2 marker presets

I want to use 3 markers in a script. I've started to use Kanji and Kiro marker preset without problem. When i've started to add a third marker (a pattern with letterA.patt file via ar.js url), google chrome (and firefox) complained about a memory…
0
votes
1 answer

AR.js and aframe manage my .gltf position and dimensions

I am new to ar.js and Aframe, i wrote a simple code form displat on a hito pattern a gltf objct:
Manuel Santi
  • 1,106
  • 17
  • 46
0
votes
1 answer

Aframe and AR.js does not show my .gltf model

i am new about aframe and arjs, i would to show my own gltf models over an hiro path, i write this code: