|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||
![]() |
![]() |
![]() |
![]() |
|
||||||||||||
|
|
|
|||||||||||||||
|
|
|
|||||||||||||||
|
|
|
|
||||||||||||||
|
|
|
|
|
|
|
|
|
|
||||||||
Flexible Flyer Referenceff data.set
DescriptionThe Flexible Flyer is the graphical user interface (GUI) for the RIVA system. It acts as a viewfinder for the RIVA renderer. The user can fly over and around low-resolution models of the terrain surfaces loaded into the renderer; ff continually sends viewpoints to the renderer, which displays rendered frames to a separate iwindow in user's workstation. Thus, the user gets the best of both worlds: easy data navigation, and high-resolution images.UsageTo examine a renderer data set using ff, one must first create a configuration file file that describes the data set. Then, one executes ff as follows:It is essential that a Router program is running; if ff cannot find a Router, it will hang mysteriously.% ff earth_ff.set Set File ContentsThe configuration file contains the information the Flexible Flyer needs to initialize itself for an interactive rendering session. It is a text file prepared by the user. Each line in the file is a command, a comment, or blank. Comment lines begin with '#', in typical Unix fashion. Commands in the set file have several purposes:
Communications CommandsThe Flexible Flyer and the renderer use the Messager library for communications. The renderer sends status messages to the Flexible Flyer with resource 'RENDER_STATUS' and message type 'render_status'. The Flexible Flyer sends viewpoints and other commands to the renderer, with message type 'render_update'. The resource name can be set by the user:
Surface Definition CommandsSurface definition commands cause the Flexible Flyer to load an RGB image and associated digital elevation model. At least one surface must be loaded. The first surface loaded is the 'base' surface: viewpoints will be sent to the renderer in its coordinate system. If any of the surfaces are spherical, then the base surface must be spherical.Each command defines an item on the Surfaces menu; selecting the item causes the Flexible Flyer to fly over that Surface. In addition, each command automatically adds an enable/disable toggle to the Renderer menu. The surface definition commands are as follows:
NOTE: At present, the flexible flyer does not use the DEM data; the texture is mapped onto a smooth sphere. Renderer Control CommandsThese commands create controls (menu items and widgets on the control panel) that send commands to the renderer, or add menu items to the Renderer menu. Many of the controls send commands to the RIVA renderer; see the renderer documentation for more information on these commands.The renderer control commands are as follows:
This control is added to the control panel whether the user asks
for it or not; if not, it is initially disabled, but can be enabled by
selecting it from the Controls menu.
name must be the name of a surface loaded into the renderer; it need not be the name of a surface loaded into ff. The slider has a default value of 1.0.
This control is added to the control panel whether the user asks
for it or not; if not, it is initially disabled, but can be enabled by
selecting it from the Controls menu.
Toggle items are defined automatically by the sphere and plane commands, so toggle should only be used for surfaces loaded by the renderer by not by ff. All toggle items are 'on' initially.
Place Name CommandsAny terrain loaded into the Flexible Flyer can be tagged with place names. This is particularly useful for identifying the location of high-resolution insets on the base terrain. The following commands are available:
Sample Set File# test data set file for Flexible Flyer # Define the Messager resource name messager RENDERER RENDER_STATUS # Define the terrain: sphere Mars mars.rgb.1152x576 mars.vic 3666.932 plane AresTiu at.975x615.rgb atdemsmall.vic 9750.0 6144.0 0.3 # Define the controls vertexag# MarsGeo dataset is not loaded in ff, but in renderer, therefore, #put a toggle in the Renderer menu toggle MarsGeo opacity MarsGeo opacity AresTiu # Define the placename tags tagwith Mars AresTiu | ||||
|
||||
| ||||