WxNviz: Difference between revisions
m (fix wxGUI caps letter in links nightmare) |
(+ Troubleshooting) |
||
Line 60: | Line 60: | ||
<strike></strike> | <strike></strike> | ||
== Troubleshooting == | |||
* Nothing is rendered at all: | |||
: Please note that with wxGTK port of wxPython (Linux systems), a problem might appear during wxNviz initialization (nothing is rendered at all) or when rendering vectors (bad order of rendering surfaces and vectors). If you encounter such problems, try to change a depth buffer number in wxGUI Menu > Settings > Preferences > Map Display > Advanced (possible numbers are 0, 16, 24, 32). It is currently not possible to automatically find out the right number which is working for your computer. | |||
== Known issues == | == Known issues == |
Revision as of 15:44, 25 May 2013
(Back to wxGUI page.)
wxNviz is a wxGUI extension which allows users to realistically render multiple surfaces (raster data) in a 3D space, optionally using thematic coloring, draping 2D vector data over the surfaces, displaying 3D vector data in the space, and visualization of volume data (3D raster data).
For usage instructions, see also the manual page.
Screenshots
-
2008-06-27: Display raster map from layer tree in 2.5D (surface)
-
2008-07-05: Support for vector data (2D lines) added
-
2008-07-26: Support for vector point data
-
2008-08-02: 3D vector data support
-
2008-08-09: Initial support for volumetric data
-
2010-05-31: 3D view tools window integrated into Layer Manager
-
Lighting control panel in Layer Manager (2010-06-17)
-
Fringe control panel in Layer Manager (2010-06-23)
-
Redirect messages to wxGUI (2010-08-08)
-
Displaying raster (surface), 2D vector and 3D raster (volume) in the 3D space (2010-08-16)
-
Surface page of WxNviz modified (2011-06-02)
-
Constant surface page added (2011-06-02)
-
Lighting fixed (2011-05-02)
-
Cutting planes (shading blend) (2011-06-10)
-
Cutting planes (shading top color) (2011-06-10)
-
View page modified (2011-06-10)
-
Picture of surfaces cut by two planes (generated by nviz_cmd) (2011-06-30)
-
Command for nviz_cmd generated by wxNviz (2011-07-01)
-
North Arrow implemented (2011-07-08)
-
Colored isosurfaces with transparency (2011-07-08)
-
Partially transparent slice (2011-07-14)
-
Combination of slices and isosurface (2011-07-14)
-
Raster legend, text label and north arrow (2011-07-22)
-
Thematic mapping (colors) for points (2011-08-05)
-
Dialog for v.colors opened from 3D view (2011-08-05)
Animations
Video tutorials
Older tutorials (2010)
Ideas
- Fog support (see [1], [2], [3])
- Vertical labels (take from geonames.org point data): like in http://tev.fbk.eu/marmota/blog/?p=82
- Second interactive light source for isosurface visualization
- Tick marks and coordinate values to x,y,z axis when drawing fringe
Troubleshooting
- Nothing is rendered at all:
- Please note that with wxGTK port of wxPython (Linux systems), a problem might appear during wxNviz initialization (nothing is rendered at all) or when rendering vectors (bad order of rendering surfaces and vectors). If you encounter such problems, try to change a depth buffer number in wxGUI Menu > Settings > Preferences > Map Display > Advanced (possible numbers are 0, 16, 24, 32). It is currently not possible to automatically find out the right number which is working for your computer.
Known issues
- List of open and closed tickets
Adding vector data crashes wxGUI on MacViewing height sometimes sets to 1 after switching to 2D and back to 3D View (or with the simultaneous 2D view - very nice feature) and even after View is reset, it keeps getting back at 1 each time the slider is touched- Fixed in r46208
- Adding draw, draw current and clear button may be useful
- Thematic mapping is available in GRASS 7 only
- Display region in 3D does not change accordingly to display region in 2D in version <= 6.5
- Appearance:
- I
need to click View tab to get the arrow draw, same for the scale bar - add legend > OK: nothing gets drawn in 3D but the legend shows up when I switch to 2D but when I clicked delete scalebar (which was not drawn), my surface disapeared but the legend showed up along with white and black background (which I assume was supposed to be transparent, because when I moved the legend the surface was under it - we already discussed this, it may be my problem, because it works for Michael).
- I
- General
when I go from 3D view to 2D and then back to 3D I lose most of my settingssimilarly, when I add volume to Map layers I lose my view settings and the 3D view goes back to default
- Volumes:
- change of region by g.region seems to be ignored (or I missed something), I had to restart GRASS with the new region to get the 3D region for volumes right. Given that the default top, botom is 1,0, if GRASS starts with the default 3D region settings volumes do not work because there is just one level.
isosurfaces work with my terrestrial lidar data but the slices don't, it seems that it is due my resolution being 0.3m, when I change it to 1m I get at least some limited slicingthis may be in ogsf becuase slices in nviz do not work with this data either
changing color to constant did not change the color of the isosurface
Comparison of Tcl/Tk nviz and wxNviz functionality
What is missing in wxNviz:
- scaled difference
- lighting - follow surface viewpoint
- keyframe animation
- text rendering (in OpenGl)
What is working only partially:
- legend, labels
- thematic mapping - nviz allows to choose also icon and multiple classification
- basic support of animations
What is new in wxNviz:
- it is possible to change view more interactively using mouse
Notes:
- Scripting functionality is replaced by m.nviz.image module
- wxNviz state is saved in workspace