| | |
| | | this.scene.background = new THREE.Color( 0xf0f0f0 ); |
| | | } else { |
| | | const cubeTextureLoader = new THREE.CubeTextureLoader(); |
| | | cubeTextureLoader.setPath( '../static/img/skybox/' ); |
| | | cubeTextureLoader.setPath( '../static/img/skybox0/' ); |
| | | this.scene.background = cubeTextureLoader.load([ |
| | | "px.jpg", "nx.jpg", |
| | | "py.jpg", "ny.jpg", |
| | |
| | | } |
| | | this.initStoreObjects = function (object) { |
| | | if (this.firstTime === 1) { |
| | | // initStore(); |
| | | if (Store3DData !== undefined && Store3DData !== null) { |
| | | for(var group of Store3DData.data.store.groups) { |
| | | new StoreCrn(group.crn, object); |
| | |
| | | } |
| | | } |
| | | this.queryCrn = function () { |
| | | if (CrnDatas !== null) { |
| | | if (CrnDatas !== null && this.firstTime === 0) { |
| | | for (let crnData of CrnDatas) { |
| | | let crnTask = getArrVal(this.crnTasks, "crnNo", crnData.crnNo); |
| | | if (null == crnTask) { |