I am working on a project based on three.js, and I tried add Augmented Reality using marker based ar.js library. I’m using hiro pattern and It’s well recognized However 3D mdel(GLTF) is shaking on marker I want to solve it as much as I can without using A-frame. Here is Hiro Pattern Link and my ..
I’m in need of building a webapp(mobile mostly) that can render objects over images which I know i can achieve via ar.js but the other part of the need is that when the user touches the object it will display information of the object either a modal with a video informational or other thing Any ..
Sorry in advance, I am a complete beginner regarding programming, but I cant seem to find an answer to my problem. I made this basic setup from AR.js: <html> <script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script> <script src="https://rawgit.com/donmccurdy/aframe-extras/master/dist/aframe-extras.loaders.min.js"></script> <script src="https://cdn.rawgit.com/jeromeetienne/AR.js/1.5.0/aframe/build/aframe-ar.js"> </script> <a-assets> <a-asset-item id="rub" src="models/rubcube.gltf"></a-asset-item> </a-assets> <body style=’margin : 0px; overflow: hidden;’> <a-scene arjs="debugUIEnabled: false;"> <a-marker-camera preset="hiro"> <a-entity gltf-model="#rub" scale=" ..
BUG Android is working fine but IOS seems not working or has no result with nft. Testing with an android device, it can show the ar image, but nothing with IOS chrome. Would anyone kindly help to test or know the problem? thank you. Here is the sample: https://wardhk.xyz/ar/1code.html the image targe: https://wardhk.xyz/ar/3.jpeg Source: Ask ..
So ar.js has a location based feature where you can place objects at certain coordinates. However no matter which coordinates I set it to the 3d object is placed on me, and sticks to me. My GPS may not be extremely accurate but its accurate enough within like a 500 foot radius. So it shouldn’t ..
Not a question simply placing here for others reference. For anyone else facing major lag when tracking multiple NFT markers in AR.js heres what I have added to the ar-nft.dev.js file to slow down the checking of non Visible markers increasing the performance: In the load function towards the bottom of the page add the ..
Hey I have set up a Scene, where I use the simulate Coordinates property of the gps-camera. Like this: <a-scene embedded arjs renderer="logarithmicDepthBuffer: true;" vr-mode-ui="enabled: false" gesture-detector id="scene"> <a-marker type="pattern" preset="custom" url="pattern/ifgi-pattern.patt" id="ifgi-marker"> </a-marker> <a-entity position="0 0 0" scale="0.5 0.5 0.5" gps-entity-place="latitude: <lat>; longitude: <lon>;" gltf-model="/gltf/truck_model/scene.gltf"> </a-entity> <a-camera gps-camera="simulateLatitude: <lat>; simulateLongitude: <lon>;" rotation-reader id="camera"> </a-scene> ..
I’m trying to play a sound just once when a marker is detected with the A-frame and AR.JS libraries. I’m trying the code lines below but the sound is playing indefinite. <a-scene embedded arjs=’sourceType: webcam; debugUIEnabled: false;’;> <a-assets> <audio id="sound" src="audio.mp3" preload="auto"></audio> </a-assets> <a-marker preset="hiro"> <a-entity id="examplemodel" gltf-model="./models/Example.glb" soundhandler></a-entity> </a-marker> <a-entity sound="src: #sound" autoplay="false"></a-entity> <a-entity ..