1. 设置初始图像的大小
因为Gio.js是基于three.js的,所以设置初试图像大小相当于设置three.js相机的位置,找到Gio.js源码中创建three.js相机的位置PerspectiveCamera
代码行数:1984行
function createCamera ( container ) {
var camera = new THREE.PerspectiveCamera( 12, container.clientWidth / container.clientHeight, 1, 20000 );
camera.position.z = 2400;
camera.position.y = 0;
camera.lookAt( 0, 0, 0 );
return camera;
}
更改Z轴的值,越大越小
camera.position.z = 1400;
camera.position.z = 2400;