diff --git a/src/components/CheckTable.vue b/src/components/CheckTable.vue index 060b636..c26f77e 100644 --- a/src/components/CheckTable.vue +++ b/src/components/CheckTable.vue @@ -126,6 +126,9 @@ export default { overflow-y: auto; padding: 15px; } +.el-tabs--border-card{ + border-left: none +} .table-content { padding: 10px 0; diff --git a/src/components/ThreeViewerDebug.vue b/src/components/ThreeViewerDebug.vue index 8ad44a5..8cb2e5f 100644 --- a/src/components/ThreeViewerDebug.vue +++ b/src/components/ThreeViewerDebug.vue @@ -226,35 +226,6 @@ export default { dirLight.shadow.camera.far = 40; this.scene.add( dirLight ); - - // //4. 添加光源 - // const ambientLight = new THREE.AmbientLight(0xffffff, 0.6); // 创建环境光 - // this.scene.add(ambientLight); // 将环境光添加到场景中 - - // const directionalLight = new THREE.DirectionalLight(0xffffff, 0.8); // 平行光 - // directionalLight.position.set(5, 10, 7); - // directionalLight.castShadow = true // 让平行光产生阴影 - - // // 配置阴影属性 - 提高质量减少锯齿 - // directionalLight.shadow.mapSize.width = 4096 - // directionalLight.shadow.mapSize.height = 4096 - // directionalLight.shadow.camera.near = 0.5 - // directionalLight.shadow.camera.far = 50 - // directionalLight.shadow.camera.left = -10 - // directionalLight.shadow.camera.right = 10 - // directionalLight.shadow.camera.top = 10 - // directionalLight.shadow.camera.bottom = -10 - // directionalLight.shadow.bias = -0.0001 // 减少阴影失真 - // directionalLight.shadow.normalBias = 0.02 // 减少阴影痤疮 - - // this.scene.add(directionalLight); - - // // 环境光 - // this.pmremGenerator = new THREE.PMREMGenerator(this.renderer) - // this.pmremGenerator.compileEquirectangularShader() - // const env = this.pmremGenerator.fromScene(new RoomEnvironment(this.renderer), 0.04).texture - // this.scene.environment = env - // 添加地面 this.createGround() @@ -293,7 +264,7 @@ export default { // 遍历模型所有子元素 this.model.traverse((child) => { if (child.isMesh) { - // console.log(7777) + console.log(7777, child) child.material.emissiveMap = child.material.map; child.castShadow = true; // 让模型产生阴影 child.receiveShadow = true; // 让模型接受阴影 @@ -572,6 +543,8 @@ export default { this.annotationObjects.forEach((obj, i) => { if (obj.isLine) { obj.material.opacity = 0.5 + obj.material.color.setHex(0x409eff) + // obj.material.color = 'rgba(64, 158, 255, 0.9)' } else if (obj.element) { obj.element.style.background = 'rgba(64, 158, 255, 0.9)' obj.element.style.transform = 'scale(1)'