Location-Based usable yet ? #412
Replies: 5 comments 21 replies
-
this is what Im trying today . Is there a way to make the text scale according to distance ? <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>GeoAR.js demo</title>
<script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/aframe-look-at-component.min.js"></script>
<script src="https://raw.githack.com/AR-js-org/AR.js/master/aframe/build/aframe-ar-nft.js"></script>
</head>
<body>
<a-scene
vr-mode-ui="enabled: false"
arjs="sourceType: webcam; videoTexture: true; debugUIEnabled: false;"
>
<a-text
value="HOA"
look-at="[gps-camera]"
scale="100 100 100"
gps-entity-place="latitude: 00.49792262177317; longitude: 00.429618712294344;"
></a-text>
<a-text
value="Hospital"
look-at="[gps-camera]"
scale="100 100 100"
gps-entity-place="latitude: 00.496978793988816;longitude: 00.428899880305176;"
></a-text>
<a-text
value="Cafe"
look-at="[gps-camera]"
scale="100 100 100" ,
gps-entity-place="latitude: 00.497680951543465; longitude: 00.428921337981912;"
></a-text>
<a-image
src="assets/1.jpeg"
look-at="[gps-camera]"
scale="2 2 2" ,
gps-entity-place="latitude: 00.497528479682366; longitude: 00.427194167474749;"
></a-image>
<a-camera gps-camera rotation-reader> </a-camera>
</a-scene>
</body>
</html> |
Beta Was this translation helpful? Give feedback.
-
@CarloCattano you are welcome! We would improve this part as possible if you can test new features, will boost the development. |
Beta Was this translation helpful? Give feedback.
-
dev branch seems to be up to date with master "This branch is up to date with master." |
Beta Was this translation helpful? Give feedback.
-
@CarloCattano I've fixed some bugs with the new A-Frame location based example (#406) so feel free to try that again. There is also a live example on the web at |
Beta Was this translation helpful? Give feedback.
-
I have a rough prototype of our Running Reality historical map augmented reality system up using the newly revised AR.js location-based system. It definitely took some work to get it converted over, but it seems to be mostly working. I've been testing on an iOS device and can get the orientation sensor to activate mostly reliably. You can activate the augmented reality view by pushing the "LIVE" button anywhere on our map if you are on a mobile device and at zoom level 16 or deeper, such as here: RR First Battle of Manassas |
Beta Was this translation helpful? Give feedback.
-
Hello there . Im having a lot of trouble getting purely location based experiences to work .
This library seems awesome and would love to create a project around it . However , when trying any of the given examples in the repo , AR js Studio etc . The content seems either to stick to the camera (as mentioned in some issues ) , or scaling not working at all : Content looks the same size no matter the distance to the location (three js )
I would love to have an easy way to implement a kind of tour experience where info (images + audio ) spawn according to the location of the users using mobile phones, but as it is now , this doesnt seem doable.
Im reading the issues , tutorials , and testing all posible examples and the results are always similar .
Is there something Im overlooking here ?
Im aware that gps precision is not the best but I can do with around 10m error without problem , but as I said as of now , its very time consuming to develop and Im not getting anywhere.
I kindly appreciate any help on the matter .
I've tried also the suggested gps coords page to double check the coords , console logged them with alerts , updated on every gps update etc and still no luck
Beta Was this translation helpful? Give feedback.
All reactions