Created
May 14, 2025 18:43
-
-
Save erichlof/f3e0b6ef0eb3c4449f485f7df5ac9790 to your computer and use it in GitHub Desktop.
Experimenting with more traditional, unbiased Monte Carlo rendering
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <title>three.js PathTracing Renderer - Monte Carlo Rendering</title> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1"> | |
| <link href="css/default.css" rel="stylesheet"> | |
| <script type="importmap"> | |
| { | |
| "imports": { | |
| "three": "./js/three.module.min.js" | |
| } | |
| } | |
| </script> | |
| <script type="module"> | |
| import * as THREE from 'three'; | |
| window.THREE = THREE; | |
| import Stats from './js/stats.module.js'; | |
| window.Stats = Stats; | |
| import GUI from './js/lil-gui.module.min.js'; | |
| window.GUI = GUI; | |
| </script> | |
| </head> | |
| <body> | |
| <div id="container"> </div> | |
| <div id="info">three.js PathTracing Renderer - Monte Carlo Rendering</div> | |
| <div id="cameraInfo" style="position:fixed; left:3%; bottom:2%; font-family:arial; color:rgb(255,255,255);"></div> | |
| <script defer src="js/MobileJoystickControls.js"> </script> | |
| <script defer src="js/PathTracingCommon.js"> </script> | |
| <script defer src="js/InitCommon.js"> </script> | |
| <script defer src="js/Monte_Carlo_Rendering.js"> </script> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment