-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
67 lines (66 loc) · 2.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>SpinalTech Brace 3d Demo</title>
</head>
<body>
<div id="controls">
<p>Patterns</p>
<select id="patterns">
<option value="./patterns/TP_Lily_Rose_NL_2000x2000.jpg">
Lily Rose
</option>
<option value="./patterns/TP_BearArms_D_2000x2000.jpg">
Bear Arms
</option>
<option value="./patterns/BearArms-2.jpg">
Bear Arms 2
</option>
<option value="./patterns/TP_Black_Carbon_Weave_NL_2000x2000.jpg">
Black Carbon Weave
</option>
<option value="./patterns/TP_Mahi_NL_2000x2000.jpg">Mahi</option>
<option value="./patterns/TP_Maroon_Lace_NL_2000x2000.jpg">
Maroon Lace
</option>
<option value="./patterns/TP_Mermaids_NL_2000x2000.jpg">
Mermaids
</option>
<option value="./patterns/TP_Seashells_NL_2000x2000.jpg">
Seashells
</option>
<option value="./patterns/TP_Sharks_NL_2000x2000.jpg">Sharks</option>
<option value="./patterns/TP_Spirit_Camo_Pink_Ribbon_NL_2000x2000.jpg">
Pink Ribbon Camo
</option>
<option value="./patterns/TP_Tie_Dye_NL_2000x2000.jpg">Tie Dye</option>
<option value="./patterns/TP-Marsh_D_2000x2000.jpg">Marsh</option>
</select>
</div>
<div class="container">
<model-viewer
id="brace"
ar
ar-modes="webxr"
camera-controls
shadow-intensity="1"
touch-action="pan-y"
xr-environment
orientation="0 0 180deg"
interaction-prompt="none"
auto-rotate
auto-rotate-delay="250"
src="./assets/gltf/base.glb"
poster="./assets/gltf/poster.png"
alt="A 3D model of a brace"
scale="0.5 0.5 0.5"
>
</model-viewer>
</div>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>