-
Notifications
You must be signed in to change notification settings - Fork 10
/
arguyGP.html
33 lines (32 loc) · 1.27 KB
/
arguyGP.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Location-based AR.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>
<script src="https://cdn.jsdelivr.net/gh/donmccurdy/[email protected]/dist/aframe-extras.min.js"></script>
</head>
<body style="margin: 0; overflow: hidden;">
<a-scene
vr-mode-ui="enabled: false"
embedded
arjs="sourceType: webcam; debugUIEnabled: false;"
renderer="antialias: true; logarithmicDepthBuffer: true; colorManagement: true; sortObjects: true;"
>
<a-assets>
<a-asset-item id="airguy" src="./objects/AirGuyFinal.glb"></a-asset-item>
</a-assets>
<a-entity
id="airguyEntity"
look-at="[gps-camera]"
scale="1 1 1"
gps-entity-place="latitude: 33.9529376; longitude: -84.6386966;"
><a-entity gltf-model="#airguy" position="0 0.0 0" scale="1 1 1" animation-mixer></a-entity>
</a-entity>
<a-camera gps-camera rotation-reader> </a-camera>
</a-scene>
</body>
</html>