forked from KhronosGroup/glTF-Sample-Viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
27 lines (22 loc) · 966 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>glTF Sample Viewer</title>
<meta name="author" content="Khronos Group Inc.">
<meta name="description" content="The official glTF sample viewer">
<meta name="keywords" content="glTF, WebGL, Sample, Viewer, PBR">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css">
<link rel="icon" href="assets/images/gltf.png">
<script src="libs/dat.gui.min.js"></script>
<script src="libs/stats.min.js"></script>
<script src="dist/gltf-reference-viewer.umd.js"></script>
</head>
<!-- Just create a rendering canvas like below and call gltf_rv! -->
<body onload="viewer = gltf_rv.gltf_rv('canvas', 'assets/models/2.0/model-index.json');">
<div id="gltf-rv-model-spinner"> </div>
<canvas id="canvas">No Canvas!</canvas>
</body>
</html>