自己瞎研究的一些Threejs代碼和問題筆記.
-------------------------------------------------------割-----------------------------------------------------------------------
Q:Threejs獲取Object:
let obj = 'o'; let WorldVec = obj.getWorldPosition(new THREE.Vector3());
Q:圖片生成粒子
github:https://github.com/linqingwudiv1/ThreeJSPointCloudParticleExam
ThreeJSPointCloudParticleExam
Q.ThreeJS里的Cloth例子的布料模擬算法:
Three的Cloth栗子參考的是一個C++的實現栗子
例子:
https://threejs.org/examples/#webgl_animation_cloth
算法教程:
https://viscomp.alexandra.dk/?p=147
算法:
https://graphics.stanford.edu/~mdfisher/cloth.html
Q:Threejs獲取3D CAD 二次開發:
How to load 3D CAD data into three.js :
https://cadexchanger.com/blog/266-how-to-load-3d-cad-data-into-three-js