-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
227 lines (215 loc) · 13.1 KB
/
index.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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>ayceUI</title>
<link rel="stylesheet" href="lib/font-awesome-4.6.3/css/font-awesome.min.css">
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=PT+Sans" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="sidebar.css">
<link rel="stylesheet" href="modal.css">
<link rel="stylesheet" href="loading.css">
<script type="text/javascript" src="lib/Stuk-jszip-5250332/dist/jszip.min.js"></script>
<script type="text/javascript" src="lib/FileSaver.js-master/FileSaver.min.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/allyoucaneatVR.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/math/Vector2.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/math/Vector3.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/math/Matrix3.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/math/Matrix4.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/math/Quaternion.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/math/Geometry.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/stage/buffer/Buffer.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/stage/buffer/BufferMulti.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/stage/buffer/Shader.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/stage/buffer/ShaderGenerator.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/stage/camera/Camera.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/stage/camera/CameraManager.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/stage/camera/cameraModifiers/CameraModifier.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/stage/camera/cameraModifiers/Cardboard.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/stage/camera/cameraModifiers/Gamepad.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/stage/camera/cameraModifiers/MouseKeyboard.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/stage/camera/cameraModifiers/WebVR.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/stage/renderer/Renderer.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/stage/renderer/VRRenderer.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/stage/sound/AudioContext.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/stage/sound/Sound.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/stage/Light.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/stage/Scene.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/stage/Timer.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/stage/XMLLoader.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/inputHandlers/GamepadHandler.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/inputHandlers/HMDHandler.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/inputHandlers/KeyboardHandler.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/inputHandlers/MouseHandler.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/inputHandlers/SensorsHandler.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/objects/Object3D.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/objects/loader/OBJLoader.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/objects/types/LODObject3D.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/objects/types/ParticleSystem.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/objects/types/Skybox.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/objects/types/VRSquare.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/objects/examples/Cube3D.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/objects/examples/Pyramid3D.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/objects/examples/Sphere3D.js"></script>
<script type="text/javascript" src="lib/allyoucaneatvr/objects/examples/Square.js"></script>
<!--<script type="text/javascript" src="AyceVR.min.js"></script>-->
</head>
<body>
<div id="notification">
<i id="notification_icon" class="fa fa-wrench"></i><p id="notification_text">test test test</p>
</div>
<div id="modal">
<div id="modal_window">
<a id="modal_close">×</a>
<textarea id="export_code_textarea" spellcheck="false" title="export_code_textarea"></textarea>
<div id="file_upload_wrapper">
<div id="obj_drop" class="modal_top_half modal_file_drop modal_file_drop">
<p><i class="fa fa-file-code-o"></i><br>drop .obj here</p>
</div>
<div id="obj_drop_loading" class="modal_top_half modal_file_loading modal_file_drop">
<div class="sk-circle">
<div class="sk-circle1 sk-child"></div>
<div class="sk-circle2 sk-child"></div>
<div class="sk-circle3 sk-child"></div>
<div class="sk-circle4 sk-child"></div>
<div class="sk-circle5 sk-child"></div>
<div class="sk-circle6 sk-child"></div>
<div class="sk-circle7 sk-child"></div>
<div class="sk-circle8 sk-child"></div>
<div class="sk-circle9 sk-child"></div>
<div class="sk-circle10 sk-child"></div>
<div class="sk-circle11 sk-child"></div>
<div class="sk-circle12 sk-child"></div>
</div>
</div>
<div id="obj_drop_done" class="modal_top_half modal_file_done modal_file_drop">
<p><i class="fa fa-check"></i><br>.obj</p>
</div>
<div id="mtl_drop" class="modal_bottom_half modal_file_drop modal_file_drop">
<p><i class="fa fa-file-code-o"></i><br>drop .mtl here</p>
</div>
<div id="mtl_drop_loading" class="modal_bottom_half modal_file_loading modal_file_drop">
<div class="sk-circle">
<div class="sk-circle1 sk-child"></div>
<div class="sk-circle2 sk-child"></div>
<div class="sk-circle3 sk-child"></div>
<div class="sk-circle4 sk-child"></div>
<div class="sk-circle5 sk-child"></div>
<div class="sk-circle6 sk-child"></div>
<div class="sk-circle7 sk-child"></div>
<div class="sk-circle8 sk-child"></div>
<div class="sk-circle9 sk-child"></div>
<div class="sk-circle10 sk-child"></div>
<div class="sk-circle11 sk-child"></div>
<div class="sk-circle12 sk-child"></div>
</div>
</div>
<div id="mtl_drop_done" class="modal_bottom_half modal_file_done modal_file_drop">
<p><i class="fa fa-check"></i><br>.mtl</p>
</div>
<div id="import_processing">
<div class="sk-circle">
<div class="sk-circle1 sk-child"></div>
<div class="sk-circle2 sk-child"></div>
<div class="sk-circle3 sk-child"></div>
<div class="sk-circle4 sk-child"></div>
<div class="sk-circle5 sk-child"></div>
<div class="sk-circle6 sk-child"></div>
<div class="sk-circle7 sk-child"></div>
<div class="sk-circle8 sk-child"></div>
<div class="sk-circle9 sk-child"></div>
<div class="sk-circle10 sk-child"></div>
<div class="sk-circle11 sk-child"></div>
<div class="sk-circle12 sk-child"></div>
</div>
</div>
</div>
<div id="edit_script_wrapper">
<textarea id="edit_script_textarea" spellcheck="false" title="edit_script_textarea"></textarea>
<a id="save_script" class="button_light"><i class="fa fa-floppy-o"></i>Save</a>
<a id="reset_script" class="button_light"><i class="fa fa-undo"></i>Undo changes</a>
</div>
</div>
</div>
<div id="sidebar_left">
<div id="main_menu">
<a id="export_code" class="button_dark"><i class="fa fa-hdd-o"></i>Export Code</a>
</div>
<div>
<h2><i class="fa fa-cube header_icon"></i>Geometries</h2>
<ul>
<li class="add_object button_dark" id="create_plane"
data-objectconstructor="new Ayce.Geometry.Plane(1, 1, 2, 2, false)"
data-centered="true"
data-type="plane">Plane</li>
<li class="add_object button_dark" id="create_cube"
data-objectconstructor="new Ayce.Geometry.Box(1, 1, 1)"
data-centered="false"
data-type="cube">Cube</li>
<li class="add_object button_dark" id="create_sphere"
data-objectconstructor="new Ayce.Geometry.Sphere(0.5)"
data-centered="true"
data-type="sphere">Sphere</li>
<li class="add_object button_dark" id="create_ico"
data-objectconstructor="new Ayce.Geometry.Icosahedron(2)"
data-centered="true"
data-type="icosahedron">Icosahedron</li>
<li class="add_object button_dark" id="import_obj" data-type="obj">
<i class="fa fa-plus-circle"></i>Import OBJ File</li>
</ul>
</div>
<div>
<h2><i class="fa fa-wrench header_icon"></i>Other</h2>
<ul>
<li id="add_empty" class="button_dark" data-type="empty"><i class="fa fa-square-o"></i>Empty Object</li>
<li id="add_light" class="button_dark" data-type="light"><i class="fa fa-lightbulb-o"></i>Light</li>
<li id="add_camera" class="button_dark" data-type="camera"><i class="fa fa-video-camera"></i>Camera</li>
<li class="add_object button_dark" id="create_skybox" data-type="skybox"><i class="fa fa-picture-o"></i>Skybox</li>
</ul>
</div>
<div id="objects_in_scene_div">
<h2><i class="fa fa-globe header_icon"></i>Current Scene</h2>
<ul id="objects_in_scene"></ul>
</div>
</div>
<div id="parent_actions">
<div id="parent_actions_unlink">
<p><i class="fa fa-chain-broken"></i><br>unlink parent</p>
</div>
<div id="parent_actions_cancel">
<p><i class="fa fa-ban"></i><br>cancel</p>
</div>
</div>
<canvas id="main_canvas"></canvas>
<div id="sidebar_right">
<div id="properties_header">
<h2><i class="fa fa-sliders header_icon"></i><input title="object_name" id="object_name" value="Properties"/></h2>
</div>
<ul id="properties_list"></ul>
</div>
<div id="camera_preview_wrapper">
<canvas id="ayce_canvas"></canvas>
<div id="camera_preview_controls">
<i class="fa fa-expand" id="camera_preview_expand"></i>
<span id="camera_preview_expanded_controls">
<a class="button_dark" id="camera_preview_compress"><i class="fa fa-compress"></i></a>
<a id="camera_preview_view_vr" class="button_dark camera_preview_button">Use VR headset</a>
<a id="camera_preview_view_desktop" class="button_dark camera_preview_button">Use desktop renderer</a>
</span>
</div>
</div>
<script type="text/javascript" src="EmptyObject.js"></script>
<script type="text/javascript" src="CodeBuilder.js"></script>
<script type="text/javascript" src="BasePlane.js"></script>
<script type="text/javascript" src="CameraPreview.js"></script>
<script type="text/javascript" src="helpers.js"></script>
<script type="text/javascript" src="UIFactory.js"></script>
<script type="text/javascript" src="propertiesUI.js"></script>
<script type="text/javascript" src="objectTree.js"></script>
<script type="text/javascript" src="MainCameraModifier.js"></script>
<script type="text/javascript" src="editor.js"></script>
<script type="text/javascript" src="modal.js"></script>
<script type="text/javascript" src="loop.js"></script>
</body>
</html>