| | |
| | | } |
| | | this.initBackground = function () { |
| | | if (this.backgroundType) { |
| | | this.scene.background = new THREE.Color( 0xf0f0f0 ); |
| | | // this.scene.background = new THREE.Color( 0xf0f0f0 ); |
| | | this.scene.background = new THREE.Color( 0x333333 ); |
| | | } else { |
| | | const cubeTextureLoader = new THREE.CubeTextureLoader(); |
| | | cubeTextureLoader.setPath( '../static/img/skybox0/' ); |
| | |
| | | objectName: 'floor', |
| | | objectType: 'cube', |
| | | length: 2750, |
| | | width: 800, |
| | | height: 1, |
| | | width: 600, |
| | | height: 5, |
| | | position: { |
| | | x: 1375, |
| | | y: 310, |
| | | z: 400 |
| | | y: 305, |
| | | z: 300 |
| | | }, |
| | | style:{ |
| | | color: 0x5F7480, |