| | |
| | | this.scene.background = new THREE.Color( 0x333333 ); |
| | | } else { |
| | | const cubeTextureLoader = new THREE.CubeTextureLoader(); |
| | | cubeTextureLoader.setPath( '../static/img/skybox0/' ); |
| | | cubeTextureLoader.setPath( '../static/img/skybox/' ); |
| | | this.scene.background = cubeTextureLoader.load([ |
| | | "px.jpg", "nx.jpg", |
| | | "py.jpg", "ny.jpg", |
| | |
| | | } |
| | | if (that.crnBody===null) { |
| | | that.crnBody = getArrVal(object.objects, "name", that.crnNo + "-body"); |
| | | // return; |
| | | return; |
| | | } |
| | | if (that.crnLoad===null) { |
| | | that.crnLoad = getArrVal(object.objects, "name", that.crnNo + "-load"); |
| | | // return; |
| | | return; |
| | | } |
| | | if (that.crnFork===null) { |
| | | that.crnFork = getArrVal(object.objects, "name", that.crnNo + "-fork"); |
| | | // return; |
| | | return; |
| | | } |
| | | |
| | | // 出库 / 移库 |