-
Notifications
You must be signed in to change notification settings - Fork 35
/
debug.html
executable file
·637 lines (588 loc) · 31.5 KB
/
debug.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
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>WebGL HousePlanner 3D</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=1">
<script src="js/three/three.min.js"></script>
<script src="js/three/extras/Detector.js"></script>
<script src="js/three/extras/controls/OrbitControls.js"></script>
<script src="js/three/extras/controls/FirstPersonControls.js"></script>
<script src="js/three/extras/controls/TransformControls.js"></script>
<script src="js/three/extras/exporters/OBJExporter.js"></script>
<script src="js/three/extras/exporters/ObjectExporter.js"></script>
<script src="js/three/extras/exporters/GeometryExporter.js"></script>
<script src="js/three/extras/exporters/MaterialExporter.js"></script>
<script src="js/three/extras/loaders/MTLLoader.js"></script>
<script src="js/three/extras/loaders/OBJLoader.js"></script>
<script src="js/three/extras/Projector.js"></script>
<script src="js/three/extras/shaders/FXAAShader.js"></script>
<script src="js/three/extras/shaders/SSAOShader.js"></script>
<script src="js/three/extras/shaders/EffectComposer.js"></script>
<script src="js/three/extras/shaders/CopyShader.js"></script>
<script src="js/three/extras/shaders/RenderPass.js"></script>
<script src="js/three/extras/shaders/MaskPass.js"></script>
<script src="js/three/extras/shaders/ShaderPass.js"></script>
<script src="js/three/extras/shaders/ShaderParticles.js"></script>
<script src="js/three/extras/shaders/ShaderGodRays.js"></script>
<script src="js/three/extras/ThreeCSG.js"></script>
<script src="js/paper/paper.min.js"></script>
<script src="js/src/library/jquery.js"></script>
<script src="js/src/library/jszip.js"></script>
<script src="js/src/library/jquery.easing.js"></script>
<script src="js/src/library/wurfl.js"></script>
<script src="js/src/library/stroll.js"></script>
<script src="js/src/library/lazyload.js"></script>
<script src="js/src/library/jquery.mousewheel.js"></script>
<script src="js/src/library/modernizr.js"></script>
<script src="js/src/library/FileSaver.js"></script>
<script src="js/src/library/tooltipster.js"></script>
<script src="js/src/library/screenfull.js"></script>
<script src="js/src/library/tween.js"></script>
<script src="js/src/library/split-pane.js"></script>
<script src="js/src/library/colorwheel.js"></script>
<script src="js/src/library/parallaxslider.js"></script>
<script src="js/cannon/cannon.min.js"></script>
<script src="js/src/variables.js"></script>
<script src="js/src/load.js"></script>
<script src="js/src/gui.js"></script>
<script src="js/src/search.js"></script>
<script src="js/src/3d/engine3d.js"></script>
<script src="js/src/3d/init.js"></script>
<script src="js/src/3d/events.js"></script>
<script src="js/src/3d/history.js"></script>
<script src="js/src/3d/floor.js"></script>
<script src="js/src/3d/wall.js"></script>
<script src="js/src/3d/terrain.js"></script>
<script src="js/src/3d/weather.js"></script>
<script src="js/src/3d/panorama.js"></script>
<script src="js/src/2d/engine2d.js"></script>
<script src="js/src/2d/init.js"></script>
<script src="js/src/2d/zoom.js"></script>
<script src="js/src/2d/history.js"></script>
<script src="js/src/2d/wall.js"></script>
<script src="js/src/2d/floor.js"></script>
<script src="js/src/2d/window.js"></script>
<script src="js/src/2d/door.js"></script>
<script src="js/src/2d/stairs.js"></script>
<script src="js/src/library/alertify.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
engineGUI.initialize();
//engineGUI.initParallaxSlider("4af8b812");
//engineGUI.initHousePlanner("4af8b812");
//engineGUI.open(1);
});
</script>
<!--
https://github.com/codrops/IconHoverEffects
http://fontello.com
http://www.flaticon.com
-->
<link rel="stylesheet" type="text/css" href="css/src/preloader.css" />
<link rel="stylesheet" type="text/css" href="css/src/tooltipster.css" />
<link rel="stylesheet" type="text/css" href="css/src/tooltipster-light.css" />
<link rel="stylesheet" type="text/css" href="css/src/colorwheel.css" />
<link rel="stylesheet" type="text/css" href="css/src/cssmenu.css" />
<link rel="stylesheet" type="text/css" href="css/src/slidemenu.css" />
<link rel="stylesheet" type="text/css" href="css/src/circlemenu.css" />
<link rel="stylesheet" type="text/css" href="css/src/lightbox.css" />
<link rel="stylesheet" type="text/css" href="css/src/stroll.css" />
<link rel="stylesheet" type="text/css" href="font/style.css" />
<link rel="stylesheet" type="text/css" href="css/src/iconhover.css" />
<link rel="stylesheet" type="text/css" href="css/src/normalize.css" />
<link rel="stylesheet" type="text/css" href="css/src/style.css" />
<link rel="stylesheet" type="text/css" href="css/src/alertify.core.css" />
<link rel="stylesheet" type="text/css" href="css/src/alertify.default.css" />
<link rel="stylesheet" type="text/css" href="css/src/parallaxslider.css" />
<link rel="stylesheet" type="text/css" href="css/src/search.css" />
<link rel="stylesheet" type="text/css" href="css/src/button.css" />
<link rel="stylesheet" type="text/css" href="css/src/split-pane.css" />
<link rel="stylesheet" type="text/css" href="css/src/pretty-split-pane.css" />
<link rel="stylesheet" type="text/css" href="css/src/split-pane.css" />
<link rel="stylesheet" type="text/css" href="css/src/cssflip.css" />
<link rel="stylesheet" type="text/css" href="css/src/cssload.css" />
<link rel="stylesheet" type="text/css" href="css/src/mapbox.css" />
</head>
<body>
<!-- Tutorial -->
<div id="start" class="modalDialog" style="background:rgba(0,0,0,0.4);">
<div style="width:550px;height:280px;">
<a href="#scene" class="close">X</a>
<div>
<div style="width:200px;float:left;display:inline-block;">
<br/><img id="agentPicture" width="140" haight="180" />
<br/>
<br/>
Agent Name<br/>
(111)-111-1111<br/>
123 Street Name Rd.
</div>
<div style="margin-left:200px;">
<br/><h2>WebGL Experiment</h2>
<br/>3D property listings online.
<br/><br/><a href="#Tutorial-1">Start Tutorial.</a>
<br/><br/><br/><p><a class="btn" href="#scene">3D Property Listings</a></p>
</div>
</div>
</div>
</div>
<div id="Tutorial-1" class="modalDialog" style="background:rgba(0,0,0,0.4);">
<div style="position:absolute;left:200px;top:120px;background:rgba(0,0,0,0);"><img src="images/help/pointer-left.png" /></div>
<div style="width:400px;height:200px;">
<a href="#scene" class="close">X</a>
<br/><h2>Floor Selections</h2>
<br/><p>Top view of room floor plans and furniture measurements.</p>
<br/><br/><p><a class="btn" href="#Tutorial-2">Next</a></p>
</div>
</div>
<div id="Tutorial-2" class="modalDialog" style="background:rgba(0,0,0,0.4);">
<div style="position:absolute;left:200px;top:-10px;background:rgba(0,0,0,0);"><img src="images/help/pointer-left.png" /></div>
<div style="width:400px;height:200px;">
<a href="#scene" class="close">X</a>
<br/><h2>3D Panoramic Photo View</h2>
<br/><p>Get a real-life perspective of peoperty with 3D photo view.</p>
<br/><br/><p><a class="btn" href="#Tutorial-3">Next</a></p>
</div>
</div>
<div id="Tutorial-3" class="modalDialog" style="background:rgba(0,0,0,0.4);">
<div style="position:absolute;left:50%;top:-95px;background:rgba(0,0,0,0);"><img src="images/help/pointer-up.png" /></div>
<div style="width:400px;height:200px;">
<a href="#scene" class="close">X</a>
<br/><h2>2D Floor Plans</h2>
<br/><p>Design floor plans in vector graphics quick and easy.</p>
<br/><br/><p><a class="btn" href="#Tutorial-4">Next</a></p>
</div>
</div>
<div id="Tutorial-4" class="modalDialog" style="background:rgba(0,0,0,0.4);">
<div style="position:absolute;right:75px;top:120px;background:rgba(0,0,0,0);"><img src="images/help/pointer-right.png" /></div>
<div style="width:400px;height:200px;">
<a href="#scene" class="close">X</a>
<br/><h2>3D Objects</h2>
<br/><p>Choose from a variety of 3D objects for spatial awareness.</p>
<br/><br/><p><a class="btn" href="#scene">Finish</a></p>
</div>
</div>
<!-- End of Tutorial -->
<!-- Map -->
<div id="map" class="modalDialog" style="background:rgba(0,0,0,0.4);">
<div style="width:90%;height:80%;">
<a href="#" class="close" onclick="animate()">X</a>
<style> #map1 { width:100%; height:100%; } </style>
<div id='map1'></div>
</div>
</div>
<!-- End of Map -->
<div id="item" class="modalDialog" style="background:rgba(0,0,0,0.4);">
<div style="width:640px;height:380px;">
<a href="#" class="close">X</a>
<div>
<div style="width:300px;float:left;display:inline-block;">
<img src="images/item.png" />
<br/>Location<br/>
</div>
<div style="margin-left:340px;">
<br/><h2>Item Name</h2>
<br/>Item description
<br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/>
</div>
</div>
</div>
</div>
<div id="list" class="modalDialog">
<div style="width:800px;height:600px;">
<br/>
<div id="menuIndexList"></div>
</div>
</div>
<div id="windowWeather" class="modalDialog" style="background: rgba(0,0,0,0)">
<div style="width:600px;height:400px;">
<a href="#close" class="close">X</a>
<br/>
<a href="#" onclick="engine3D.selectDayNight()" class="hi-icon icon-day" title="Day/Night"></a>
<br/>
<a href="#" onclick="engine3D.selectWeather('sunny')" class="hi-icon icon-landscape" title=""></a>
</div>
</div>
<div id="windowLogin" class="modalDialog">
<div style="width:400px;height:500px;">
<a href="#close" class="close" onclick="document.getElementById('iframe').src = 'about:blank'">X</a>
<iframe src="" frameborder="0" id="iframe" style="width:100%"></iframe>
</div>
</div>
<div id="scene" class="modalDialog">
<div style="width:95%;height:460px;background:#fff;">
<a href="#close" class="close">X</a>
<div id="pxs_container" class="pxs_container">
<div class="pxs_bg">
<div class="pxs_bg1" id="pxs_bg1"></div>
<div class="pxs_bg2" id="pxs_bg2"></div>
<div class="pxs_bg3" id="pxs_bg3"></div>
</div>
<!-- <div class="pxs_loading"></div> -->
<div class="pxs_slider_wrapper">
<ul class="pxs_slider">
<!--
<li><a href="#" onclick="engineGUI.open(1)"><img src="scenes/4af8b812/1.jpg" alt="" /></a></li>
<li><a href="#" onclick="engineGUI.open(2)"><img src="scenes/4af8b812/2.jpg" alt="" /></a></li>
<li><a href="#" onclick="engineGUI.open(3)"><img src="scenes/4af8b812/3.jpg" alt="" /></a></li>
-->
</ul>
<div class="pxs_navigation">
<span class="pxs_next"></span>
<span class="pxs_prev"></span>
</div>
<ul class="pxs_thumbnails">
<!--
<li><img src="scenes/4af8b812/_1.jpg" alt="" /></li>
<li><img src="scenes/4af8b812/_2.jpg" alt="" /></li>
<li><img src="scenes/4af8b812/_3.jpg" alt="" /></li>
-->
</ul>
</div>
</div>
</div>
</div>
<div id="open2DDoorWindowAdjust" class="modalDialog">
<div style="width:80%;height:75%;">
<a href="#close" class="close">X</a>
<canvas id="fabricjs2"></canvas>
</div>
</div>
<div id="panoramaBuild" class="modalDialog">
<div style="width:600px;height:400px">
<a href="#close" class="close">X</a>
<div>
<div class="panoFrame"></div>
<div class="panoFrame panoFrameBordered"></div>
<div class="panoFrame"></div>
<div class="panoFrame"></div>
</div>
<div>
<div class="panoFrame panoFrameBordered"></div>
<div class="panoFrame panoFrameBordered"></div>
<div class="panoFrame panoFrameBordered"></div>
<div class="panoFrame panoFrameBordered"></div>
</div>
<div>
<div class="panoFrame"></div>
<div class="panoFrame panoFrameBordered"></div>
<div class="panoFrame"></div>
<div class="panoFrame"></div>
</div>
</div>
</div>
<div id="openAddNewFloor" class="modalDialog">
<div id="wrap">
<a href="#close" class="close" onclick="engineGUI.addNewFloor()">X</a>
<br/><input id="addNewFloor" placeholder="Floor Name" type="text" autocomplete="off"/><br/>
</div>
</div>
<div id="openSaving" class="modalDialog">
<div id="savingSpinner" style="width:280px;height:200px">
<br/><br/><center>Please Wait - Saving ...</center>
</div>
</div>
<div id="panorama" class="modalDialog">
<div style="width:80%;height:90%;margin:2% auto;">
<a href="#close" class="close" onclick="engine3D.disposePanorama('#WebGLPanorama');">X</a>
<div id="WebGLPanorama" style=" display: block; margin: 10px auto 0 auto;width:100%; height:100%;"></div>
</div>
</div>
<div id="openExistingDesign" class="modalDialog">
<div style="width:600px; height:300px">
<a href="#close" class="close">X</a>
</div>
</div>
<div id="openItemList" class="modalDialog">
<div style="width:600px;height:300px;background-image:url('images/background.png');background-repeat:repeat;">
<a href="#close" class="close">X</a>
<div id="generateItemList"></div>
</div>
</div>
<div id="open3DTin" class="modalDialog">
<div id="wrap" style="width:90%; height:90%;margin: 2% auto;">
<a href="#close" class="close" onclick="document.getElementById('iframe3DTin').src = 'about:blank'">X</a>
<iframe src="" frameborder="0" id="iframe3DTin" style="display: block; width:100%; height:100%;"></iframe>
</div>
</div>
<div id="menuAgent" class="flip-container"> <!--ontouchstart="this.classList.toggle('hover');">-->
<div class="flipper">
<div class="front image-circular">
<a href="#start" id="image-circular-src"><img id="agentPicture" alt="" /></a>
</div>
<div class="back image-circular">
<a href="#" id="image-circular-src" onclick="engineGUI.sceneMapBox()"><img src="images/map.jpg" alt="" /></a>
</div>
</div>
</div>
<!-- Slide Right Menu -->
<div id="menuRight" class="hide-right" style="display:none">
<ul class="tab-right">
<li>
<img id="arrow-right" onclick="engineGUI.menuToggleRight('menuRight',false);" src="images/arrowleft.png">
</li>
</ul>
<div class="links-left" style="width:320px;">
<div style="display:inline-block;width:100%;vertical-align:top;padding:8px">
<div class="hi-icon-wrap hi-icon-effect-1 hi-icon-effect-1a" >
<a href="#" onclick="fileSelect('3dobject')" class="hi-icon icon-upload tooltip-top" title="Upload Your 3D Object"></a>
<!--<a href="#open3DTin" onclick="document.getElementById('iframe3DTin').src = 'http://www.3dtin.com'" class="hi-icon icon-cube tooltip-top" title="Create Your 3D Object"></a>-->
<a href="http://www.tinkercad.com" class="hi-icon icon-cube tooltip-top" title="Create Your 3D Object" target="_blank"></a>
<a href="#openItemList" onclick="engineGUI.generateItemList()" class="hi-icon icon-checklist tooltip-top" title="Item List"></a>
<!--<a href="#" class="hi-icon icon-catalog tooltip-top" title="Catalog"></a>
<a href="#" class="hi-icon icon-shopping tooltip-top" title="Item List"></a>-->
</div>
<img src="images/301.gif" id="loader" />
<span onclick="$('#search-box').val('');$('#search_suggestion_holder').hide();$('#search-close').hide();" class="icon-delete" style="font-size:18px" id="search-close"></span>
<input id="search-box" placeholder="Search 3D Models" type="text" autocomplete="off" style="border-raius:2px;"/>
<ul id="search_suggestion_holder" class="flip scroll"></ul>
</div>
<div id="menuRight3DHouse">
<!--<div class="scroll" data-ui="jscroll-default">-->
<div class="cssmenu">
<ul class="flip scroll"></ul>
</div>
<!--</div>-->
</div>
<div id="menuRight3DFloor">
<div class="cssmenu">
<ul class="flip scroll"></ul>
</div>
</div>
<div id="menuRight3DRoof">
<div class="cssmenu">
<ul class="flip scroll"></ul>
</div>
</div>
<div id="menuRight2D">
<div class="cssmenu">
<ul class="flip scroll"></ul>
</div>
</div>
<div id="menuRightObjects">
<div class="cssmenu">
<ul><li><a href='#' onclick='engineGUI.showRightCatalogMenu()'><span>< Back to Catalog</span></a></li></ul>
<ul class="flip scroll"></ul>
</div>
<!-- <div id="dragElement" style="background-image:url('images/object.png');z-index:999"></div> -->
<!--<div class="next"><a href="php/objects.php?item=Exterior/Plants&menu=1&page=2"></a></div>-->
</div>
</div>
</div>
<!-- END Slide Right Menu -->
<!-- Slide Left Menu -->
<div id="menuLeft3DHouse" class="hide-left">
<ul class="tab-left">
<li>
<img id="arrow-left" onclick="engineGUI.menuToggleLeft('menuLeft3DHouse',false);" src="images/arrowright.png">
</li>
</ul>
<div id="panoramaHouse"></div>
<div id="menuFloorList"></div>
</div>
<div id="menuLeft3DLandscape" class="hide-left">
<ul class="tab-left">
<li>
<img id="arrow-left" onclick="engineGUI.menuToggleLeft('menuLeft3DLandscape',false);" src="images/arrowright.png">
</li>
</ul>
<div class="links-left" style="width:80px">
<div class="hi-icon-wrap hi-icon-effect-1 hi-icon-effect-1a" style="padding: 0px;">
<a href="#panoramaBuild" onclick="" class="hi-icon icon-panorama tooltip" title="Panorama Image"></a>
<a href="#" onclick="engineGUI.menuSelect(0,'menuLeft3DLandscapeItem','#ff3700');engine3D.tool='rotate'" class="hi-icon icon-rotate2 tooltip" id="menuLeft3DLandscapeItem0" title="Rotate"></a>
<a href="#" onclick="engineGUI.menuSelect(1,'menuLeft3DLandscapeItem','#ff3700');engine3D.tool='angle'" class="hi-icon icon-angle tooltip" id="menuLeft3DLandscapeItem1" title="Angle"></a>
<a href="#" onclick="engineGUI.menuSelect(2,'menuLeft3DLandscapeItem','#ff3700');engine3D.tool='hill';landscape.select('hill');" class="hi-icon icon-hill tooltip" id="menuLeft3DLandscapeItem2" title="Create Hill" ></a>
<a href="#" onclick="engineGUI.menuSelect(3,'menuLeft3DLandscapeItem','#ff3700');engine3D.tool='valley';landscape.select('valley');" class="hi-icon icon-valley tooltip" id="menuLeft3DLandscapeItem3" title="Create Valley"></a>
<a href="#" onclick="" class="hi-icon icon-shovel tooltip" id="menuLeft3DLandscapeItem4" title="Reset Ground"></a>
</div>
</div>
</div>
<div id="menuLeft3DFloor" class="hide-left">
<ul class="tab-left">
<li>
<img id="arrow-left" onclick="engineGUI.menuToggleLeft('menuLeft3DFloor',false);" src="images/arrowright.png">
</li>
</ul>
<div id="panoramaFloor"></div>
</div>
<div id="menuLeft2D" class="hide-left">
<ul class="tab-left">
<li>
<img id="arrow-left" onclick="engineGUI.menuToggleLeft('menuLeft2D',false);" src="images/arrowright.png">
</li>
</ul>
<div class="links-left" style="width:80px">
<div class="hi-icon-wrap hi-icon-effect-1 hi-icon-effect-1a" style="padding: 0px;">
<a href="#" onclick="fileSelect('2dautocad')" class="hi-icon icon-dxf tooltip" id="menuLeft2DItem0" title="Upload AutoCAD DXF"></a>
<a href="#" onclick="fileSelect('2ddraftplan')" class="hi-icon icon-jpg tooltip" id="menuLeft2DItem1" title="Upload Draft Plan (pdf, jpg, png)"></a>
<a href="#" onclick="engineGUI.menuSelect(2,'menuLeft2DItem','#ff3700');scene2D.isDrawingMode=true;engine2D.tool='freestyle'" class="hi-icon icon-draw tooltip" id="menuLeft2DItem2" title="Freestyle Sketch" ></a>
<a href="#" onclick="engineGUI.menuSelect(3,'menuLeft2DItem','#ff3700');scene2D.isDrawingMode=false;engine2D.tool='vector'" class="hi-icon icon-vector tooltip" id="menuLeft2DItem3" title="Vector Corrections"></a>
<a href="#" onclick="engineGUI.menuSelect(4,'menuLeft2DItem','#ff3700');scene2D.isDrawingMode=false;engine2D.tool='line'" class="hi-icon icon-vector-line tooltip" id="menuLeft2DItem4" title="Draw Line"></a>
<a href="#" onclick="engineGUI.menuSelect(5,'menuLeft2DItem','#ff3700');engine2D.tool='square'" class="hi-icon icon-vector-square tooltip" id="menuLeft2DItem5" title="Draw Square"></a>
<!--
<a href="#" onclick="engineGUI.menuSelect(6,'menuLeft2DItem','#ff3700');engine2D.tool='circle'" class="hi-icon icon-vector-circle tooltip" id="menuLeft2DItem6" title="Draw Circle"></a>
<a href="#" onclick="engineGUI.menuSelect(7,'menuLeft2DItem','#ff3700');engine2D.tool='triangle'" class="hi-icon icon-vector-triangle tooltip" id="menuLeft2DItem7" title="Draw Triangle"></a>
-->
</div>
</div>
</div>
<!-- END Slide Right Menu -->
<div class="menuTop"></div>
<div id="menuFloorSelector" align="center">
<div class="hi-icon-wrap hi-icon-effect-1 hi-icon-effect-1a" style="display: inline-block">
<a href="#" onclick="engineGUI.selectFloor(-1)" class="hi-icon icon-previous"></a>
</div>
<div id="menuFloorSelectorText" style="display: inline-block"></div>
<div class="hi-icon-wrap hi-icon-effect-1 hi-icon-effect-1a" style="display: inline-block">
<a href="#" onclick="engineGUI.selectFloor(1)" class="hi-icon icon-next"></a>
</div>
</div>
<div id="menuBottomHouse" class="menuBottom" style="left:32%;width:350px">
<div class="hi-icon-wrap hi-icon-effect-1 hi-icon-effect-1a">
<a href="#" onclick="engine3D.cameraWalkViewToggle()" class="hi-icon icon-walk tooltip" title="Walk View"></a>
<a href="#" onclick="engine3D.calculateCutawayGeometry()" class="hi-icon icon-cutaway tooltip" title="Cutaway View"></a>
<a href="#windowWeather" class="hi-icon icon-landscape tooltip" title="Weather Effects"></a>
<a href="#Tutorial-1" class="hi-icon icon-help tooltip" title="Help"></a>
</div>
</div>
<div id="menuBottomFloor" class="menuBottom">
<div class="hi-icon-wrap hi-icon-effect-1 hi-icon-effect-1a">
<a href="#" onclick="engineGUI.exportPDF()" class="hi-icon icon-print tooltip" title="Print PDF"></a>
<a href="#" onclick="engine3D.cameraWalkViewToggle()" class="hi-icon icon-walk tooltip" title="Walk View"></a>
<a href="#" onclick="engine3D.calculateCutawayGeometry()" class="hi-icon icon-cutaway tooltip" title="Cutaway View"></a>
<a href="#" onclick="engine3D.selectMeasurement()" class="hi-icon icon-measure tooltip" title="Units of Meature"></a>
<a href="#" onclick="engine3D.scene3DFloorMeasurementShow()" class="hi-icon icon-ruler tooltip" title="Measure twice, Cut once"></a>
<a href="#" onclick="engine3D.scene3DFloorInsertPicture()" class="hi-icon icon-images11 tooltip" title="Insert Panorama Photo"></a>
<a href="#" onclick="engine3D.scene3DFloorInsertAR()" class="hi-icon icon-ar tooltip" title="Insert AR Photo"></a>
<!--
<a href="#" onclick="engine3D.scene3DUndo()" class="hi-icon icon-undo tooltip" title="Undo"></a>
<a href="#" onclick="engine3D.scene3DRedo()" class="hi-icon icon-redo tooltip" title="Redo"></a>
-->
<a href="#" class="hi-icon icon-help tooltip" title="Help"></a>
</div>
</div>
<div id="menuBottomPlan" class="menuBottom">
<div class="hi-icon-wrap hi-icon-effect-1 hi-icon-effect-1a">
<a href="#" onclick="engineGUI.exportPDF()" class="hi-icon icon-print tooltip" title="Print PDF"></a>
<a href="#" onclick="engine2D.selectMeasurement()" class="hi-icon icon-measure tooltip" title="Units of Meature"></a>
<a href="#" onclick="engine3D.scene2DUndo()" class="hi-icon icon-undo tooltip" title="Undo"></a>
<a href="#" onclick="engine3D.scene2DRedo()" class="hi-icon icon-redo tooltip" title="Redo"></a>
<a href="#" class="hi-icon icon-help tooltip" title="Help"></a>
</div>
</div>
<!--
<div class="apple_overlay black" id="photo1">
<img src="img/property-large.jpg" />
<h2>Agent</h2>
<p>Address Location</p>
</div>
-->
<form action="" method="post" enctype="multipart/form-data" id="uploadForm" style="display:none">
<input type="file" name="fileInput" id="fileInput" hidden />
<input type="submit" id="fileSubmit" value="Upload" hidden />
</form>
<div id="engine3D" style="display:none">
<div id="WebGLCanvas"></div>
<div id="WebGLSplitCanvas">
<div class="pretty-split-pane-frame">
<div class="split-pane fixed-bottom" id="split-pane-1">
<div class="split-pane-component" id="top-component">
<div class="split-pane fixed-left" id="split-pane-2">
<div class="split-pane-component" id="left-component-1">
<div class="pretty-split-pane-component-inner">
<div id="WebGLSplitCanvas-0">
<div class="hi-icon-wrap hi-icon-effect-1 hi-icon-effect-1a" style="position:absolute;bottom:5px;right:5px;">
<a href="#" onclick="scene3DSplitViewTop()" class="hi-icon icon-cube25 tooltip" title="Top View"></a>
</div>
</div>
</div>
</div>
<div class="split-pane-divider" id="vertical-divider-1"></div>
<div class="split-pane-component" id="right-component-1">
<div class="pretty-split-pane-component-inner">
<div id="WebGLSplitCanvas-1">
<div class="hi-icon-wrap hi-icon-effect-1 hi-icon-effect-1a" style="position:absolute;bottom:5px;left:5px;">
<a href="#" onclick="scene3DSplitViewFront()" class="hi-icon icon-cube25 tooltip" title="Front View"></a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="split-pane-divider" id="horizontal-divider"></div>
<div class="split-pane-component" id="bottom-component">
<div class="split-pane fixed-left" id="split-pane-3">
<div class="split-pane-component" id="left-component-2">
<div class="pretty-split-pane-component-inner">
<div id="WebGLSplitCanvas-2">
<div class="hi-icon-wrap hi-icon-effect-1 hi-icon-effect-1a" style="position:absolute;top:5px;right:5px;">
<a href="#" onclick="scene3DSplitViewSide()" class="hi-icon icon-cube25 tooltip" title="Side View"></a>
</div>
</div>
</div>
</div>
<div class="split-pane-divider" id="vertical-divider-2"></div>
<div class="split-pane-component" id="right-component-2">
<div class="pretty-split-pane-component-inner">
<div id="WebGLSplitCanvas-3">
<div class="hi-icon-wrap hi-icon-effect-1 hi-icon-effect-1a" style="position:absolute;top:5px;left:5px;">
<a href="#" onclick="scene3DSplitView3D()" class="hi-icon icon-cube25 tooltip" title="3D View"></a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="WebGLCubeCanvas" style="position:absolute;left:0;bottom:0;width:100px;height:100px"></div>
<div id="WebGLSelectMenu" style="position:absolute"></div>
<div id="WebGLInteractiveMenu" style="display:none;"></div>
<form id="WebGLNote" style="position:absolute;left:40%;top:40%;display:none;">
<textarea name="note" maxlength="1000" cols="50" rows="6" style="border:none;background-color:transparent;">A Note with dynamic text and very cool visual effects</textarea>
</form>
<!--<div id="WebGLPanorama" style="position:absolute;left:10%;bottom:50px;display:none;"></div>-->
<div id="WebGLWallPaintMenu" style="display:none;position:absolute;width:35px;height:35px;">
<a href="#" onclick="toggleTextureSelect()"><img src="images/colorwheel.svg" /></a>
</div>
<div id="WebGLColorWheelSelect" style="display:none;position:absolute;width:300px;height:300px;">
<div class="colorpicker">
<canvas id="picker" var="2" width="300" height="300"></canvas>
<div class="controls">
<div><label>R</label> <input type="text" id="rVal" /></div>
<div><label>G</label> <input type="text" id="gVal" /></div>
<div><label>B</label> <input type="text" id="bVal" /></div>
<div><label>RGB</label> <input type="text" id="rgbVal" /></div>
<div><label>HEX</label> <input type="text" id="hexVal" /></div>
</div>
</div>
</div>
<div id="WebGLTextureSelect" style="display:none;width:60%;height:120px;"></div>
</div>
<canvas id="engine2D" style="display:none">
<div id="zoom2DLevel" style="position:absolute;left:10px;bottom:0;z-index:2">
<form id="drawForm">
<input id="zoom2DSlider" type="range" min="10" max="50" value="10" onchange="drawImage();" onkeyup="drawImage();" style="width:240px" />
</form>
<canvas id="zoom2DProgress" width="270" height="80"></canvas>
</div>
<div id="menu2DTools" style="position:absolute"></div>
</canvas>
<div id="alertifyCover" class="alertify-cover alertify-hidden" aria-hidden="true"></div>
<section id="alertifyDialog" class="alertify alertify-close" aria-labelledby="alertifyTitle" aria-hidden="true">
<div class="alertify-body">
<p id="alertifyTitle" class="alertify-title"></p>
<input type="text" id="alertifyInput" class="alertify-input" aria-hidden="true">
<nav id="alertifyButtons" class="alertify-buttons">
<button id="alertifyButtonCancel" class="alertify-button alertify-button-cancel" aria-hidden="true"></button>
<button id="alertifyButtonOk" class="alertify-button alertify-button-ok" aria-hidden="true"></button>
</nav>
<a id="alertifyFocusReset" class="alertify-focus-reset" href="#" aria-hidden="true"></a>
</div>
</section>
</body>
</html>