deepkolos / three-platformize

一个让 THREE 平台化的项目,目前已适配微信,淘宝,头条小程序,微信小游戏
533 stars 82 forks source link

OrbitControls双指缩放在小程序会抖动 #24

Open SunXinFei opened 2 years ago

SunXinFei commented 2 years ago

OrbitControls双指缩放和h5表现,双指会卡 IOS比较明显的卡顿

SunXinFei commented 2 years ago

https://user-images.githubusercontent.com/5847281/145974276-f01239f1-f410-49e8-82a9-f66343c24e26.mov

SunXinFei commented 2 years ago

https://github.com/wechat-miniprogram/threejs-miniprogram/tree/master/example 这个没有问题

deepkolos commented 2 years ago

可以降级老three版本试试, 新版本three改为只用pointerEvent了, 老版本使用touchevent

SunXinFei commented 2 years ago

en 我用threejs-miniprogram的control源码和three-platformize解决了

deepkolos commented 2 years ago

@SunXinFei 有空我找iOS测试机试试

SunXinFei commented 2 years ago

@SunXinFei 有空我找iOS测试机试试

@deepkolos 还有个问题是 demo在真机预览模式下面,如果不【打开调试】,会看不到gltf模型, 【打开调试】才能正常显示, 机型iphone12

deepkolos commented 2 years ago

@SunXinFei 微信小程序管理后台配置域名白名单, console会报错提示

SunXinFei commented 2 years ago

@SunXinFei 微信小程序管理后台配置域名白名单, console会报错提示

@deepkolos good job!

ghost commented 1 year ago

https://github.com/deepkolos/three-platformize/issues/24#issuecomment-994270081

可以分享一下具体怎么实现的吗?

SunXinFei commented 1 year ago

@zjy4fun 可以,我最近准备把去年完成小程序AR,尝试开源。最快这周

SunXinFei commented 1 year ago

@zjy4fun https://github.com/SunXinFei/wx-3d-ar-viewer

Evseiy commented 8 months ago

@zjy4fun 可以,我最近准备把去年完成的小程序AR,尝试开源。最快这周

能分享一下怎么解决的吗?现在的版本如果两只手指使用后,会残留一只手指无法释放,导致一只手指也变成了缩放

SunXinFei commented 8 months ago

@zjy4fun 可以,我最近准备把去年完成的小程序AR,尝试开源。最快这周

能分享一下怎么解决的吗?现在的版本如果两只手指使用后,会残留一只手指无法释放,导致一只手指也变成了缩放 https://github.com/SunXinFei/wx-3d-ar-viewer 这里是开源 @Evseiy