intersection of two triangle meshes

浪尽此生 提交于 2019-12-11 12:43:49

问题


Currently I am looking for an efficient algorithm to compute the intersection of two triangle meshes. I have searched over the internet, but haven't found valuable materials. The book Real-Time Collision Detection is a helpful book but is too complex for my task. I also found the post:Triangle to triangle collision detection in 3D. However I hope to find a detailed description about the algorithm.

Regards Jogging


回答1:


Well it depends on meshes size, testing each triangle in each mesh against the other is only valid in small meshes since it has n^2 complexity.

To work around that most algorithms use Spatial portioning first to subdivide the space into smaller ones and then tackles each one separately.

For spatial portioning most algorithms use OcTrees or BSPTrees however if you don't need to complicate things you can just subdivide the space into n boxes then check triangle triangle intersection in each box



来源:https://stackoverflow.com/questions/21374132/intersection-of-two-triangle-meshes

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!