This manual was last updated 12 November 2012 for version 0.7.0 of ecmview.
Copyright © 2012 Computer Graphics Group, University of Siegen, Germany. Written by Martin Lambers (email@example.com). See http://www.cg.informatik.uni-siegen.de/ for contact information.
Copying and distribution of this file and the accompanying media files, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. These files are offered as-is, without any warranty.
ecmview is a tool to view ECM databases interactively.
ECM (Ellipsoidal Cube Map) databases store data for the surface of a planetary object, for example photos and elevation models of Earth, Moon, or Mars.
For more information about ECM, see http://ecm-planet.sourceforge.net/.
The ecmview tool is based on OpenGL, and is targeted at powerful graphics hardware. Please note that ecmview is a research prototype and not a polished end user product. It is neither a fully-featured planet viewer nor a performance-optimized terrain renderer.
To open an ECM database on your disk, use "File -> Open local data set" and choose its directory.
For ECM databases that are available via the network, use "File -> Open remote data set" and specify the URL, and optionally a user name and password. Supported protocols include HTTP and FTP; see the documentation of the libcurl library for more options.
There are currently three categories of databases:
Opened databases will appear in the database overview in the lower left corner of the main window. You can double click on a database to open its property dialog. With a right click, you get the option to close a database.
There is one special database named "Texture from elevation". This database is always open, but not active by default (you can activate it in its property dialog). This special database will create texture data from the available elevation data at rendering time. This is useful e.g. to use color ramps for terrain or to create isolines dynamically.
The property dialog of a database provides two tabs called "Global parameters" and "Lens parameters". These tabs provide the same set of options. For now, only the "Global parameters" tab is of interest. See Lens for more information about the "Lens parameters" tab.
In the parameters tab, you can do the following:
Use the mouse to navigate. Press one of the mouse buttons while moving the mouse: a left click rotates the planet, a middle click translates, and a right click zooms. The mouse wheel moves the viewer forward/backward along the view direction.
Holding the Shift key down while navigating slows down all navigation actions, and holding the Ctrl key down accelerates all actions.
(The navigation currently is not very friendly and needs to be improved.)
You can apply a simple directional light to your scene by activating Lighting in the GUI.
You have two options to position the light source: global or relative to the viewer.
Simply experiment with the GUI to find out how things work.
A lens is a circular area on the reference ellipsoid in which different databases can have different parameters than on the rest of the ellipsoid.
That's why there is both a "Global parameters" and a "Lens parameters" tab in the database property dialog.
You can activate and position the lens in the GUI. Once active, you can move the lens around by holding the Meta key down (on many keyboards, this is the Windows key) while moving the mouse. Using the mouse wheel while holding Meta will change the size of the lens. As in navigation, these actions can be slowed down by also holding the Shift key down, or accelerated by also holding the Ctrl key down.
You can save the complete scene state from the File menu and later reload it. The scene state includes opened databases and their parameters, light and lens state, and the viewer position and orientation.
You can display an options dialog via "Dialog->Toggle Options".
You can display a renderer statistics dialog via "Dialog->Toggle Statistics".
This shows the current FPS rate as well as information about the rendered quads.