06 2024 档案
摘要:const geometry = new THREE.PlaneGeometry(20000, 20000); //纹理贴图加载器TextureLoader const texLoader = new THREE.TextureLoader(); // .load()方法加载图像,返回一个纹理对象T
阅读全文
摘要:init() { // 创建3D场景对象Scene const scene = new THREE.Scene(); // 定义相机输出画布的尺寸(单位:像素px) const width = 800; //宽度 const height = 500; //高度 // 实例化一个透视投影相机对象 /
阅读全文