Skip to content
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

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

Open
SunXinFei opened this issue Dec 14, 2021 · 13 comments
Open

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

SunXinFei opened this issue Dec 14, 2021 · 13 comments

Comments

@SunXinFei
Copy link

SunXinFei commented Dec 14, 2021

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

@SunXinFei
Copy link
Author

1a83e7cbc8590b9509f9ad7c71900ab2.mov

@SunXinFei
Copy link
Author

@deepkolos
Copy link
Owner

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

@SunXinFei
Copy link
Author

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

@deepkolos
Copy link
Owner

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

@SunXinFei
Copy link
Author

SunXinFei commented Dec 15, 2021

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

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

@deepkolos
Copy link
Owner

deepkolos commented Dec 15, 2021

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

@SunXinFei
Copy link
Author

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

@deepkolos good job!

@ghost
Copy link

ghost commented Jun 3, 2023

#24 (comment)

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

@SunXinFei
Copy link
Author

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

@SunXinFei
Copy link
Author

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

@Evseiy
Copy link

Evseiy commented Dec 23, 2023

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

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

@SunXinFei
Copy link
Author

SunXinFei commented Dec 25, 2023

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants