Triangulate a meshm data grid for ray tracing

1 visualizzazione (ultimi 30 giorni)
Ni Wi
Ni Wi il 24 Nov 2017
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?

Risposte (0)

Categorie

Scopri di più su Propagation and Channel Models in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by