How can I turn xyz position data with a hole into a closed surface to do more sophisticated lighting and transparency settings?

조회 수: 1 (최근 30일)
I'm trying to turn {x,y,z} position data into a closed surface. The data is the surface of a three dimensional shape that has a large hole in the middle (topologically equivalent to a torus). I've tried, triSurf(), boundary(), convhull(), and everything else I could find on mathworks support pages. The data on the surface gets quite thin in some spots. I would like to be able to make the surface transparent and apply lighting and a color map to it. I've attached the data file, what the data looks like from plot3 in a specific order, and my best attempt at a surface using boundary(). Thank you in advance for your time and support!

채택된 답변

Matt J
Matt J 2023년 7월 21일
편집: Matt J 2023년 7월 21일
and my best attempt at a surface using boundary()
You could try alphaShape instead. Choose the alpha radius to be slightly larger than the spatial distance separating your points.
  댓글 수: 1
Ian Down
Ian Down 2023년 8월 2일
This was the best option for an unorganized point cloud. Thank you!
I ended up organizing my point cloud, and using fill3 between rectangles from my organization. This produced a much better surface.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Point Cloud Processing에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by