-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
56 lines (52 loc) · 1.4 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
<!DOCTYPE HTML>
<!--
Identity by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>SOFT TISSUE BIOMECHANICS LAB AR PORTAL</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<title>Model Viewer</title>
<script type="module" src="https://unpkg.com/@google/model-viewer/dist/model-viewer.min.js"></script>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
flex-direction: column;
text-align: center;
}
model-viewer{
width: 200px;
height: 200px;
margin: 0 auto;
}
</style>
</head>
<p>DYNAMIC MODEL</p>
<model-viewer
src="assets/Test00_InflatingDisks_Dynamic.glb"
ios-src="assets/Test00_InflatingDisks_Dynamic.usdc"
autoplay
ar
ar-modes="webxr scene-viewer quick-look"
ar-scale="auto"
camera-controls>
</model-viewer>
<p>Android: DYNAMIC MODEL: solidowrks to glb</p>
<model-viewer
src="assets/Test01.glb"
ios-src="assets/Test01-fbx-to-usd.usdc"
autoplay
ar
ar-modes="webxr scene-viewer quick-look"
ar-scale="auto"
camera-controls>
</model-viewer>
</body>
</html>