-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
37 lines (34 loc) · 1.47 KB
/
index.html
File metadata and controls
37 lines (34 loc) · 1.47 KB
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
34
35
36
37
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<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://raw.githack.com/donmccurdy/aframe-extras/master/dist/aframe-extras.loaders.min.js"></script>
</head>
<body style="margin: 0; overflow: hidden;">
<a-scene
renderer="logarithmicDepthBuffer: true;"
embedded
loading-screen="enabled: false;"
arjs="sourceType: webcam; debugUIEnabled: false;"
>
<a-assets>
<a-asset-item
id="animated-asset"
src="assets/asset.glb"
></a-asset-item>
</a-assets>
<a-entity
look-at="[gps-camera]"
animation-mixer="loop: repeat"
gltf-model="#animated-asset"
scale="0.17923926396014445 0.17923926396014445 0.17923926396014445"
gps-entity-place="latitude: 12.824936719430214; longitude: 80.04508685320617;"
></a-entity>
<a-camera gps-camera rotation-reader></a-camera>
</a-scene>
</body>
</html>