Triangulate a meshm data grid for ray tracing

1 Ansicht (letzte 30 Tage)
Ni Wi
Ni Wi am 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?

Antworten (0)

Kategorien

Mehr zu Propagation and Channel Models finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by