jeromeetienne / AR.js

Efficient Augmented Reality for the Web - 60fps on mobile!
MIT License
15.78k stars 2.22k forks source link

A-Frame tango example anchor not really at a fixed position in reality #156

Closed cloud4every1 closed 5 years ago

cloud4every1 commented 7 years ago

I tried the simple example published at https://medium.com/arjs/ar-js-supports-tango-on-a-frame-too-2c098de4df34 but the box seems not to be really at a fixed position in the real world. Maybe my expectation is wrong? I'm using a lenovo phab2pro device for the tests. How will the position be selected? Thx

jeromeetienne commented 7 years ago

Click on the screen, and it will be put at the given location On Thu, 10 Aug 2017 at 18:29, cloud4every1 notifications@github.com wrote:

I tried the simple example published at https://medium.com/arjs/ar-js-supports-tango-on-a-frame-too-2c098de4df34 but the box seems not to be really at a fixed position in the real world. Maybe my expectation is wrong? I'm using a lenovo phab2pro device for the tests. How will the position be selected? Thx

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jeromeetienne/AR.js/issues/156, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPcIrJWtHybYdae0KXUIKC-oJWhgeUbks5sWz4UgaJpZM4OzvfV .

Aahanbhatt commented 7 years ago

@jeromeetienne I tried the Ar.js and tango example. The cube/box initially doesn't appear when I fire up the webcam. But, when I show a Hiro marker it does appear and then it stays and as you said works on mouse click. Any reason why the cube/box doesn't show up without a marker?

cloud4every1 commented 7 years ago

Works now for me with the right Browser (Chromium WebAR). Some example seems to have the cube/objects initially too close to the camera.