#
luxiaotao1123
2022-08-19 162eca31378c749b8f70c32ce2ed988b1101e881
#
3个文件已修改
2个文件已删除
36 ■■■■ 已修改文件
views/sketh/Terrain_Rendering.html 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
views/sketh/js/InitCommon.js 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
views/sketh/js/Terrain_Rendering.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
views/sketh/js/lil-gui.min.js 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
views/sketh/js/stats.min.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
views/sketh/Terrain_Rendering.html
@@ -6,24 +6,20 @@
        <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
        <link href="css/default.css" rel="stylesheet"/>
    </head>
    <body>
        <div id="container"> </div>
<!--        <div id="info">three.js PathTracing Renderer - Terrain Rendering</div>-->
        <div id="container">
        </div>
        <div id="cameraInfo" style="position:fixed; left:3%; bottom:2%; font-family:arial; color:rgb(255,255,255);"></div>
        <script src="js/three.min.js"> </script>
        <script src="js/FirstPersonCameraControls.js"> </script>
        <script src="js/MobileJoystickControls.js"> </script>
<!--        <script src="js/stats.min.js"> </script>-->
        <script src='js/lil-gui.min.js'></script>
        <script src="js/PathTracingCommon.js"> </script>
        <script src="js/InitCommon.js"> </script>
        <script src="js/Terrain_Rendering.js"> </script>
    </body>
</html>
views/sketh/js/InitCommon.js
@@ -86,15 +86,10 @@
let PI_2 = Math.PI / 2; //used by controls below
let infoElement = document.getElementById('info');
infoElement.style.cursor = "default";
infoElement.style.userSelect = "none";
infoElement.style.MozUserSelect = "none";
let cameraInfoElement = document.getElementById('cameraInfo');
cameraInfoElement.style.cursor = "default";
cameraInfoElement.style.userSelect = "none";
cameraInfoElement.style.MozUserSelect = "none";
// let cameraInfoElement = document.getElementById('cameraInfo');
// cameraInfoElement.style.cursor = "default";
// cameraInfoElement.style.userSelect = "none";
// cameraInfoElement.style.MozUserSelect = "none";
let mouseControl = true;
let pointerlockChange;
views/sketh/js/Terrain_Rendering.js
@@ -67,7 +67,7 @@
    pathTracingUniforms.uSunDirection.value.copy(sunDirection);
    // INFO
    cameraInfoElement.innerHTML = "FOV: " + worldCamera.fov + " / Aperture: " + apertureSize.toFixed(2) + " / FocusDistance: " + focusDistance + "<br>" + "Samples: " + sampleCounter;
    // cameraInfoElement.innerHTML = "FOV: " + worldCamera.fov + " / Aperture: " + apertureSize.toFixed(2) + " / FocusDistance: " + focusDistance + "<br>" + "Samples: " + sampleCounter;
} // end function updateUniforms()
views/sketh/js/lil-gui.min.js
File was deleted
views/sketh/js/stats.min.js
File was deleted