-
Notifications
You must be signed in to change notification settings - Fork 976
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
怎么部署在自己的云服务器,不会前端 #12
Comments
这位同学@zzy-life已经单独部署了,可以找他要一份打包好的。他的部署地址:www.zhangzhiyu.live:8900/3d |
我给大家打包一份,解压直接部署一份就好。 |
@zzy-life 老哥可以分享一份打包好的嘛? |
|
SVN用户名 user 密码 123456 |
好的,我自己也build出来了,感谢感谢! |
nginx配置可参考 location /3d {
#配置3d项目
alias //db/3d/build;#项目地址
try_files $uri $uri/ /3d/index.html;#后台路由管理
#try_files $uri $uri/ /index.html;
index index.html index.htm;
} |
@zzy-life 哥哥可以更新一下http://www.zhangzhiyu.live:8900/3d/这个服务器上的代码嘛 |
我这个服务器的案例是可以缩放的 但建议使用谷歌或edge 已知QQ浏览器无法缩放 |
@zzy-life 现在是可以缩放,我的意思是可以pull一下最新的代码,出了雪融融啊(。・∀・)ノ゙,更新代码后,也调一下缩放 |
雪融融暂不考虑更新 我觉得不好看 彩色围脖预计几天可以更新 |
另外你也可以自己设置缩放 controls = new OrbitControls(camera, renderer.domElement);
controls.target.set(0, 0, 0);
controls.enableDamping = true;
// 禁用平移
controls.enablePan = false;
// 禁用缩放
// controls.enableZoom = false;
if (/android|webos|iphone|ipod|balckberry/i.test(navigator.userAgent)) {
controls.minDistance = 35; //限制视线最近距离
} else {
controls.minDistance = 15; //限制视线最近距离
}
controls.maxDistance = 130; //限制视线多远距离
// 垂直旋转角度限制
controls.minPolarAngle = 1.4;
controls.maxPolarAngle = 1.8;
// 水平旋转角度限制
controls.minAzimuthAngle = -0.8;
controls.maxAzimuthAngle = 0.8; |
@zzy-life 好的,感谢 |
Why do I download and open only five rings and snowflakes |
No description provided.
The text was updated successfully, but these errors were encountered: