摘要:
x 左右 y 上下 z 前后 // 创建边界框可视化辅助对象,颜色为黄色 const box = new THREE.Box3().setFromObject(模型); const helper = new THREE.Box3Helper(box, 0xffff00) const box3 = n 阅读全文
摘要:
1.需要创建场景 // 创建场景 const scene = new THREE.Scene(); 2.创建相机 // 创建相机 const camera = new THREE.PerspectiveCamera() // 相机的位置 camera.position.z = 18 camera.p 阅读全文