You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
WebCAD/sample/select.md

26 lines
469 B

7 years ago
1.使用八叉树过滤大部分搜索.
2.拦选.
->使用Box求交(提前过滤.)
->点在盒子内部()
->使用线相交(只要保证线相交就OK)
End
3.框选
->使用box包含(提前过滤)
End
使用GPU优化
https://github.com/electricessence/ThreeBSP
https://github.com/chandlerprall/ThreeCSG
#平截头体
https://stackoverflow.com/questions/27295415/three-js-select-tool-how-to-detect-the-intersection-of-a-2d-square-and-3d-obj/37136190#37136190