-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Expand file tree
/
Copy pathindex.html
More file actions
37 lines (35 loc) · 1.27 KB
/
index.html
File metadata and controls
37 lines (35 loc) · 1.27 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Model Viewer AR - VR</title>
<meta name="description" content="Model Viewer (VR / AR) • A-Frame">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<script src="../../../dist/aframe-master.min.js"></script>
<script src="../../js/info-message.js"></script>
<script src="animation-mixer.js"></script>
<script src="ar-shadows.js"></script>
<script src="model-viewer.js"></script>
<script src="background-gradient.js"></script>
</head>
<body>
<a-scene
renderer="colorManagement: true;"
info-message="htmlSrc: #messageText"
model-viewer="gltfModel: #triceratops; title: Triceratops"
xr-mode-ui="XRMode: xr">
<a-assets timeout="10000">
<!--
Model source: https://sketchfab.com/3d-models/triceratops-d16aabe33dc24f8ab37e3df50c068265
Model author: https://sketchfab.com/VapTor
Model license: Sketchfab Standard
-->
<a-asset-item id="triceratops"
src="https://cdn.aframe.io/examples/ar/models/triceratops/scene.gltf"
response-type="arraybuffer"></a-asset-item>
<img id="shadow" src="shadow.png">
<a-asset-item id="messageText" src="message.html"></a-asset-item>
</a-assets>
</a-scene>
</body>
</html>