-
Notifications
You must be signed in to change notification settings - Fork 0
/
Bostel-Ciotola.html
97 lines (78 loc) · 3.61 KB
/
Bostel-Ciotola.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Lekythos</title>
<link rel="stylesheet" href="css/style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="white"/>
<link rel="icon"
type="image/png"
href="favicon-uqido.png">
<meta name="description" content="">
<script src="https://unpkg.com/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
<script src="https://unpkg.com/intersection-observer/intersection-observer.js"></script>
<script src="https://unpkg.com/resize-observer-polyfill/dist/ResizeObserver.js"></script>
<script src="https://unpkg.com/fullscreen-polyfill/dist/fullscreen.polyfill.js"></script>
<script src="https://unpkg.com/focus-visible/dist/focus-visible.js" defer></script>
<style>
.fullscreen{
background: black;
}
.call-to-action-button {
background-color: #ff7e33;
color: black;
font-weight: bold;
}
.right-description:after{
background: black;
}
.text{
color: white;
}
</style>
</head>
<body class="fullscreen">
<div style="display: flex; flex-direction: row;height: 100%;min-height: 100%;flex-wrap: wrap">
<model-viewer id="model-viewer" class='model-viewer-w80' ar camera-controls src='models/Bostel-Ciotola.glb'
ios-src='models/Bostel-Ciotola.usdz' alt='' min-field-of-view="45deg" max-camera-orbit="auto 105.5deg 0.90m"
min-camera-orbit="auto auto 0.30m" camera-orbit="auto auto 0.80m" camera-target="0m 0.05m 0m" exposure="0.6"
shadow-intensity="2.5" shadow-softness="0.6"
quick-look-browsers="safari chrome">
<div class="logo-bar">
<div class="upper-left-logo uqido-logo-white"></div>
</div>
<div class="viewer-bottom">
<div id="move_camera" class="clickable" style="background-image: url(img/Move-white.png);"></div>
</div>
<script src="js/LoadingBar.js"></script>
<script>
const modelViewer = document.getElementById('model-viewer');
const cameraSwitch = document.getElementById('move_camera');
const positions = ["-35deg 65deg 105%", "-90deg 65deg 105%", "180deg 65deg 105%"];
let cameraIndex = 0;
cameraSwitch.onclick = function () {
cameraIndex = (++cameraIndex) % positions.length;
modelViewer.cameraOrbit = positions[cameraIndex];
};
</script>
</model-viewer>
<div class="right-description">
<div>
<div style="color: #ff7e33; font-size: 3em; font-weight: bold">Ciotola</div>
<br><br>
<div class="text">Utilizzato nella Grecia antica e nelle zone magno-greche per conservare e versare olio
profumato e unguenti, era impiegato dagli atleti, nelle cerimonie funebri e come segnacolo sepolcrale.
La principale funzione del vaso, conservazione e aspersione di olio, ha determinato l'evolversi e lo
stabilizzarsi della forma, dotata di collo stretto che limita la fuoriuscita del contenuto e orlo adatto
ad impedirne lo spreco.
</div>
<br><br><br>
<div class="call-to-action-button">SCOPRI DI PIU'</div>
</div>
</div>
</div>
<script type="module" src="js/model-viewer/dist/model-viewer.js"></script>
<script nomodule src="https://unpkg.com/@google/model-viewer/dist/model-viewer-legacy.js"></script>
</body>
</html>