-
Notifications
You must be signed in to change notification settings - Fork 4
/
index-old.html
67 lines (37 loc) · 1.77 KB
/
index-old.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<html>
<head>
<script src="js/aframe.min.js"></script>
<!-- include aframe-ar.js -->
<script src="js/aframe-ar.js"></script>
<!-- <script src="js/test.js"> -->
<style type="text/css">
#arjsDebugUIContainer
{
display: none; !important;
}
.a-enter-vr-button
{
display: none; !important;
}
</style>
</head>
<body style='margin : 0px; overflow: hidden;'>
<a-scene embedded arjs='sourceType: webcam;'>
<a-marker preset='custom' type='pattern' url='https://dl.dropboxusercontent.com/s/ew3rye9n69s5qjo/big-m.patt'>
<a-image id="img1" position="0 0 0" rotation="90 180 0" width="" height="" opacity="1" src="https://i.imgur.com/kqf3g8j.png" transparent="true" alpha-test="0.2" shader="standard" scale="1 1 1" visible="" material="" geometry=""></a-image>
<a-image id="img2" position="0 0.2 0" rotation="270 0 0" width="" height="" opacity="1" src="https://i.imgur.com/LOeJNgY.png" transparent="true" alpha-test="0.2" shader="standard" scale="1 1 1" visible="" material="" geometry="">
<!-- add this to animate an image
<a-animation attribute="rotation"
dur="10000"
fill="forwards"
to="0 360 0"
repeat="indefinite">
</a-animation>
-->
</a-image>
<a-image id="img3" position="0 0.4 0" rotation="270 0 0" width="" height="" opacity="1" src="https://i.imgur.com/eJ3dqKi.png" transparent="true" alpha-test="0.2" shader="standard" scale="1 1 1" visible="" material="" geometry=""></a-image>
</a-marker>
<a-camera-static/>
</a-scene>
</body>
</html>