How can I find the intersection between a line and a 3D surface?
이전 댓글 표시
Hi guys, I am facing a ray tracing problem and now I am a bit locked. My target is to find the point of intersection (Xp, Yp, Zp) between a straight line of which I know the equation and a surface in 3 dimensions that is not defined analytically but consists in a series of n points in the 3 dimensions. Does anyone have any suggestion? Thanks in advance for your help,
Leonardo
댓글 수: 2
jabrie
2018년 7월 22일
Did you find an efficient solution to solve this problem? I am currently looking for a ray-triangle intersection solution. Unfortunately, my surface model consists of several million triangular meshes. Therefore, the intersection calculation of a ray with all available 3D triangles is not efficient enough. What is your starting point for this problem?
Leonardo Colavitti
2018년 7월 24일
채택된 답변
추가 답변 (1개)
Subhosit Ray
2018년 5월 30일
1 개 추천
Just like the famous yoda said the matrix exists only in your mind ^_^
but another cool way to find the surface is using fit() function.
카테고리
도움말 센터 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!