|  |  | 
 |  |  |     init(); | 
 |  |  |  | 
 |  |  |     this.load = function () { | 
 |  |  |         new THREE.ObjectLoader().load( "../static/model/json/链条输送机.json", function (obj) { | 
 |  |  |         new THREE.ObjectLoader().load( "../static/model/json/chainConvey.json", function (obj) { | 
 |  |  |             obj.traverse (function (child) { | 
 |  |  |                 if (child instanceof THREE.Mesh) { | 
 |  |  |                     child.scale.set(1, 1, 1.6); | 
 |  |  |                     child.material = new THREE.MeshLambertMaterial({ | 
 |  |  |                     child.material = new THREE.MeshPhysicalMaterial({ | 
 |  |  |                         color: 0x444444 | 
 |  |  |                     }); | 
 |  |  |                     if (child.name === "Box034" || child.name === "Box035") { | 
 |  |  |                         child.material = new THREE.MeshLambertMaterial({ | 
 |  |  |                             color: 0x000000 | 
 |  |  |                         child.material = new THREE.MeshPhysicalMaterial({ | 
 |  |  |                             color: 0x1C1C1C | 
 |  |  |                         }); | 
 |  |  |                     } | 
 |  |  |                     child.castShadow = true; | 
 |  |  |                     child.receiveShadow = true; | 
 |  |  |                     // child.receiveShadow = true; | 
 |  |  |                 } | 
 |  |  |             }); | 
 |  |  |  | 
 |  |  | 
 |  |  |                 that.object.addObject(customize(obj.clone(), item)); | 
 |  |  |             }) | 
 |  |  |         }); | 
 |  |  |         new THREE.ObjectLoader().load( "../static/model/json/辊筒输送机.json", function (obj) { | 
 |  |  |         new THREE.ObjectLoader().load( "../static/model/json/rollerConvey.json", function (obj) { | 
 |  |  |             obj.traverse (function (child) { | 
 |  |  |                 if (child instanceof THREE.Mesh) { | 
 |  |  |                     child.scale.set(0.5, 1, 1); | 
 |  |  |                     child.material = new THREE.MeshLambertMaterial({ | 
 |  |  |                     child.material = new THREE.MeshPhysicalMaterial({ | 
 |  |  |                         color: 0x444444 | 
 |  |  |                     }); | 
 |  |  |                     child.castShadow = true; | 
 |  |  |                     child.receiveShadow = true; | 
 |  |  |                     // child.receiveShadow = true; | 
 |  |  |                 } | 
 |  |  |             }); | 
 |  |  |             rollerList.map(item => { | 
 |  |  |                 that.object.addObject(customize(obj.clone(), item)); | 
 |  |  |             }) | 
 |  |  |         }); | 
 |  |  |         new THREE.ObjectLoader().load( "../static/model/json/顶升移栽.json", function (obj) { | 
 |  |  |         new THREE.ObjectLoader().load( "../static/model/json/transportConvey.json", function (obj) { | 
 |  |  |             obj.traverse (function (child) { | 
 |  |  |                 if (child instanceof THREE.Mesh) { | 
 |  |  |                     child.scale.set(1, 1, 1); | 
 |  |  |                     child.material = new THREE.MeshLambertMaterial({ | 
 |  |  |                     child.material = new THREE.MeshPhysicalMaterial({ | 
 |  |  |                         color: 0x444444 | 
 |  |  |                     }); | 
 |  |  |                 } |