-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.html
38 lines (31 loc) · 1.13 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no">
<title>Online 3D Viewer</title>
<script type="text/javascript" src="o3dv/o3dv.min.js"></script>
<script type="text/javascript">
// Set the external libraries location to the
// folder where the library is.
OV.SetExternalLibLocation ('o3dv/libs');
// Init all the 3d viewer elements.
OV.Init3DViewerElements ();
</script>
<style>
div.online_3d_viewer
{
float: left;
border: 1px solid #eeeeee;
margin: 0px 4px 4px 0px;
}
</style>
</head>
<body>
<div class="online_3d_viewer"
style="width: 600px; height: 500px;"
model="models/DamagedHelmet.glb"
environmentmap="o3dv/envmaps/fishermans_bastion/posx.jpg,o3dv/envmaps/fishermans_bastion/negx.jpg,o3dv/envmaps/fishermans_bastion/posy.jpg,o3dv/envmaps/fishermans_bastion/negy.jpg,o3dv/envmaps/fishermans_bastion/posz.jpg,o3dv/envmaps/fishermans_bastion/negz.jpg">
</div>
</body>
</html>