Skip to main content

SurfaceMeshSeries3D warped to a globe

SurfaceMeshSeries3D is similar to SurfaceGridSeries3D, but with one important difference. SurfaceMeshSeries3D's nodes can be positioned freely in 3D space (surface does not have to be rectangular). SurfaceMeshSeries3D allows warping the surface virtually to any shape, and following example shows how to render 3D Earth Globe.

In particular, three steps should be noted. First, 2D image of Earth is set Fill for SurfaceMeshSeries3D. Second, surface nodes coordinates set in a way to form a sphere. Third, pseudo elevation data is added on top of sphere to represent mountain height.

ExampleGlobeSurface3D ExampleGlobeSurface3D from Demo

info

For step-by-step tutorial how to create a WPF 3D Sphere model of the Earth using LightningChart .NET library check following links: WPF 3D Sphere.