|
@@ -159,12 +159,12 @@
|
|
that.camera = camera;
|
|
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贴图
|
|
//加载环境720贴图
|
|
const loader = new THREE.TextureLoader();
|
|
const loader = new THREE.TextureLoader();
|
|
const texture = loader.load(that.bgUrl, () => {
|
|
const texture = loader.load(that.bgUrl, () => {
|
|
@@ -467,7 +467,7 @@
|
|
this.bottomLeftX = this.left;
|
|
this.bottomLeftX = this.left;
|
|
this.bottomLeftY = this.screenHeight - this.top - this.height;
|
|
this.bottomLeftY = this.screenHeight - this.top - this.height;
|
|
console.warn("***clipImgHandle***")
|
|
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);
|
|
console.warn("***clipImgHandle1***",shottingImg);
|
|
// alert(shottingImg)
|
|
// alert(shottingImg)
|
|
// alert('getClipPicUrl3'+img.width)
|
|
// alert('getClipPicUrl3'+img.width)
|