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 Center および File ExchangePoint Cloud Processing についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by