Triangulate a meshm data grid for ray tracing

1 view (last 30 days)
I have the following code, which creates me a 3-d model of the Earth:
Earth = wgs84Ellipsoid;
% Create axes from mapping toolbox. Apply to geoid.
axesm('globe','Grid','on','Gcolor',[.7 .8 .9],'GlineStyle','-','Geoid',Earth)
axis off
view(3)
% Load topographic data
load topo
% Drape topographic data over the ellipsoid
hs = meshm(topo,topolegend,size(topo),topo);
demcmap(topo)
Now I want to use ray tracing to check for hidden surfaces. This package from File Exchange seems to be sufficient.
How can I triangulate my Earth model? It seems like there is no easy way to get from meshm to mesh?

Answers (0)

Categories

Find more on Propagation and Channel Models in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!