背景图调整+模型
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 146 KiB After Width: | Height: | Size: 951 KiB |
@@ -41,13 +41,13 @@ export default class Demo {
|
||||
this.camera = new this.THREE.PerspectiveCamera(
|
||||
75,
|
||||
window.innerWidth / window.innerHeight,
|
||||
0.1,
|
||||
1,
|
||||
1000
|
||||
);
|
||||
|
||||
this.camera.position.z = 130;
|
||||
this.camera.position.y = 35;
|
||||
this.camera.position.x = 40;
|
||||
this.camera.position.z = -60;
|
||||
this.camera.position.y = 20;
|
||||
this.camera.position.x = -30;
|
||||
|
||||
this.camera.lookAt(0, 0, 1000);
|
||||
// 初始化渲染器
|
||||
@@ -73,6 +73,7 @@ export default class Demo {
|
||||
// 轨道控制器更新
|
||||
if (this.orbitControls) {
|
||||
this.orbitControls.update();
|
||||
// console.log(this.camera.position);
|
||||
}
|
||||
|
||||
// 摄像头移动动画
|
||||
|
||||
Reference in New Issue
Block a user