Globe Layers |
Top Previous Next |
You can customize the display of any CelestialObject (such as the Earth or Moon) in FreeFlyer through the CelestialObject.Globe child object. The globe options let you control the display of the surface textures, planetary atmosphere, coastlines, political boundaries, and custom user-specified lines or location markers. The globe options are organized into the SurfaceLayer, AtmosphereLayer, BoundaryLayers, LineLayers, and LocationLayers as described below.
Earth configured with coastlines, coastline offsets, and political boundary globe layers
Working with Globe LayersYou can access the globe options of any built-in or user-created CelestialObject as shown below:
You can also create a new GlobeOptions object, customize it, and assign it to a CelestialObject.Globe:
If you want to display the globe for a CelestialObject differently in different windows (such as a 2D map vs. a 3D view), you can change how the globe is displayed in a single ViewWindow, as shown below. This will override the CelestialObject.Globe settings for that window only.
Surface LayerThe CelestialObject.Globe.SurfaceLayer lets you control the day and night textures as well as the specular reflections and bump texture. The default textures for the built-in CelestialObjects can be changed through your User Preferences.
Atmosphere LayerThe CelestialObject.Globe.AtmosphereLayer lets you control the cloud texture and the rendering of atmosphere effects.
Globe Layers can be configured using .jpg and .png format image files.
Boundary Layers and Coastlines BoundaryLayers are used to render coastlines and coastline offsets in FreeFlyer. Use the following script to turn on coastlines:
You can customize the display of the coastline border color, opacity, and line width. You can also fill the land areas with a solid color, and customize the color and opacity.
You can draw up to 10 coastline offsets on a BoundaryLayer. The following script demonstrates how to draw 2 coastline offset borders at distances of 50 and 200 km. Note that the coastline offset data files delivered with FreeFlyer allow coastline offsets to be drawn at distances of up to 500 km.
The file format for BoundaryLayer image files is described on the Political Border and Coastline Files page in the Appendix.
LineLayers can be used to render political boundaries such as state and country borders. They can also be used to render any user-specified latitude/longitude datasets on the surface of any CelestialObject. For example, they can be used to render landing zones, reentry footprints, safety corridors, destruct lines, regions of scientific interest, etc. Note that LineLayers are used for visualization only. For visibility analysis, see the Coverage and Contact Analysis guide.
The latitude/longitude points that make up a LineLayer can be read in from a binary file format, or specified through script.
To turn on the display of state and country boundaries, use the following script:
You can customize the lines' color and line width:
To specify the latitude/longitude points of the line layers through FreeFlyer script, use the following syntax:
The file format for binary LineLayer data files is described on the Political Border and Coastline Files page in the Appendix.
LocationLayers can be used to render location markers and names, such as for cities, state or country names, landing sites, imaging targets, etc. Note that LocationLayers are used for visualization only. For visibility analysis, see the Coverage and Contact Analysis guide.
To create a LocationLayer displaying three cities, use the following syntax:
You can customize the color and size of the location markers, as well as the font used to display the location name. You can also turn on/off the location markers or names separately.
Globe Layers in the View Output Properties Interface The View Output Properties menu lets you configure the display of objects in any view in FreeFlyer's output screen. Simply right-click in any view and select "Open Properties Editor." You can configure the display settings for any CelestialObject's globe layers through the View Output Properties menu by selecting the CelestialObject (e.g. Earth) under the list of Objects, as shown below.
View Output Properties editor showing adjustments that can be made to Globe Layers
See Also •Political Border and Coastline Files page in the Appendix •GlobeOptions Properties and Methods
|