Skip to content

Commit 74a8544

Browse files
authored
Add files via upload
1 parent b058cfc commit 74a8544

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

RayTracing_In_One_Weekend.html

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<title>three.js PathTracing Renderer - Ray Tracing In One Weekend, Shirley 2018</title>
6+
<meta charset="utf-8">
7+
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
8+
<link href="css/default.css" rel="stylesheet">
9+
10+
<script type="importmap">
11+
{
12+
"imports": {
13+
"three": "./js/three.module.min.js"
14+
}
15+
}
16+
</script>
17+
18+
<script type="module">
19+
import * as THREE from 'three';
20+
window.THREE = THREE;
21+
import Stats from './js/stats.module.js';
22+
window.Stats = Stats;
23+
import GUI from './js/lil-gui.module.min.js';
24+
window.GUI = GUI;
25+
</script>
26+
</head>
27+
28+
<body>
29+
30+
<div id="container"> </div>
31+
<div id="info">three.js PathTracing Renderer - Ray Tracing In One Weekend, Shirley 2018</div>
32+
33+
<div id="cameraInfo" style="position:fixed; left:3%; bottom:2%; font-family:arial; color:rgb(255,255,255);">
34+
</div>
35+
36+
<script defer src="js/BVH_Quick_Builder.js"> </script>
37+
<script defer src="js/MobileJoystickControls.js"> </script>
38+
<script defer src="js/PathTracingCommon.js"> </script>
39+
<script defer src="js/InitCommon.js"> </script>
40+
41+
<script defer src="js/RayTracing_In_One_Weekend.js"> </script>
42+
43+
</body>
44+
45+
</html>

0 commit comments

Comments
 (0)