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.
Technical Details: Globe overlay rendering is based on the 2002 paper Rendering Massive Terrains using Chunked Level of Detail Control.
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.
Alternatively, overlays can be created with new, initialized, and then added to the central body as shown below:
TerrainOverlay terrainOverlay = new AGIProcessedTerrainOverlay(terrainUri); Scene.CentralBodies.Earth.Terrain.Add(terrainOverlay);
When an overlay should no longer be rendered, remove the overlay from the central body.