【发布时间】:2015-02-23 09:54:19
【问题描述】:
使用三个js创建一个球体并在里面添加一个360度的图片。 现在,照片底部有一个黑洞。
有没有办法限制相机旋转并防止用户看到球体的最底部?
我有这个用于相机:
this.controls = new THREE.DeviceOrientationControls(this.camera, true);
- 也在寻找使用 OrbitControls 的解决方案。
this.controls = new THREE.OrbitControls(this.camera, this.element);
目标设备:手机支持 webgl。
【问题讨论】:
-
嗨,你有想过这个吗?
标签: three.js