-
Notifications
You must be signed in to change notification settings - Fork 0
/
testCustom.html
179 lines (162 loc) · 4.41 KB
/
testCustom.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<html class="a-fullscreen">
<head>
<meta charset="UTF-8" />
<script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script>
<meta
aframe-injected=""
name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,shrink-to-fit=no,user-scalable=no,minimal-ui,viewport-fit=cover"
/>
<meta aframe-injected="" name="mobile-web-app-capable" content="yes" />
<meta aframe-injected="" name="theme-color" content="black" />
<!-- <script src="../assets/js/aframe.min.js"></script> -->
<script src="https://cdn.jsdelivr.net/gh/donmccurdy/[email protected]/dist/aframe-extras.min.js"></script>
<!-- <script src="../assets/js/aframe-extras.min.js"></script> -->
<!-- Page name -->
</head>
<body>
<a-scene
background="color: #D3D3D3"
fog="type: exponential; density: 0.12; color: #696969;"
animation="property: fog.color; dur: 7000;
from: #696969; to: #fff;
loop: true; dir: alternate"
inspector=""
keyboard-shortcuts=""
screenshot=""
vr-mode-ui=""
device-orientation-permission-ui=""
>
<a-assets>
<a-asset-item id="ghost" src="/GhostAnimated.gltf"> </a-asset-item>
</a-assets>
<!-- object -->
<a-entity
position="0 -0.7 1.5"
gltf-model="#ghost"
scale="0.2 0.2 0.2"
animation-mixer=""
>
</a-entity>
<!-- Markers -->
<!-- Yellow -->
<a-box
position="1 0 0"
rotation="0 0 0"
scale="0.2 0.2 0.2"
width="1"
height="1"
depth="1"
color="#ffcc00"
></a-box>
<!-- Pink -->
<a-box
position="0 1 0"
rotation="0 0 0"
scale="0.2 0.2 0.2"
width="1"
height="1"
depth="1"
color="#ff3399"
></a-box>
<!-- Blue -->
<a-box
position="0 0 1"
rotation="0 0 0"
scale="0.2 0.2 0.2"
width="1"
height="1"
depth="1"
color="#0066ff"
></a-box>
<!-- Lights -->
<a-light
type="point"
intensity="0.5"
position="-0.5 0 0"
light=""
></a-light>
<a-light
type="point"
intensity="0.5"
position="0.5 0 0"
light=""
></a-light>
<a-light
type="point"
intensity="0.5"
position="0.5 0 2.5"
light=""
></a-light>
<a-light
type="ambient"
intensity="0.5"
position="-1 0 0"
light=""
></a-light>
<!-- <a-light
type="point"
intensity="1"
position="0.5 0 0"
light=""
></a-light> -->
<a-box
position="-0.5 0 0"
rotation="0 0 0"
scale="0.1 0.1 0.1"
width="1"
height="1"
depth="1"
color="#00ff00"
></a-box>
<!-- <a-light
type="point"
intensity="0"
position="0 0 0"
animation="property: light.intensity;
dur: 7000; from: 0; to: 1.5;
dir: alternate; loop: true"
light=""
>
</a-light> -->
<a-entity
position="0 0.2 0.3"
rotation="-35 180 0"
>
<a-camera
camera=""
position=""
rotation=""
look-controls=""
wasd-controls=""
>
</a-camera>
</a-entity>
<canvas
class="a-canvas a-grab-cursor"
data-aframe-canvas="true"
width="1264"
height="961"
style=""
></canvas>
<div class="a-loader-title" style="display: none"></div>
<div class="a-enter-vr" aframe-injected="">
<button
class="a-enter-vr-button"
title="Enter VR mode with a headset or fullscreen mode on a desktop. Visit https://webvr.rocks or https://webvr.info for more information."
aframe-injected=""
></button>
</div>
<div class="a-enter-ar a-hidden" aframe-injected="">
<button
class="a-enter-ar-button"
title="Enter AR mode with a headset or handheld device. Visit https://webvr.rocks or https://webvr.info for more information."
aframe-injected=""
></button>
</div>
<div class="a-orientation-modal a-hidden" aframe-injected="">
<button aframe-injected="">Exit VR</button>
</div></a-scene
>
</body>
</html>