-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
483 lines (427 loc) · 20 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
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="images/favicon.ico">
<title>Virtual Vizcaya</title>
<!-- Bootstrap core CSS -->
<link href="dist/css/bootstrap.min.css" rel="stylesheet">
<link href="dist/css/bootstrap.css" rel="stylesheet">
<link href="dist/css/bootstrap-grid.css" rel="stylesheet">
<link href="dist/css/bootstrap-grid.min.css" rel="stylesheet">
<link href="dist/css/bootstrap-reboot.css" rel="stylesheet">
<link href="dist/css/bootstrap-reboot.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="assets/css/vizcaya.css" rel="stylesheet">
<style>
.tile{
overflow: hidden !important;
-moz-transition: all 0.3s;
-webkit-transition: all 0.3s;
transition: all 0.3s;
}
.tile_selected {
/*
-moz-transform: scale(1.2);
-webkit-transform: scale(1.2);
transform: scale(1.2);
*/
transition: .3s ease;
opacity: 0.7;
background-color: rgba(0,0,0,0.5);
color: #ffffff;
}
/*
.icon3d {
background-image: url("../images/question.svg");
top: 50%;
left: 50%;
}
*/
body {
background-color: #fff !important;
}
h1 {
position: sticky;
font-size: 3em; /*3em*/ /*60px*/
}
* {
box-sizing: border-box;
}
.header {
text-align: center;
padding: 32px;
}
.row {
display: -ms-flexbox; /* IE10 */
display: flex;
-ms-flex-wrap: wrap; /* IE10 */
flex-wrap: wrap;
padding: 0 4px;
}
.controls {
right: 35%;
width: 500px;
bottom: -30px;
}
.controls .hotspot-controls {
background: rgba(0,0,0,9);
bottom: 0;
border: none;
}
.controls .hotspot-controls .list {
background: rgba(0,0,0,1);
right: 5%;
}
</style>
</head>
<body>
<!--style="overflow: auto;"-->
<div class="container-fluid">
<div class="row">
<nav class="col-md-2 d-none d-md-block bg-light sidebar">
<div class="sidebar-sticky">
<h1 id="header-div">Virtual Vizcaya</h1> <hr />
<p>
For over 100 years, Vizcaya has endured Miami’s tropical climate and conditions along the shoreline of Biscayne Bay. Today, Vizcaya is vulnerable to sea level rise and climate change yet remains resilient. Through the use of 3D modeling and scanning Vizcaya documents its most vulnerable historic assets to advance innovative approaches to conservation and preventive care. The resulting 3D images provide visitors a new opportunity and perspective to consider Vizcaya’s past, present and future.
<br /><br />This project was made possible by the John S. and James L. Knight Foundation.
<br /><br /><b>Touch the tiles to the right to begin a virtual experience.
</p>
</div>
<!--sticky footer-->
<footer class="footer">
<div align="center">
<div id="langdiv_index" style="font-weight: lighter;"><a id="lang_selected"><b>English</b></a> | <a href="es/index.html">Español</a></div>
</div>
</footer>
</nav>
</div>
<main role="main" class="col-md-9 ml-sm-auto col-lg-10 px-4" id="main">
<!-- Photo Grid -->
<div class="row">
<div class="column">
<div class="tile"><a href="swimmingpoolgrotto.html?0"><img id="tile5" src="images/works/Grotto_English.png" style="width:100%"></a></div>
</div>
</div>
<!-- End Photo Grid -->
</main>
</div>
<!-- Modal for HOUSE.HTML-->
<div class="modal fade" id="myHouse">
<div class="modal-dialog">
<div class="modal-content">
<!-- Modal Header -->
<div class="modal-header">
<h4 class="modal-title">Virtual Access Tour</h4>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<!-- Modal body -->
<div class="modal-body">
<img id="house-image" src="images/VirtualAcessTour_Pop-Up_Image.jpg"><br><br>
<p style="font-weight: lighter;">
Vizcaya was originally the private home of James Deering who spent winter seasons here from 1916 until his death in 1925.
As Deering aged, he used a wheelchair to move between floors on an elevator. Unfortunately, the elevator system was destroyed
in the 1926 hurricane and the elevator car is permanently parked on the second floor, located next to Deering’s bedroom.
Today, new technologies and 360 degree photography allow all visitors to virtually enter and explore decorated rooms and
hard-to-reach areas of the gardens.
<br /><br />Select start to begin a virtual access tour.
</p>
</div>
<!-- Modal footer -->
<div class="modal-footer">
<a href="http://localhost/vizcaya/VAT/kiosk/house.html"><button type="button" class="btn">Start</button></a>
<button type="button" class="btn" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!--Credits Modal-->
<div class="modal fade" id="creditsModal">
<div class="modal-dialog modal-xl">
<div class="modal-content">
<!-- Modal body -->
<div class="modal-body">
<button type="button" class="close" data-dismiss="modal">×</button>
<div class="container-fluid">
<div class="row featurette" style="padding-top: 1%;">
<div class="col-md-12 order-md-1">
<img class="featurette-image img-fluid mx-auto" src="images/KF_logo-stacked.png" alt="Generic placeholder image">
<p class="lead">
<br />
This project was made possible through support from the John S. and James L. Knight Foundation.
<br />
<h5>Our project partners are:</h5>
</p>
</div>
</div>
<hr class="featurette-divider" />
<div class="row featurette">
<div class="col-md-3 order-md-1" style="padding-top:2%;">
<img class="featurette-image img-fluid mx-auto" src="images/daruma_logo.png" alt="Generic placeholder image">
</div>
<div class="col-md-9 order-md-2" style="padding-top:1%;">
<h3>Daruma Tech</h3>
<p style="font-weight:lighter;">Daruma Tech is a full service technology company that specializes in 3D rendering and App development among other digital solutions for the private and public sectors. Recent projects include an IOS and Android application that featured augmented reality videos and 3D illustrations to immerse the user in the Troy University and the update of an IOS and Android application for Tri-Rail that incorporates a data-driven, dynamic train schedule. Daruma Tech will be contracted to finalize the 3D models of the Barge and Pool ceiling mural and develop the kiosk interface, VR/AR application and web module virtual online interactive.</p>
</div>
</div>
<hr class="featurette-divider" />
<div class="row featurette">
<div class="col-md-3 order-md-1" style="padding-top:2%;">
<img class="featurette-image img-fluid mx-auto" src="images/fiu_logo.png" alt="Generic placeholder image">
</div>
<div class="col-md-9 order-md-2" style="padding-top:1%;">
<h3>Florida International University – Miami Beach Urban Studios</h3>
<p style="font-weight:lighter;">The Miami Beach Urban Studios (MBUS) is a unique 16,000sf facility in the 420 Lincoln Road Building that hosts an interdisciplinary array of innovative exhibitions, classes, research laboratories, and events for the College of Communication, Architecture + The Arts (aka “CARTA,” which is comprised of the following departments: Architecture, Landscape Architecture, Interior Architecture, Music, Art/Art History, Theatre, Journalism + Media and Communication). It also houses affiliated institutions (Sea Level Solution Center, Amernet String Quartet, ARC+, and temporarily, the Miami Urban Future Initiative, and the Ratcliffe Art + Design Incubator). MBUS houses the 3,500sf Knight-sponsored CARTA Innovation Lab, which with over 33 3D printers is one of the largest 3D printing laboratories of its kind in the United States. The lab is proud to have been selected to be a participant in the HP/EDUCAUSE Building the Campus of the Future Project.</p>
</div>
</div>
<hr class="featurette-divider" />
<div class="row featurette">
<div class="col-md-3 order-md-1" style="padding-top:2%;">
<img class="featurette-image img-fluid mx-auto" src="images/uf_logo.png" alt="Generic placeholder image">
</div>
<div class="col-md-9 order-md-2" style="padding-top:1%;">
<h3>The University of Florida, College of Design, Construction & Planning, Envision Heritage Program</h3>
<p style="font-weight:lighter;">Launched by the Historic Preservation Program in 2012, the University of Florida’s Envision Heritage explores how new and emerging digital technologies can be used to document, preserve, and interpret heritage sites. The research projects utilize laser scanning, photogrammetry and imaging from drones, among other technologies.</p>
</div>
</div>
</div>
</div>
<!-- Modal footer -->
<div class="modal-footer">
<button type="button" class="btn" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- Modal for Video-->
<div class="modal fade" id="myVideo">
<div class="modal-dialog modal-xl">
<div class="modal-content">
<!-- Modal Header -->
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<!-- Modal body -->
<div class="modal-body">
<div class="embed-responsive embed-responsive-16by9">
<video autoplay loop class="embed-responsive-item">
<source src="http://localhost/vizcaya/video/Drone_Vizcaya.mp4" type="video/mp4">
</video>
</div>
</div>
<!-- Modal footer -->
<div class="modal-footer">
<button type="button" class="btn" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script>window.jQuery || document.write('<script src="assets/js/vendor/jquery-slim.min.js"><\/script>')</script>
<script src="assets/js/vendor/popper.min.js"></script>
<script src="dist/js/bootstrap.min.js"></script>
<script>
/* Hotspots Control Dropup
*****************************************************/
$("#hotspots").click(function () {
/*$("#lists").toggle('show');*/
if (document.getElementById('tilename').innerHTML == "3D Documentation") {
window.location.href = "3d-documentation.html";
}
if (document.getElementById('tilename').innerHTML == "Alligators"){
window.location.href = "swimmingpoolgrotto.html?1";
}
if (document.getElementById('tilename').innerHTML == "2017 Sculptures") {
window.location.href = "barge.html?2";
}
if (document.getElementById('tilename').innerHTML == "Hurricane Irma") {
window.location.href = "irma.html";
}
if (document.getElementById('tilename').innerHTML == "Swimming Pool Grotto") {
window.location.href = "swimmingpoolgrotto.html?0";
}
if (document.getElementById('tilename').innerHTML == "1916 Herm") {
window.location.href = "1916barge.html?1";
}
if (document.getElementById('tilename').innerHTML == "2017 Herm") {
window.location.href = "barge.html?1";
}
if (document.getElementById('tilename').innerHTML == "2017 Barge") {
window.location.href = "barge.html?0";
}
if (document.getElementById('tilename').innerHTML == "Our Partners") {
$('#creditsModal').modal('show');
}
if (document.getElementById('tilename').innerHTML == "1916 Barge") {
window.location.href = "1916barge.html?0";
}
if (document.getElementById('tilename').innerHTML == "Drone Footage") {
$('#myVideo').modal('show');
}
if (document.getElementById('tilename').innerHTML == "1916 Sculptures") {
window.location.href = "1916barge.html?2";
}
});
function tileSelection(newTitle, newTile) {
document.getElementById('tilename').innerHTML = newTitle;
document.getElementById(newTile).className += "tile_selected";
const tileArray = ["tile1", "tile2", "tile3", "tile4", "tile5", "tile6",
"tile7", "tile8", "tile9", "tile10", "tile11", "tile12"];
var index = tileArray.indexOf(newTile);
tileArray.splice(index, 1);
for (i = 0; i < tileArray.length; i++) {
var tileName = tileArray[i];
document.getElementById(tileName).classList.remove('tile_selected');
}
}
//Functions for each annotation
function tile1() {
/*window.location.href = "3d-documentation.html";*/
tileSelection("3D Documentation", "tile1");
}
function tile2() {
/*window.location.href = "swimmingpoolgrotto.html?1";*/
tileSelection("Alligators", "tile2");
}
function tile3() {
/*window.location.href = "barge.html?2";*/
tileSelection("2017 Sculptures", "tile3");
}
function tile4() {
/*window.location.href = "irma.html";*/
tileSelection("Hurricane Irma", "tile4");
}
function tile5() {
/*window.location.href = "swimmingpoolgrotto.html?0";*/
tileSelection("Swimming Pool Grotto", "tile5");
}
function tile6() {
/*window.location.href = "1916barge.html?1";*/
tileSelection("1916 Herm", "tile6");
}
function tile7() {
/*window.location.href = "barge.html?1";*/
tileSelection("2017 Herm", "tile7");
}
function tile8() {
/*window.location.href = "barge.html?0";*/
tileSelection("2017 Barge", "tile8");
}
function tile9() {
/*$('#creditsModal').modal('show');*/
tileSelection("Our Partners", "tile9");
}
function tile10() {
/*window.location.href = "1916barge.html?0";*/
tileSelection("1916 Barge", "tile10");
}
function tile11() {
/*$('#myVideo').modal('show');*/
tileSelection("Drone Footage", "tile11");
}
function tile12() {
/*window.location.href = "1916barge.html?2";*/
tileSelection("1916 Sculptures", "tile12");
}
//Hotspot Dropup's Click Selection
$("#li1").click(function () {
tile1();
});
$("#li2").click(function () {
tile2();
});
$("#li3").click(function () {
tile3();
});
$("#li4").click(function () {
tile4();
});
$("#li5").click(function () {
tile5();
});
$("#li6").click(function () {
tile6();
});
$("#li7").click(function () {
tile7();
});
$("#li8").click(function () {
tile8();
});
$("#li9").click(function () {
tile9();
});
$("#li10").click(function () {
tile10();
});
$("#li11").click(function () {
tile11();
});
$("#li12").click(function () {
tile12();
});
//Hotspot Dropup's Prev/Next Selection
const functions = [];
functions.push(tile1);
functions.push(tile2);
functions.push(tile3);
functions.push(tile4);
functions.push(tile5);
functions.push(tile6);
functions.push(tile7);
functions.push(tile8);
functions.push(tile9);
functions.push(tile10);
functions.push(tile11);
functions.push(tile12);
const length = functions.length;
const getNextIdx = (idx = 0, length, direction) => {
switch (direction) {
case 'next': return (idx + 1) % length;
case 'prev': return (idx == 0) && length - 1 || idx - 1;
default: return idx;
}
}
let idx; // idx is undefined, so getNewScene will take 0 as default
const getNewScene = (direction) => {
idx = getNextIdx(idx, length, direction);
var sceneFunction = functions[idx];
return sceneFunction();
}
$("#prev").click(function () {
getNewScene('prev');
});
$("#next").click(function () {
getNewScene('next');
});
/*
//Temp solution to hide list when a hotspot is selected
function hideList(listItem) {
var openLink = document.getElementById(listItem);
openLink.addEventListener('click', clickHandler, false);
function clickHandler() {
var submenu = document.getElementById('lists');
submenu.style.display = 'none';
}
}
hideList('li1');
hideList('li2');
hideList('li3');
hideList('li4');
hideList('li5');
hideList('li6');
hideList('li7');
hideList('li8');
hideList('li9');
hideList('li10');
hideList('li11');
hideList('li12');
*/
</script>
</body>
</html>