小程序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/

 ------------暫時先這些,待續---------------

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章