|
@@ -49,7 +49,6 @@
|
|
|
import { OrbitControls } from '../examples/jsm/controls/OrbitControls.js'
|
|
|
import { WebGLRenderer } from '../src/renderers/WebGLRenderer.js'
|
|
|
|
|
|
- import { ProgressiveShadows } from '../examples/jsm/postprocessing/ProgressiveShadows.js';
|
|
|
import { TransformControls } from '../examples/jsm/controls/TransformControls.js';
|
|
|
import { MeshoptDecoder } from '../examples/jsm/libs/meshopt_decoder.module.js';
|
|
|
|
|
@@ -1559,8 +1558,8 @@
|
|
|
cover.src = url;
|
|
|
})
|
|
|
.catch(() => {
|
|
|
- mask.style.display = 'none'
|
|
|
- initGui()
|
|
|
+ document.getElementById('mask').style.display = 'none'
|
|
|
+ // initGui()
|
|
|
})
|
|
|
}
|
|
|
function checkImgExists(url) {
|
|
@@ -1780,7 +1779,7 @@
|
|
|
params.dof.bladeCount = 6
|
|
|
}
|
|
|
|
|
|
- params.lock = false
|
|
|
+ // params.lock = false
|
|
|
|
|
|
// params.colorBalance = {
|
|
|
// enabled: true,
|
|
@@ -1833,7 +1832,8 @@
|
|
|
height: 100%;
|
|
|
position: absolute;
|
|
|
z-index: 100;
|
|
|
- /* display: none; */
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
}
|
|
|
#cover{
|
|
|
/* height: 100%; */
|