zjs_project 1 år sedan
förälder
incheckning
98a99befaa
1 ändrade filer med 7 tillägg och 7 borttagningar
  1. 7 7
      src/pages/webgl_rxdz_clipImg/webgl_rxdz_clipImg.vue

+ 7 - 7
src/pages/webgl_rxdz_clipImg/webgl_rxdz_clipImg.vue

@@ -159,12 +159,12 @@
 				that.camera = camera;
 				
 				// 辅助方格
-				const axesHelper = new THREE.AxesHelper( 50 );
-				scene.add( axesHelper );
-				const gridHelper = new THREE.GridHelper(50, 10, 0xcccccc, 0xcccccc);
-				gridHelper.position.y = 0;
-				gridHelper.position.x = 0;
-				scene.add(gridHelper);
+				// const axesHelper = new THREE.AxesHelper( 50 );
+				// scene.add( axesHelper );
+				// const gridHelper = new THREE.GridHelper(50, 10, 0xcccccc, 0xcccccc);
+				// gridHelper.position.y = 0;
+				// gridHelper.position.x = 0;
+				// scene.add(gridHelper);
 				//加载环境720贴图
 				const loader = new THREE.TextureLoader();
 				const texture = loader.load(that.bgUrl, () => {
@@ -467,7 +467,7 @@
 				this.bottomLeftX = this.left;
 				this.bottomLeftY = this.screenHeight - this.top - this.height;
 				console.warn("***clipImgHandle***")
-				let shottingImg = await this.shottingAction(3) + "?x-oss-process=image/auto-orient,1/quality,Q_46/format,jpg";//开始截图
+				let shottingImg = await this.shottingAction(3);//开始截图
 				console.warn("***clipImgHandle1***",shottingImg);
 				// alert(shottingImg)
 				// alert('getClipPicUrl3'+img.width)