Click or drag to resize

Overlay Management

CentralBodyGraphics allows efficient rendering and organization of terrain and imagery overlays. This includes out-of-core memory management for high resolution terrain and images, level of detail control, and hierarchical culling.

Note Note

Technical Details: Globe overlay rendering is based on the 2002 paper Rendering Massive Terrains using Chunked Level of Detail Control.

Adding Overlays

Both terrain and imagery overlays are added to the central body by calling the Add method, as shown below:

TerrainOverlay overlay = Scene.CentralBodies.Earth.Terrain.Add(overlayPath);

A TerrainOverlay is created and added to the central body.

Terrain Overlay

Alternatively, overlays can be created with new, initialized, and then added to the central body as shown below:

TerrainOverlay terrainOverlay = new AGIProcessedTerrainOverlay(terrainUri);

When an overlay should no longer be rendered, remove the overlay from the central body.