-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
77 lines (77 loc) · 1.9 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html>
<head>
<title>OpenPBR viewer</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<style type="text/css">
html, body {
padding: 0;
margin: 0;
overflow: hidden;
font-family: monospace;
}
canvas {
width: 100%;
height: 100%;
}
#output {
position: absolute;
bottom: 0;
left: 0;
padding: 5px;
width: 100%;
height: 100%;
color: #3d0404;
font-family: monospace;
pointer-events: none;
white-space: pre;
}
#samples {
position: absolute;
bottom: 0;
left: 10px;
width: 100%;
color: #0e1125;
opacity: 0.9;
font-family: monospace;
text-align: left;
padding: 10px 0;
text-shadow: 2px 2px 0px rgb(255, 255, 255)(255, 255, 255);
}
#info {
position: absolute;
top: 0;
left: 0;
width: 100%;
color: #101010;
opacity: 0.75;
font-family: monospace;
text-align: center;
padding: 10px 0;
}
#progress_overlay {
display: block;
width: 200px;
height: 200px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
position: absolute;
z-index:9999;
color:#fff;
opacity: 1.0;
overflow:hidden;
}
</style>
</head>
<body>
<div id="info">
OpenPBR viewer
</div>
<div id="samples"></div>
<div id="output">
<div id="progress_overlay"></div>
</div>
<script type="module" src="./main.js"></script>
</body>
</html>