-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
49 lines (44 loc) · 1.95 KB
/
index.html
File metadata and controls
49 lines (44 loc) · 1.95 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Project Boom AR Viewer</title>
<link rel="icon" href="images/favicon.png" type="image/png">
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&family=Special+Elite&display=swap" rel="stylesheet">
<!-- Loads <model-viewer> for modern browsers: -->
<script type="module" src="https://unpkg.com/@google/model-viewer/dist/model-viewer.js"></script>
<!-- Loads <model-viewer> for old browsers like IE11: -->
<script nomodule src="https://unpkg.com/@google/model-viewer/dist/model-viewer-legacy.js"></script>
<link rel="stylesheet" href="main.css">
</head>
<body>
<div id="parent1">
<div id="text1">
<h1>B250 Model</h1>
<h2>Our B250 Phase 1 aircraft design.</h2>
</div>
<div id="scene1">
<model-viewer ar camera-controls ios-src="models/render12Oct_scaledToP1.usdz" src="models/smaller_glb.glb" alt="B250 Phase One">
<button slot="ar-button" style="background-color: lightgreen; border-radius: 4px; border: none; position: absolute; top: 16px; right: 16px; ">
View in AR
</button>
</model-viewer>
</div>
</div>
<!-- <div id="parent2">
<div id="text2">
<h1>Charlie</h1>
<h2>Cylindrical fuselage high-wing concept.</h2>
</div>
<div id="scene2">
<model-viewer ar camera-controls ios-src="models/Charlie_Bid_Draft_2.usdz" src="models/scene (11).glb" alt="Charlie Aircraft">
<button slot="ar-button" style="background-color: lightgreen; border-radius: 4px; border: none; position: absolute; top: 16px; right: 16px; ">
View in AR
</button>
</model-viewer>
</div>
</div> -->
</body>
</html>