Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    seagulls33333
    @seagulls33333
    Hello, everyone!
    https://ar-js-org.github.io/AR.js/aframe/examples/image-tracking/nft/
    when I visit this link using LDplayer to see this image (https://raw.githubusercontent.com/AR-js-org/AR.js/master/aframe/examples/image-tracking/nft/trex-image-big.jpeg)
    it works for AR.
    but I made an angular component with the same html contents for some component's html file and try to visit my project url using LDPlayer, it occors error "web camera" not found
    What's the solution?
    Lhb28
    @Lhb28
    Can AR.JS be used to develop AR navigation?
    gemece
    @gemece

    Hello everyone!

    I wanted to know if it is possible with barcode markers when I focus with the camera it can only show one? Because the problem I have is that when I focus with the camera if there are two barcode markers it shows me both. If it is possible to do this, how would it be?

    In my code I want a button to be shown when it detects a marker, if it is more than one it is not shown.

    The code:

         model.addEventListener('markerFound', function() {
            document.querySelector('button[data-action="artifact"]').style.visibility="visible";
            document.querySelector('button[data-action="artifact"]').addEventListener('click',function (){
                document.location.href=location;
            });
    
        });
    
        model.addEventListener('markerLost', function(){
            document.querySelector('button[data-action="artifact"]').style.visibility="hidden";
            document.querySelector('button[data-action="artifact"]').addEventListener('click',function (){
                document.location.href="#";
            });
    
        });
    Uranol
    @Uranol
    locationbased.jpg
    Hello everybody! I'm trying this standard location based example.
    Somehow its always fixed to my camera and not placed to a static point. Anybody ideas? I'd really appreciate it
    Greetings!
    seagulls33333
    @seagulls33333
    Hello, I have some troubles using custom markers
    I don't know how to use custom pattern files in AR.js so help me with codes
    Sourrain
    @sourrain
    hi¬ do anyone know how to place 3dmodel in the position I want it to be ? not based on marker or location or picture.(I am trying the demo: a-portal-door)I hope that door could just appear in the scene not based on any things. :)
    Sourrain
    @sourrain
    擷取.JPG
    Sourrain
    @sourrain
    also I could not find any doc talking about what does this tage mean: <a-anchor>
    Uranol
    @Uranol

    I don't know how to use custom pattern files in AR.js so help me with codes

    I think it was that script, that solved the problem for me:
    https://github.com/stemkoski/AR-Examples/blob/master/custom-patterns.html

    also I could not find any doc talking about what does this tage mean: <a-anchor>

    And might that help with a solid geolocation? I still got the problem, that its glued to my camera and not "anchored" in the real world. Therefore im not able to walk around it. Cheers!

    Sourrain
    @sourrain
    I think what I really need is to recognize the floor in user space.
    1 reply
    Uranol
    @Uranol
    https://www.youtube.com/watch?v=DoR7usCBHNM
    shure, its vr, but shouldnt it be possible in the same way with transparent background and a camera? Thats basically what i need.
    @sourrain maybe not recognized but adjustable.
    But i didnt find the exact code anyways.
    smokingmonkey
    @smokingmonkey
    Hello everybody.
    Why the NFT marker take so long for loading in movile devices?
    How could i improve the loading time?
    un7c0rn
    @un7c0rn
    Has anyone managed to get shadows to work in AR?
    un7c0rn
    @un7c0rn
    btw the documentation updates look fantastic.
    fitriani1021
    @fitriani1021
    hi,
    anybody know how to load more than 50 custom markers with 'for' loop?
    seagulls33333
    @seagulls33333
    Hello everyone!
    I downloaded marker image from this url (https://jeromeetienne.github.io/AR.js/three.js/examples/marker-training/examples/generator.html)
    I wonder if there is a way to check if one image is marker image or not, anyone can help me?
    Heores Geek
    @heroe_geek_twitter
    Hello everyone, please does anyone know the way to exit the browser camera?, I am working in a SPA web application with Angular & AR.js and I need that functionality when changing the route, I have reviewed documentation and in Stackoverflow but I cannot find a way to disable the camera without refreshing the entire page ... Thanks in advance!
    edgedpub
    @edgedpub
    Hi guys, I am working a paper booklet which contains 6 markers that trigger images on a smartphone. The first 3 markers are QR codes which trigger 3 CSS animations and they work fine, but they are not compatible with ar.js.
    Now, I would like to add 3 HIRO markers and link them to AR images. I was thinking of using 3D models from archive3d.net. I don't know how to write the script that I will store in my github.
    Can anybody help?
    John Wright Stanly
    @jwstanly
    Does anyone know how to implement post processing for renders inside AR.js? Either through AR.js, AFrame, ThreeJS, or even WebGL? I am trying to implement a bloom effect on my object. @un7c0rn I think we roughly have the same problem
    LuckyYH
    @CaptainYYH
    demo cannot running
    anyone here
    Christian Sigl
    @subjectdenied
    hello, what could be the reason for a model dissappearing and appearing afterwards (it is more of a transitional effect, like walking through a wall) when crossing various "lines" moving the cam away from a tracking-image?
    Victor Lengler
    @viclen
    Is anyone else having problems with the click collision? If i click on an image, it doesnt work. But if I click on an empty space next to it, it triggers the event. Is there a fix for it?
    N11Studio
    @N11Studio
    Hello everyone, I am currently working on a tangible interfacing system that I would like to link to a webpage, I am wondering if I can use AR.js by linking a 3D model's certain variables or transformation values to values from a sensor (Arduino Serial Values ---> Values in JS), Do you know how would one go about doing that? Is it possible?
    Carlos Nazareno
    @object404_twitter
    Hi guys. I'm having problems getting AR.JS NFT image recognition working on iPads. Any update on this? AR-js-org/AR.js#46
    Nick Whitelegg
    @nickw1_gitlab
    @viclen do you add a cursor component to your <a-scene>? i.e. <a-scene cursor='rayOrigin: mouse' .... >? Without that, the click events will not be detected correctly as you are not using the mouse position as the origin for your ray (line) into the 3D world.
    Nick Whitelegg
    @nickw1_gitlab
    @Lhb28 yes. See https://hikar.org/webapp (github repo https://github.com/nickw1/hikar.js) - this overlays roads and footpaths on the camera feed. I don't yet do route finding but the same principles could be used.
    ShaneTex
    @ShaneTex
    Sorry for the noob on this, but I created or followed the simple instructions here https://aframe.io/blog/arjs3/ and create my first version, even create NFT markers for the trex, and uploaded on my site(https://360.septrio.com/HFTH.html), but for some reason I don't see anything like the Trex, can someone point me in the right direction?
    EricYC
    @aerchit
    Is it possible to use base64 image for AR input? I tried put base64 code in sourcetype url. Didn't work
    Chan Cheung Wai
    @kenchan1604
    how to use selectCamera ?

    <a-scene
    vr-mode-ui="enabled: false;"
    renderer="logarithmicDepthBuffer: true;"
    embedded
    arjs="trackingMethod: best; sourceType: webcam;debugUIEnabled: false; selectCamera: true"
    swap-camera

    > 

    it is not wrok

    <script src="https://cdn.jsdelivr.net/gh/aframevr/aframe@1c2407b26c61958baa93967b5412487cd94b290b/dist/aframe-master.min.js"></script>
    <script src="https://raw.githack.com/AR-js-org/AR.js/master/aframe/build/aframe-ar-nft.js"></script>
    i use AFRAME
    ShaneTex
    @ShaneTex
    Ok, I finally figured it out, and it seems to be working fine: https://360.septrio.com/lb-ar/static-places/, but the Location based locations are all within 500 feet, the all the markets see way to large, but also showing far away objects. Is there a good practice on creating small scale games within this size so that it seems like the far away a-entities are smaller, and close ones show. It just seems off.
    Carlos Nazareno
    @object404_twitter
    Hi everyone. It seems when the AR.js library loads, I'm getting infinite windor.onresize events
    If so is there any way to stop it?
    Charles Bourrée
    @cbourree_gitlab
    Hello, is-it possible to track multiple images as tag link to different AR-objects ? exemple / tuto ?
    seagulls33333
    @seagulls33333
    Hello, everyone!
    Very simple question below
    How can do markerless ar?
    not using 8thwall
    Atul Tiwari
    @ixltech.atul_gitlab
    is there any effective way to create nft marker rather than node js version
    patowens86
    @patowens86
    Does anyone know of a way to take a screenshot using ARJS, so that it includes both the AR objects and the camera background?
    2 replies
    Atul Tiwari
    @ixltech.atul_gitlab
    is there any effective way to create nft marker rather than node js version or any paid version