小程序threejs参考

之前做了一个小程序眼镜试戴的功能,涉及了人脸识别和3D模型渲染等。暂时记录一些参考的东西,有时间再整理。

threejs官方文档(一定要看看)

https://threejs.org/docs/index.html#manual/en/introduction/Creating-a-scene

一、小程序版threejs

1、three-platformize

https://github.com/deepkolos/three-platformize

 

 2、threejs.miniprogram

https://github.com/yannliao/threejs.miniprogram

 

 3、官方threejs-miniprogram

二、参考代码

1、three-platformize 的例子

https://github.com/deepkolos/platformize

2、微信小程序官方例子

https://github.com/wechat-miniprogram/miniprogram-demo/tree/master/miniprogram/packageAPI/pages/ar

3、WeChat-MiniProgram-AR-AI

https://github.com/sanyuered/WeChat-MiniProgram-AR-AI

https://github.com/sanyuered/WeChat-MiniProgram-WebAR

https://zhuanlan.zhihu.com/p/357369752

三、其他

1、Gamma色彩空间

https://cloud.tencent.com/developer/article/1543647

 

 2、Three.js控制渲染帧率(FPS)

http://www.yanhuangxueyuan.com/doc/Three.js/FrameNumber.html

 3、基本概念写的挺好

https://juejin.cn/post/6844903918409875469

4、注意事项和技巧(相见恨晚)

https://discoverthreejs.com/tips-and-tricks/

 ------------暂时先这些,待续---------------

 

posted @ 2022-11-25 00:00  麦豇豆  阅读(669)  评论(0编辑  收藏  举报