# three-cli **Repository Path**: yobrave/three-cli ## Basic Information - **Project Name**: three-cli - **Description**: 学习用 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-12-10 - **Last Updated**: 2021-12-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # three 项目开发 github:https://github.com/nullno/three-cli demo:https://source.nullno.com/three-demo/ # 使用 ``` 开发 npm run dev 打包 npm run build ``` # 文件说明 src/lib.js 自定义three文件,跟据需要引入模型loaders依赖或其他组件 src/index.js 入口文件 src/model 模型资源文件夹, 最好是通过cdn引入 src/environment 环境贴图hdr # 资源: 中文文档 http://www.yanhuangxueyuan.com/threejs/docs/index.html#manual/zh/introduction/Creating-a-scene 模型预览:可快捷拖入本地模型无上传预览,可进行调试 https://gltf-viewer.donmccurdy.com/ hdr资源:为模型添加环境贴图,模型看起来更真实 https://hdrihaven.com/hdris/?c=all 免费模型下载 https://sketchfab.com/3d-models?date=week&features=downloadable&sort_by=-likeCount