.TH wxGUI.Nviz 1grass "" "GRASS 6.4.2" "Grass User's Manual" .SH NAME \fI\fBwxGUI.Nviz\fR\fR .SH DESCRIPTION Note: \fBwxGUI 3D view mode is currently under development. It's provided as an experimental prototype.\fR .PP \fBwxNviz\fR is a \fIwxGUI\fR \fB3D view mode\fR which allows users to realistically render multiple \fIsurfaces\fR (raster data) in a 3D space, optionally using thematic coloring, draping 2D \fIvector\fR data over the surfaces, displaying 3D vector data in the space, and visualization of \fIvolume\fR data (3D raster data). .PP To start the wxGUI 3D view mode, choose '3D view' from the map toolbar. .PP wxNviz is emphasized on the ease and speed of viewer positioning and provided flexibility for using a wide range of data. A low resolution surface or wire grid (optional) provides real-time viewer positioning capabilities. Coarse and fine resolution controls allow the user to further refine drawing speed and detail as needed. Continuous scaling of elevation provides the ability to use various data types for the vertical dimension. .PP For each session of wxNviz, you might want the same set of 2D/3D raster and vector data, view parameters, or other attributes. For consistency between sessions, you can store this information in the GRASS \fIworkspace\fR file (gxw). Workspace contains information to restore "state" of the system in 2D and if wxNviz is enabled also in the 3D display mode. .SH 3D View Toolbar .br .IP " \fISwitch to view page\fR" 4m .br Switch 3D Layer Manager Toolbox's page to the \fBview\fR control page. .IP " \fISwitch to surface page\fR" 4m .br Switch 3D Layer Manager Toolbox's page to the \fBsurface\fR control page (data properties). .IP " \fISwitch to vector page\fR" 4m .br Switch 3D Layer Manager Toolbox's page to the \fBvector\fR control page (data properties). .IP " \fISwitch to volume page\fR" 4m .br Switch 3D Layer Manager Toolbox's page to the \fBvolume\fR control page (data properties). .IP " \fISwitch to light page\fR" 4m .br Switch 3D Layer Manager Toolbox's page to the \fBlight\fR control page (appearance). .IP " \fISwitch to fringe page\fR" 4m .br Switch 3D Layer Manager Toolbox's page to the \fBfringe\fR control page (appearance). .IP " \fIShow 3D view mode settings\fR" 4m .br Show dialog with settings for wxGUI 3D view mode. The user settings can be stored in wxGUI settings file. .IP " \fIShow help\fR" 4m .br Show this help. .IP " \fIQuit\fR" 4m .br Quit 3D view mode and switch map display to the 2D view mode. .PP .SH 3D View Layer Manager Toolbox The 3D view toolbox is integrated in the Layer Manager. The toolbox has several tabs: .RS .IP \fBView\fR for view controling, .IP \fBData\fR for data properties, .IP \fBAppearance\fR for appearance settings (lighting, fringes, ...). .RE .SS View You can use this panel to set the \fIposition, direction, and perspective\fR of the view. The position box shows a puck with a direction line pointing to the center. The direction line indicates the look direction (azimuth). You click and drag the puck to change the current eye position. The box annotations are North, South, East, and West. You can also set exact position using \fILook at\fR choice control. .br You can adjust the viewer's height above the scene, angle of view or twist value to rotate the scene about the horizontal axis. An angle of 0 is flat. The scene rotates between -90 and 90 degrees. .PP You can also adjusts the vertical exaggeration of the surface. As an example, if the easting and northing are in meters and the elevation in feet, a vertical exaggeration of 0.305 would produce a true (unexaggerated) surface. .PP \fIReset\fR returns all current settings to their default values. .SS Data properties - Surface Each active raster map layer from the current layer tree is displayed as surface in the 3D space. Separate raster data or constants can be used for various attributes of the surface: .RS .IP \fBtopography\fR - raster map or constant values used as elevation (z values) for the current surface. .IP \fBcolor\fR - raster map or constant color to drape over the current surface. This option is useful for draping imagery such as aerial photography over a DEM. .IP \fBmask\fR - raster map that controls the areas displayed from the current surface. .IP \fBtransparency\fR - raster map or constant value that controls the transparency of the current surface. The default is completely opaque. Range from 0 (opaque) to 255 (transparent). .IP \fBshininess\fR - raster map or constant value that controls the shininess (reflectivity) of the current surface. Range from 0 to 255. .IP \fBemission\fR - raster map or constant value that controls the light emitted from the current surface. Range from 0 to 255. .RE This panel controls how loaded surfaces are drawn. The top half of the panel has options to set, unset or modify attributes of the current surface. The bottom half has drawing style options, masking or changing surface position in the space. .br Surface can be drawn as a wire mesh or using filled polygons (most realistic). You can set draw \fBmode\fR to \fIcoarse\fR (fast display mode), \fIfine\fR (draws surface as filled polygons with fine resolution) or \fIboth\fR (which combines coarse and fine mode). Additionally set coarse \fBstyle\fR to \fIwire\fR to draw the surface as wire mesh (you can also choose color of the wire) or \fIsurface\fR to draw the surface using coarse resolution filled polygons. This is a low resolution version of the polygon surface style. E.g. surface is drawn as a wire mesh if you set \fBmode\fR to \fIcoarse\fR and \fBstyle\fR to \fIwire\fR. Note that it differs from the mesh drawn in fast display mode because hidden lines are not drawn. To draw the surface using filled polygons, but with wire mesh draped over it, choose \fBmode\fR \fIboth\fR and \fBstyle\fR \fIwire\fR. Beside mode and style you can also choose style of \fBshading\fR used for the surface. \fIGouraud\fR style draws the surfaces with a smooth shading to blend individual cell colors together, \fIflat\fR draws the surfaces with flat shading with one color for every two cells. The surface appears faceted. .PP To set given draw settings for all loaded surfaces press button "All". .SS Data properties - Vector 2D vector data can be draped on the selected surfaces with various markers to represent point data; you can use attribute of vector features to determine size, color, shape of glyph. 3D vector data including volumes (closed group of faces with one kernel inside) is also supported. This panel controls how loaded 2D or 3D vector data are drawn. .PP You can define the width (in pixels) of the line features, the color used for lines or point markers. .br If vector map is 2D you can display vector features as flat at a specified elevation or drape it over a surface(s) at a specified height. Use the height control to set the flat elevation or the drape height above the surface(s). .PP For display purposes, it is better to set the height slightly above the surface. If the height is set at zero, portions of the vector may disappear into the surface(s). .PP For 2D/3D vector points you can also set the size of the markers and the width (in pixels) of the line used to draw the point markers (only applies to wire-frame markers). Currently are implemented these markers: .RS .IP \fBx\fR sets the current points markers to a 2D "X", .IP \fBsphere\fR - solid 3D sphere, .IP \fBdiamond\fR - solid 3D diamond, .IP \fBcube\fR - solid 3D cube, .IP \fBbox\fR - hollow 3D cube, .IP \fBgyroscope\fR - hollow 3D sphere, .IP \fBasterisk\fR - 3D line-star. .RE .SS Data properties - Volume Volumes can be displayed either as isosurfaces or slices. Various attributes of the isosurface can be defined, similarly to surface attributes: .RS .IP \fBlevel\fR - reference isosurface level (height in map units). .IP \fBcolor\fR - raster map or constant color to drape over the current volume. .IP \fBmask\fR - raster map that controls the areas displayed from the current volume. .IP \fBtransparency\fR - raster map or constant value that controls the transparency of the current volume. The default is completely opaque. Range from 0 (opaque) to 255 (transparent). .IP \fBshininess\fR - raster map or constant value that controls the shininess (reflectivity) of the current volume. Range from 0 to 255. .IP \fBemission\fR - raster map or constant value that controls the light emitted from the current volume. Range from 0 to 255. .RE .PP This panel controls how loaded volumes are drawn. Volume can be drawn in two different modes: \fBisosurface\fR or \fBslice\fR. The top part of the panel has drawing style options. The middle part has controls to add, delete, move up/down selected isosurface or slices. The bottom part has options to set, unset or modify attributes of the current isosurface or slice. .br Similarly to surface panel you can define draw \fBshading\fR - \fIgouraud\fR (draws the volumes with a smooth shading to blend individual cell colors together) and \fIflat\fR (draws the volumes with flat shading with one color for every two cells. The volume appears faceted). As mentioned above currently are supported two visualization modes: .RS .IP \fBisosurface\fR - the levels of values for drawing the volume(s) as isosurfaces, .IP and \fBslice\fR - the levels of values for drawing the volume as cross-sections. .RE .SH Settings This panel has controls which allows user to set default surface, vector and volume data attributes. You can also modify default view parameters, or to set the background color of the Map Display Window (the default color is white). .SH To be implement .RS .IP Improve intuitive navigation (mouse, fly mode) .IP Animation capabilities .IP Arbitrary cutting planes .IP Labels, decoration, etc. .IP Scripting capabilities .IP Better workspace support (view settings, lighting) .IP Surface - mask by zero/elevation, more interactive positioning .IP Vector points - implement display mode flat/surface for 2D points .IP Volume - slice draw mode .IP ... .RE .PP \fBPlease note that wxNviz is under active development and distributed as "Experimental Prototype".\fR .SH SEE ALSO \fI wxGUI \fR .PP Other wxGUI components: .br \fI Vector Digitizer .br Attribute Table Manager .br Graphical Modeler .br Manage Ground Control Points .br Cartographic Composer .br \fR .PP See also wiki page. .br Command-line module \fIm.nviz.image\fR. .br Original TCL/TK-based Nviz. .SH AUTHORS Martin Landa, Google Summer of Code 2008 (mentor: Michael Barton) and Google Summer of Code 2010 (mentor: Helena Mitasova) .PP \fI$Date: 2011-10-14 19:44:26 +0200 (Fri, 14 Oct 2011) $\fR .PP Full index .PP © 2003-2011 GRASS Development Team