File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!doctype html>
2
+ < html >
3
+ < head >
4
+ < meta charset ="utf-8 " />
5
+ < meta http-equiv ="X-UA-Compatible " content ="IE=edge " />
6
+ < script src ="https://aframe.io/releases/1.0.4/aframe.min.js "> </ script >
7
+ < script src ="https://unpkg.com/aframe-look-at-component@0.8.0/dist/aframe-look-at-component.min.js "> </ script >
8
+ < script src ="https://raw.githack.com/AR-js-org/AR.js/master/aframe/build/aframe-ar-nft.js "> </ script >
9
+ < script src ="https://raw.githack.com/donmccurdy/aframe-extras/master/dist/aframe-extras.loaders.min.js "> </ script >
10
+ </ head >
11
+
12
+ < body style ="margin: 0; overflow: hidden; ">
13
+ < a-scene
14
+ renderer ="logarithmicDepthBuffer: true; "
15
+ embedded
16
+ loading-screen ="enabled: false; "
17
+ arjs ="sourceType: webcam; debugUIEnabled: false; "
18
+ >
19
+ < a-assets >
20
+ < a-asset-item
21
+ id ="animated-asset "
22
+ src ="assets/asset.glb "
23
+ > </ a-asset-item >
24
+ </ a-assets >
25
+
26
+ < a-entity
27
+ look-at ="[gps-camera] "
28
+ animation-mixer ="loop: repeat "
29
+ gltf-model ="#animated-asset "
30
+ scale ="0.17923926396014445 0.17923926396014445 0.17923926396014445 "
31
+ gps-entity-place ="latitude: 12.824936719430214; longitude: 80.04508685320617; "
32
+ > </ a-entity >
33
+
34
+ < a-camera gps-camera rotation-reader > </ a-camera >
35
+ </ a-scene >
36
+ </ body >
37
+ </ html >
You can’t perform that action at this time.
0 commit comments