-
Notifications
You must be signed in to change notification settings - Fork 0
/
multimodelviewer2.html
32 lines (31 loc) · 1.09 KB
/
multimodelviewer2.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
<!doctype html>
<html lang="en">
<head>
<title><model-viewer> template</title>
<meta charset="utf-8">
<meta name="description" content="<model-viewer> template">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link type="text/css" href="./styles.css" rel="stylesheet"/>
<!-- OPTIONAL: The :focus-visible polyfill removes the focus ring for some input types -->
<script src="https://unpkg.com/[email protected]/dist/focus-visible.js" defer></script>
</head>
<style>
input {
margin: .8rem;
}
.controls1 {
position: absolute;
display: flex;
flex-direction: column;
align-items: left;
bottom: 30px;
left: 8px;
}
</style>
<body>
<!-- <model-viewer> HTML element -->
<model-viewer id="gagukok_tulipchair_tablechair" camera-controls src="Object.gltf" ar ar-modes="webxr scene-viewer quick-look" alt="A 3D model of a Shoe"></model-viewer>
<script src="script.js"></script>
<script type="module" src="https://unpkg.com/@google/model-viewer/dist/model-viewer.min.js"></script>
</body>
</html>