Triangulate a meshm data grid for ray tracing

1 vue (au cours des 30 derniers jours)
Ni Wi
Ni Wi le 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?

Réponses (0)

Catégories

En savoir plus sur Propagation and Channel Models dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by