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